Instrument Sources
Vorian Connect manages per-instrument MLLP connections with dedicated TCP listeners or outbound client connections. Each instrument source gets its own channel, tagged with a unique ID for message attribution — so every result is traceable to the analyzer that produced it. Add instruments from the vendor catalog, configure connection modes, and monitor source health from a single dashboard.
How It Works
- Each configured instrument source gets a dedicated TCP channel managed by the edge agent's source manager — a separate goroutine per instrument, supervised for the life of the agent process
- In server mode, the edge agent binds a TCP port and listens for inbound MLLP connections from the instrument — the instrument pushes results to Vorian on its own schedule
- In client mode, the edge agent dials out to the instrument's IP and port, establishing a persistent connection — useful when the instrument cannot be configured to send to a new host
- Every message received on a source channel is tagged with the instrument's source UUID before entering the pipeline — the gateway attributes results to the correct instrument record regardless of which TCP port they arrived on
- When the gateway pushes a new source configuration (via gRPC), the source manager diffs the incoming list against running channels — starting new listeners for added instruments and stopping channels for removed or disabled ones
- Client-mode connections auto-reconnect on failure with a 10-second backoff — if the instrument restarts or the network blips, the channel re-establishes without manual intervention
- Sources can be enabled or disabled from the dashboard — disabling a source stops its channel without deleting the configuration
What's Included
- Vendor and model catalog: Add instruments by selecting from the built-in vendor catalog (Roche, Siemens, Abbott, Beckman Coulter, Sysmex, etc.) with specific model variants — each model maps to a vendor dialect for correct HL7 parsing
- Dual connection modes: Server mode for instruments that push to a configured host:port; client mode for instruments that require Vorian to connect outbound — with host, port, and auto-reconnect
- Per-instrument port assignment: Each server-mode source gets a dedicated TCP port — no port sharing, no multiplexing ambiguity
- Enable/disable toggle: Stop receiving from an instrument without deleting its configuration — channel stops immediately, configuration is preserved
- Connection status monitoring: Each source shows its current mode (server/client), host:port, and last-seen timestamp — know which instruments are actively sending
- Message attribution: Every HL7 message is tagged with the source UUID at ingestion — the inspector, rules engine, and delivery system all know which instrument produced each result
- Config push reconciliation: Source configurations are pushed from the gateway to the edge agent — the source manager diffs and reconciles without restarting the agent
- Delivery routing per source: Route results from specific instruments to specific LIS/EHR destinations based on HL7 field values (MSH-3 Sending Application, OBR-24 Diagnostic Service Section, OBX-18 Equipment Instance)
- Test code mappings: Map instrument-specific test codes to standardized LOINC codes per source — handles analyzers that use non-standard or vendor-proprietary test identifiers
Where It Fits
Instrument sources are the entry point for all analyzer traffic in Vorian Connect. The edge agent's source manager sits between the physical instrument connections and the gateway's message pipeline — it handles TCP lifecycle, MLLP framing, and source attribution. From the dashboard, lab interface engineers add instruments during onboarding, configure connection parameters, and monitor which sources are actively sending. Sources feed into every downstream system: the Trace Inspector (filter by source), the rules engine (per-instrument rules), delivery routing (per-source destination mapping), and the observability dashboard (per-source throughput metrics). The source manager runs inside the edge agent, so all TCP connections terminate on the hospital's local network — only parsed, buffered messages are forwarded to the cloud gateway over mTLS.
Technical Details (for evaluators)
| Capability | Detail |
|---|---|
| Connection modes | Server (TCP listener on port) and Client (outbound TCP dial with auto-reconnect) |
| Protocol | MLLP (Minimal Lower Layer Protocol) — HL7 v2.x message framing with SB/EB/CR delimiters |
| Channel isolation | One goroutine per instrument source, supervised with context cancellation |
| Reconciliation | Diff-based: incoming source list vs running channels — start new, stop removed |
| Client reconnect | 10-second backoff on dial failure, graceful shutdown on context cancellation |
| Message attribution | Source UUID embedded in every message before pipeline processing |
| Vendor catalog | Built-in vendor/model registry with dialect key mapping for correct HL7 parsing |
| Delivery routing | Per-source routing by MSH-3, OBR-24, or OBX-18 field matching |
| Test code mapping | Per-source LOINC normalization for non-standard test identifiers |
| Configuration | gRPC push from gateway to edge agent — no manual file edits on the agent host |
The source manager is designed for hospital lab environments where instruments may be on isolated VLANs, have fixed IP addresses, or require specific port assignments. Server mode handles the common case where the instrument is configured to send to a specific IP:port. Client mode covers instruments behind NAT or those where the LIS team cannot modify the instrument's outbound configuration. All channels terminate on the edge agent — the cloud gateway never opens inbound connections to hospital networks.