Pharmacy &
Meds Control
The Pharmacy module is the hospital's clinical supply backbone. It governs procurement, inventory safety, and closed-loop dispensing.
Closed-Loop Dispensing
Maintaining 100% inventory accuracy through automated real-time consumption auditing.
Stock Receipt
Verifying supplier delivery against Purchase Orders (PO).
Inventory Sync
Automated batch and expiry logging into main store.
Prescription Fill
Clinical verification and dispensing from ward stock.
Consumption Audit
Real-time stock deduction and revenue sync.
Pharmacy
Architecture
Inventory is managed through a FIFO (First-In, First-Out) logic engine. Batches are automatically quarantined as they approach clinical safety thresholds, ensuring only high-quality meds reach patients.
Technical Architecture
| Field | Type | Institutional Role |
|---|---|---|
| batch_number | Varchar(32) | Unique supplier batch identifier. |
| stock_quantity | Decimal(12,2) | Real-time remaining stock unit count. |
| expiry_date | Date | Hard-coded threshold for dispensing lock. |
| reorder_level | Int | Threshold for automated PO generation. |
Note: Data is subject to Enclave AES-256 field-level encryption where applicable.
Governance & Power
pharmacy:dispensestock:receivemeds:auditMedication Safety
Expiry Guard
Items within 45 days of expiry are automatically moved to 'Near Expiry' reports. Within 7 days, they are locked from any dispensing action.
Closed-Loop Sync
A prescription filled in OPD or IPD instantly deducts stock from the specific ward-pharmacy pod assigned to the patient.
L-Audit Protocol
Randomized cycle-counting tasks are assigned to pharmacy staff, with mandatory digital verification of physical counts.
Institutional Accuracy: Stock discrepancy rate < 0.01% via digital auditing.