Ancillary Workflows
Ancillary Workflows & Diagnostic Interoperability
This document blueprints the technical interfaces and workflows for the three core ancillary modules: Laboratory, Radiology, and Pharmacy, focusing on automated billing locks, external sourcing, and device integration.
1. Laboratory Information System (LIS) Workflows
The LIS must tightly couple clinical diagnostic loops with the hospital's financial engine to eliminate revenue leakage while providing automated processing pathways for critical cases.
1.1 Bidirectional Order-to-Result Lifecycle
1.2 Analyzer Interfacing: ASTM E1381 & HL7 Protocols
To eliminate manual data entry errors, the LIS implements direct TCP/IP socket listeners for lab analyzers (e.g., Mindray Hematology, Cobas Biochemistry). The ingestion engine converts legacy ASTM E1381/E1394 or HL7 v2.x MLLP streams into clean internal JSON schemas before validation.
2. Radiology Information System (RIS) & DICOM Workflows
The Radiology Information System manages workflows for X-Ray, Ultrasound, and CT scans. It must link scheduling, billing, and storage into a unified system.
2.1 The Radiology Lifecycle Architecture
2.2 Modality Worklist Integration
The system includes a central DICOM Modality Worklist (MWL) broker. When a radiology order is cleared by the billing system, an HL7 ORM^O01 (Order Message) translates into a DICOM worklist entry. The radiology technician selects the patient directly on the machine's console without manual re-typing, preventing errors in patient identification on the imaging output.
3. Pharmacy Workflows & Edge Cases
The pharmacy module handles complex supply chain issues, multi-tiered pricing matrices, and partial dispensing rules caused by patient financial constraints.
3.1 Partial Prescriptions & Financial Splitting
When a patient cannot afford the complete quantity of a prescribed medication, the pharmacy module initiates an atomic Partial Dispensation Lifecycle:
3.2 External Pharmacy Sourcing Protocol
When an essential drug is out of stock within the hospital's central inventory, the pharmacist flags the item as Externally Sourced:
- The system deducts the item cost from the internal active hospital bill.
- The system prints a standardized external prescription slip carrying an explicit cryptographic verification QR code.
- The system logs the out-of-stock event to the Inventory Procurement Dashboard to trigger automatic reorder limits for the procurement department.
4. Referrals & Diagnostic Loops
Level 4 hospitals serve as transit points for cross-facility care, requiring robust routing logic for incoming and outgoing cases.
4.1 Inbound vs. Outbound Referral Routing Matrix
Inbound Referrals
Inward Engine: Captures the unique MoH Referral Form Serial Number, originating facility code, and preliminary clinical diagnoses.
Priority Sorting: Fast-tracks incoming referral cases directly into the triage prioritizer, bypassing standard walk-in queues.
Outbound Referrals
- Target Tiers: Level 5 (County Referral) & Level 6 (National Teaching Hospitals).
- Continuity Data Package: Bundles the full electronic record—including active problems, recent lab results, and DICOM imaging links—into a unified digital handover document.
- Inter-Facility Handover: Tracks ambulance dispatch and destination confirmation logs.
4.2 Diagnostic-Only Loops
For patients referred exclusively for diagnostic testing (e.g., a patient from an external private clinic coming only for an ultrasound or specialized lab panel):
- The system bypasses full outpatient clinical consultation check-ins.
- It initializes a temporary Ancillary-Only Encounter.
- Results are delivered directly to the patient or securely transmitted to the external referring clinician via email, skipping internal medical officer review queues.
Target Scope: Level 4 Hospital Production Infrastructure