Preanalytical Status
Vorian Connect captures HL7 SSU^U03 specimen status update messages from pre-analytical automation tracks — centrifuges, decappers, aliquotters, and sorters — and maps raw instrument status codes into actionable Vorian statuses. Operators see at a glance whether specimens are ready for analysis, still processing, or require recollection due to preanalytical errors.
How It Works
- When a pre-analytical automation module sends an SSU^U03 message, Vorian detects it through the HL7 message type (MSH-9) and routes it to the specimen status update parser
- The parser extracts the specimen ID from SPM-2, the raw status code from SPM-4, any reason text from NTE segments, and the module identifier from OBX-18 or EQU segments
- A status mapping engine classifies every update into one of three actionable statuses: Ready (centrifuged, aliquoted, ready for analysis), Processing (in process, received, on track), or Error (hemolyzed, clotted, QNS, contaminated, module fault)
- Events are stored with severity levels — ready events are informational, processing events are active, and error events trigger alerts in the operator worklist and preanalytical dashboard
- The timestamp recorded is the EQU-2 event time when available, falling back to MSH-7 message time, and finally to the current UTC time if neither is present
What's Included
- SSU^U03 detection: Vorian automatically identifies SSU messages (MSH-9.1 = SSU, MSH-9.2 = U03) and routes them through the specimen status parser. Non-SSU messages are passed through to standard HL7 processing without triggering specimen status logic
- Status classification: The mapping engine uses keyword matching against status codes and reason text to classify updates. Recognized patterns include centrifugation completion, hemolysis detection, clotting flags, quantity-not-sufficient (QNS) errors, contamination warnings, and module fault codes
- Specimen identification: Specimen ID is extracted from SPM-2.1 (specimen ID), falling back to SPM-2 (full field) and PID-3.1 (patient identifier list) when the primary field is empty
- Module attribution: The pre-analytical module responsible for the status update is identified from OBX-18.1 (responsible observer) or EQU-1/3 (equipment detail), enabling per-module troubleshooting
- Dashboard monitoring: The
/preanalyticalpage displays all status events with severity-colored cards — green for ready, yellow for processing, red for errors requiring attention. Events are timestamped with relative time displays - Worklist integration: Preanalytical alerts appear in the operator worklist alongside message exceptions, delivery failures, unmapped results, delta check flags, and QC violations. Operators can filter by event type to focus on preanalytical issues
- Multi-value OBX support: When SSU messages contain multiple OBX segments, the parser collects all observation values and reason text, joining them with semicolons to preserve the full clinical context
Where It Fits
Preanalytical status monitoring bridges the gap between the automation track and the LIS. Instead of requiring operators to monitor vendor-specific track consoles, Vorian brings specimen status into a unified dashboard alongside QC results, delta checks, and message delivery status. This is especially valuable in high-volume labs where a single hemolyzed or clotted specimen can cascade into delays across the automation line.
Preanalytical alerts are tenant-scoped with RLS enforcement. The status mapping is deterministic — the same SSU message always produces the same classification — ensuring consistent behavior for CAP/CLIA audit trails. Vendor-specific status codes that do not match any known pattern default to "Processing" rather than generating false error alerts.
Technical Details (for evaluators)
SSU parsing is implemented as a stateless function on parsed HL7 messages — it does not require database access. The status mapping engine uses case-insensitive keyword matching against both the raw status code and the combined status-plus-reason text. The parser handles missing fields gracefully: when SPM-2 is empty, it falls back to PID-3; when EQU-2 is missing, it falls back to MSH-7; and when no timestamp is available, it uses the server's current UTC time. The worklist API aggregates preanalytical alerts alongside other exception types, with source-scoped filtering for users with restricted instrument access.