medOS Operations
Inventory & Supply Chain
One movement spine, consume-to-charge
Every consumable domain — drugs, supplies, blood, nutrition, OR implants — emits the same stock vocabulary into realtime caches. Patient-scoped consumption resolves a price and posts to the billing ledger automatically; a leakage view shows what was consumed but never charged.
3,892live balances
20,237catalog
3,309alerts
realtime cacheITEMBATCHON-HANDEXPIRY
NSS 0.9% 1000 ml (น้ำเกลือ)B-6611278%2027-03-12
Ceftriaxone 1 g injB-6608942%2026-07-2545 days
Syringe 10 ml luer-lockB-6600791%2029-01-01
Surgical glove 7.0 sterileB-6599064%2028-05-30
stock_issueresolve_menu_price()billable_ledger฿412 posted · encounter-scoped2 items consumed, never chargedinventory_charge_leakage_v
Capabilities
STOCK_* event spine → 4 realtime cache tables (3,892 live balances)
Consume-to-charge trigger: stock issue → resolve_menu_price → billable_ledger
inventory_charge_leakage_v: consumed-but-never-charged, surfaced
9 templated rule kinds (reorder, expiry, geofence…) — admin-editable
Fail-soft always: inventory never blocks care