Storage & Retrieval
Vorian Connect tracks every specimen from the moment it's archived in a storage unit through retrieval for add-on testing or disposal. Barcode-indexed location tracking, temperature monitoring, automated retention scheduling, and robotics integration make specimen management a single-screen operation.
How It Works
- When a specimen is stored, Vorian records its barcode, storage unit, precise physical coordinates (tray, slot, shelf), and archival timestamp in the
specimen_locationtable - Each storage unit is independently tracked with a name and unique ID. Units can represent physical refrigerators, freezers, or automated storage systems
- Temperature readings are logged alongside each archival event in
storage_temperature_log, creating a continuous cold-chain audit trail - Specimens are assigned a configurable retention period (default 7 days). Vorian tracks time remaining and flags expired specimens for disposal
- When an add-on order arrives, the lab can search by barcode, verify the specimen is still viable, and dispatch a retrieval command to the robotics adapter
- The robotics adapter communicates with the lab's physical storage robot via gRPC, sending the specimen barcode, storage unit ID, and precise coordinate for automated retrieval
- Disposal pick lists are automatically generated for specimens past their retention window, grouped by storage unit for efficient batch processing
What's Included
- Specimen location tracking: Every specimen is indexed by barcode with storage unit, tray, slot, shelf, and optional free-text coordinate. Location is updated on retrieval and re-storage
- Storage unit management: Create and name storage units through the dashboard. Each unit gets a unique ID used by the robotics adapter for physical addressing
- Temperature logging: Storage temperature (°C) is recorded alongside each archival event. The dashboard displays current temperature and historical trends per unit at
/api/storage/temperature - Retention scheduling: Configurable retention period per specimen (default 7 days). The dashboard displays time remaining for each stored specimen and highlights expired items
- Barcode search: Look up any specimen by barcode to see its location, archival date, expiry, temperature history, and retrieval log — full chain of custody in one view
- Automated disposal lists: Generate pick lists of expired specimens grouped by storage unit. The dashboard API at
/api/storage/disposalreturns items older than a configurable threshold - Robotics integration: Send retrieval commands to any gRPC-compatible lab robotics adapter via
ROBOT_RETRIEVAL_ADDR. The adapter receives barcode, storage unit ID, and coordinate — vendor-specific implementations handle the physical movement - Retrieval audit log: Every retrieval attempt (manual or automated) is logged with barcode, reason, robot command ID, robot acknowledgment ID, and status in
storage_retrieval_log
Where It Fits
Storage and retrieval sits at the intersection of specimen management and add-on testing. When an Epic add-on order arrives (ORM^O01 with ORC-1=XO), the system looks up the specimen barcode, checks viability, and can dispatch a retrieval command to the lab's storage robot. This closes the loop between the LIS ordering a new test and the physical specimen being pulled from storage.
The storage system is tenant-scoped — each lab sees only its own storage units and specimens. Temperature logs and retrieval history are all stored per-tenant with PostgreSQL RLS enforcement. The robotics adapter runs on-premise alongside the edge agent, communicating with physical storage hardware over the lab's internal network.
Technical Details (for evaluators)
Specimen locations are upserted via INSERT ... ON CONFLICT (specimen_barcode, archived_at) DO UPDATE, making re-storage of the same specimen at a new location a single atomic operation. The specimen_location table tracks status transitions: stored → retrieved with timestamps for both events.
The robotics adapter uses a generic gRPC protocol defined in gen/robotics/v1. The adapter sends a CommandRequest with barcode, storage unit ID, coordinate, and metadata (order ID, requested by). The response includes an ACCEPTED or REJECTED state with a robot acknowledgment ID for tracking. The default command timeout is 10 seconds — if the robot doesn't respond within that window, the retrieval is marked as failed with the error message preserved in the audit log.
Retention status is calculated as the difference between the current time and the expiry timestamp. Viable specimens show remaining time in days and hours; expired specimens show as expired. Specimens with no expiry timestamp are treated as viable with unknown retention — this handles legacy data or instruments that don't provide storage metadata.
The storage dashboard at /storage provides summary views per unit, barcode search, temperature reports, disposal pick lists, and retrieval controls — all through a single page with 30-second auto-refresh on live data.