Module 01 · Advanced E-Rx
From prescription to
dispensed — in 90 seconds.
India's only ABDM-native closed-loop prescription system. E-Rx enters from a doctor's ABHA-linked device, gets validated by AI, dispensed physically by ADM or WVM hardware — with every step logged on-chain. No paper. No leakage. No human override.
End-to-End E-Rx Flow — Doctor to Dispense
Doctor
ABHA-linked device · ABDM FHIR R4
HCX / NHA
Prescription routing layer
BBB AI Engine
Drug-dose-allergy validation
ADM / WVM
Physical hardware dispense
Patient
Drug + thermal label receipt
ABDM PHR
Health record auto-updated
What the AI Engine does at each step
BBB's AI layer sits between prescription receipt and physical dispense. It is not advisory — it is the gatekeeper. Nothing dispenses without AI clearance.
- 🔍
Drug-dose validation
Flags doses outside WHO/DGHS guidelines for patient weight, age, renal status from ABHA record.
- ⚠️
Allergy & interaction check
Cross-references patient medication history from ABDM PHR, blocks contraindicated combinations.
- 🧪
Formulary alignment
Confirms drug is on NHM Essential Drug List / E-Aushadi formulary for that facility.
- 📊
Duplication detection
Identifies repeat prescriptions for same drug within 48-hour window across facilities.
- 🔐
Fraud scoring
Scores prescriber pattern anomalies — over-prescription, off-formulary, high-value drug clustering.
ADM + WVM — Hardware Channels
Two hardware form factors, one AI brain. ADM handles OPD pharmacy. WVM handles ward-level dispensing. Both share the same E-Rx validation pipeline.
- 🏧
ADM (Automated Dispensing Machine)
OPD pharmacy unit. Carousel-based, 200+ SKU capacity. Biometric patient auth. Thermal label print. Hash-chained dispense log.
- 🗄️
WVM (Ward Vending Machine)
Wall-mounted ward unit. Nurse biometric auth. Per-patient dose dispensing. Zero ward stock pilferage. Real-time inventory sync to cloud.
- 🔗
Shared E-Rx pipeline
Both units pull from the same ABDM-verified E-Rx queue. AI validation happens once, dispense channel selected by location logic.
- 📡
ABDM auto-reporting
Every dispense event auto-pushes to patient's PHR via ABDM. BBB registered as DSC on NHA — ₹22–27 L/year/hospital from NHA per Rx.
E-Rx Feature Set
ABHA-Linked Patient Auth
Patient identity verified via ABHA ID + biometric at dispense point. No proxy collection. No ghost patients.
ABDM NativeFHIR R4 Prescription Parsing
Ingests structured FHIR R4 prescriptions from any ABDM-compliant EMR. No manual data entry. No transcription errors.
FHIR R4Hash-Chained Dispense Log
Every dispense event is cryptographically chained. Tamper-evident audit trail. Survives any CAG or drug controller inspection.
Audit-ReadyHard Block on Non-Formulary
Drugs not on E-Aushadi / NHM EDL are blocked at software level before reaching hardware. No workaround possible.
E-AushadiPartial Dispense Logic
When stock is low, system dispenses available quantity and logs remainder for follow-up. Patient never leaves with zero record.
Smart DispenseReal-Time Pharmacist Alerts
Critical drug interactions, controlled substance requests and anomalous patterns trigger instant pharmacist dashboard alerts.
Live AlertsWhat It Solves
Transcription Errors — Eliminated
Structured FHIR ingestion removes the handwritten-Rx → pharmacist-read failure mode entirely.
NHA ₹5/Rx Revenue — Activated
Every confirmed dispense fires the NHA DSC event. ₹22–27 L/year/hospital recovered automatically.
Off-Formulary Leakage — Blocked
AI gate refuses non-EDL drugs before they reach hardware. Procurement-policy compliance becomes structural.
Government Stack Integration — E-Rx Layer
Every E-Rx transaction touches multiple government digital health infrastructure nodes. BBB is not bolted onto these — it is natively built around them.
ABDM / ABHA
Patient identity, health record write-back, PHR update post-dispense
FHIR R4 ↔ BBBHCX Network
Prescription routing, insurer claim triggers, PMJAY linkage
HL7 FHIR ↔ BBBE-Aushadi
NHM drug formulary validation, EDL compliance gate
API ↔ BBB AINHA DSC Registry
BBB registered as DSC. NHA pays ₹5/Rx → ₹22–27 L/yr/hospital automatically
DSC ↔ NHAHow this module links to the rest of the platform

