Add-On Management

When a clinician orders additional tests on a previously collected specimen, Vorian Connect detects the Epic add-on order in real time, verifies the specimen is still viable and retrievable, and dispatches a retrieval command to the lab's storage robotics — all without manual lookups or phone calls.

How It Works

What's Included

Where It Fits

Add-on management bridges the LIS and the physical lab. When an Epic order for additional tests arrives, the specimen may have been stored hours or days earlier. Without automation, a lab tech must manually look up the barcode, find the physical specimen, and route it for testing — a process that can take 15–30 minutes per order. Vorian reduces this to a viability check and a single button press.

The feature integrates with the Storage & Retrieval system — viability checks query the same specimen_location table that tracks archival. Retrieval commands go through the same robotics adapter. The add-on workflow is a thin orchestration layer over the storage primitives, designed to match the specific HL7 signaling that Epic uses for add-on orders.

Technical Details (for evaluators)

Add-on detection is implemented as a pure Go function with no external dependencies. The detector validates MSH-9 (message type and trigger event) and ORC-1 (order control) against known Epic conventions. Barcode resolution checks OBR-3 and OBR-31 (component-level specimen ID), then falls back to SPM-2 and SPM-21 — covering Epic's variable field placement across different interface configurations.

Test codes are parsed from OBR-4 repetitions, with deduplication. The ordering provider is resolved from ORC-12 (ordering provider) with fallback to ORC-11 and ORC-21. Missing fields result in empty strings — the system handles partial data gracefully and surfaces what it found to the dashboard for review.

Viability checking uses the storage system's retention calculator. A specimen is viable if its expiry timestamp is unset (unknown retention — treated as viable) or if the current time is before the expiry. The remaining time is reported in days and hours. Expired specimens are clearly flagged and retrieval is blocked to prevent testing on degraded material.

Last updated: May 17, 2026