Developer: DR.KESHARI

Hospital Node

hospitalnode.in · hnorder.in

India medical market · pharmacy · labs · care

Prescription medicines require valid Rx. Vaccines administered by licensed partners only.

PrivacyTermsConsentPaymentsLogisticsLicenses

Hospital Node

hospitalnode.in · hnorder.in

Module 1Module 2Module 4Module 5Pharmacy

Platform Phase 3 MVP · Module 3 · PhA / EC

Module 3 — Pharmacy & E-Commerce

Catalogue → cart gates → Rx pharmacist review → order placement (FEFO) → dispatch pipeline. hospitalnode.in has live commerce + Razorpay; spec pharmacist queue and batch FEFO gaps remain.

payment_pending → paid → packed → shipped → delivered

Integration: 58% · /api/module3/status

Module 1 KYC gateModule 2 symptom → RxPharma Platform v2Module 4 paymentsModule 5 teleconsultBlockchain ECCore Phase 1 PhAPharmacy shop

Checkout gates (Module 1 + 3)

requires_prescription

Module 3 L3

Partial
requires_kyc

Module 1 L4

Gap
can_checkout

Module 3 L2

Gap
stock_sufficient

Module 3 L1+L4

Partial

Pharmacy order journey

  1. 1Browse catalogueL1/shop?view=paramedics&service=pharmacyLive
  2. 2Add to cartL2/cartLive
  3. 3Upload Rx (Schedule H)L3/shop?view=aiPartial
  4. 4Pharmacist approveL3/vendorGap
  5. 5Checkout + payL4/checkoutLive
  6. 6Pack → ship → deliverL5/customer/track-orderPartial

Five layers

Layer 1 · catalogue

Catalogue & batch inventory

Partial

master_catalog_items + vendor_products + products_master; stock on vendor_products — not FEFO batch.expiry_date model from spec.

  • LivePharmacy browse
  • PartialDrug index / OpenSearch
  • Live780 normalized products
  • PartialAdmin catalog
  • PartialVendor listings
Gaps (5)
  • No Batch table with expiry-driven available_stock
  • schedule_type (OTC/Schedule H/H1) not unified on all browse cards
  • Public browse OK; pharmacist-only product create split across admin/vendor
  • 780 products_master → vendor_products bridge for orderable cards
  • 9L OpenSearch sync requires Docker running

Layer 2 · cart-gates

Cart + Schedule H / KYC gates

Partial

MarketplaceCartContext + catalog_cart_items; requiresPrescription flag; can_checkout without Module 1 patient KYC gate.

  • LiveCart
  • LiveServer cart API
  • GapModule 1 KYC
Gaps (4)
  • GET /cart response missing requires_prescription + requires_kyc + can_checkout booleans
  • requires_kyc not enforced (Module 1 Layer 4 gap)
  • Per-item prescription coverage status not live on cart
  • Stock atomicity: verifyInventory partial — not FOR UPDATE like spec

Layer 3 · rx-review

Prescription upload + pharmacist review

Gap

Rx photo → Hospital AI → cart match; order prescription_status pending/not_required — no pharmacist approve/reject queue.

  • PartialHospital AI Rx OCR
  • PartialRx API
  • PartialAdmin pharmacy
  • GapVendor dispense
Gaps (6)
  • PhC-01: Rx verification before dispense — not built
  • No Prescription/PrescriptionItem tables snapshotted from cart
  • Pharmacist-only review (admin blocked) — not implemented
  • Cannot review own prescription (conflict check)
  • Magic-byte PDF/JPG validation on Rx upload — partial
  • S3 private Rx storage — gap

Layer 4 · order-placement

Order placement + FEFO stock deduct

Live

place-catalog-order.ts — real Razorpay (ahead of spec stub); re-validates inventory; FEFO batch allocation not implemented.

  • LiveCheckout
  • LivePlace order API
  • LiveRazorpay webhook
  • PartialTrack order
Gaps (5)
  • Fresh re-check of Rx approval + KYC at place-order (spec) — KYC missing
  • FEFO batch deduction + OrderItemBatchAllocation
  • Order status enum differs: pending vs payment_pending → paid pipeline
  • Prescription not marked consumed after order (spec known limitation)
  • Multi-vendor checkout_group_id — spec is single-pharmacy cart

Layer 5 · fulfillment

Dispatch & fulfillment pipeline

Partial

delivery_status on catalog_orders; connecting-link logistics; Razorpay replaces mark_paid() stub — no sequential pack→ship→deliver staff API.

  • PartialCustomer track order
  • PartialVendor orders
  • PartialLogistics / hospitalnode.in · hnorder.in
  • PlannedBlockchain commerce
Gaps (5)
  • No GET /fulfillment/queue FIFO by status
  • No pharmacist pack/ship/deliver transitions with JWT attribution
  • Courier tracking manual — no Delhivery/India Post API
  • Open-box AI ≥₹500 (blockchain spec) — gap
  • VHG commission auto-credit (step 14 EC spec) — gap

API map (spec → hospitalnode)

  • GET /pharmacy/productsLive

  • GET /cartPartial

  • POST /prescriptionsPartial

  • POST /prescriptions/{id}/approveGap

  • POST /ordersLive

  • POST /fulfillment/.../packGap

  • mark_paid() stubLive