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 2Module 4Appointments

Platform Phase 3 MVP · Module 5 · TC / PD

Module 5 — Teleconsultation

Chat → Agora video → e-prescription → scheduled booking → consultation fees. hospitalnode.in has appointment booking + Razorpay pay; in-app consult channel, video tokens, and Module 2 doctor queue remain the main gaps.

symptom session → consultation request → claimed → chat/video → e-Rx → fee (Module 4)

Integration: 34% · /api/module5/status

Module 2 symptom handoffModule 3 pharmacyModule 4 paymentsModule 1 identityCore Phase 1 PD-01Book appointment

Module 2 → Module 5 bridge

Symptom checker handoff queue (Module 2 L4) should feed Module 5 chat/video.

  • POST /symptom-checker/sessions/{id}/request-consultationGap
  • GET /consultations/queue (doctor FIFO)Gap
  • POST /consultations/{id}/claimGap
  • POST /consultations/{id}/completeGap
  • Direct book (Module 5 L4)Partial

Teleconsult journey

  1. 1Symptom check (Module 2)M2/shop?view=aiPartial
  2. 2Request consultationM2 L4/module2Gap
  3. 3Doctor claims / books slotM5 L4/appointmentsPartial
  4. 4In-app chatL1/appointmentsGap
  5. 5Video call (Agora)L2/customer/appointmentsGap
  6. 6Doctor issues e-RxL3/api/shop/hospital-ai/rxGap
  7. 7Pay consultation feeL5/api/appointmentsPartial
  8. 8Pharmacy order (Module 3)M3/module3Partial

Five layers

Layer 1 · in-app-chat

In-app consultation chat

Gap

AI symptom chat exists — not REST messages scoped to a claimed ConsultationRequest between patient + doctor.

  • PartialHospital AI chat
  • PartialKrishna AI chat
  • GapAppointments
Gaps (5)
  • No consultation_messages table
  • No participant-only privacy (patient + claiming doctor)
  • Send only while status=claimed — not implemented
  • Polling GET messages API missing
  • Module 2 L4 queue not linked to chat thread

Layer 2 · video-calling

Agora video / audio calling

Gap

meetingUrlFor() → meet.health-node.in/{ref} placeholder — no Agora token generation, no WebRTC client.

  • PartialAppointments teleconsult
  • StubMeeting URL stub
  • GapPhase 1 PD-01
Gaps (5)
  • AGORA_APP_ID / AGORA_APP_CERTIFICATE not wired
  • No video_sessions table or token API
  • No client-side Agora SDK UI
  • Live video connection untested (spec honesty boundary)
  • Call recording policy not defined

Layer 3 · eprescription

E-prescription during consultation

Gap

Patient-upload Rx OCR → cart match; no doctor-issued e-Rx on claimed consultation auto-approved into Module 3 cart gate.

  • PartialHospital AI Rx OCR
  • PartialRx API
  • PartialModule 3 Rx gate
Gaps (5)
  • No issue-prescription during consult (doctor-only)
  • E-Rx not written to shared Prescription table for cart gate
  • Pharmacist dispense view for e-Rx context — gap
  • OTC rejection on issue endpoint — N/A
  • Refill policy for e-Rx — open

Layer 4 · scheduled-appointments

Doctor scheduling & booking

Partial

practitioners + appointment_slots + appointments + book_appointment_with_slot RPC — parallel model to spec ConsultationRequest, not unified.

  • LiveBook appointments
  • LiveBrowse doctors
  • PartialPractitioner slots
  • LiveMy appointments
  • LiveCancel appointment
Gaps (5)
  • No ConsultationRequest claimed-at-booking unified with Module 2 queue
  • Doctor availability publish API differs from spec shape
  • Symptom session not required for direct booking (OK per spec L4)
  • Time-gating chat/video to scheduled_at — not built (spec intentional)
  • Spec has no cancel — hospitalnode has cancel (ahead); refund on cancel gap

Layer 5 · consultation-fees

Consultation fees (Razorpay)

Partial

fee_inr on appointments + Razorpay create/confirm; practitioner consultation_fee_inr in DB — not consultation_request fee_paid webhook branch.

  • PartialAppointment payment
  • PartialConfirm appointment pay
  • LiveModule 4 Razorpay
  • PartialPractitioner fees in DB
Gaps (5)
  • No PUT /doctors/me/fee doctor self-service API
  • Consultation fee webhook branch on shared Payment model — gap
  • fee_paid visibility on consult response — gap
  • Hard payment gate before chat/video/e-Rx — not built (spec deliberate)
  • Refund if appointment cancelled after pay — gap

API map (spec → hospitalnode)

  • POST .../messagesGap

  • POST .../video/startGap

  • POST .../issue-prescriptionGap

  • GET /doctors + book slotPartial

  • POST .../payment/createPartial

  • PUT /doctors/me/feeGap

Environment keys

  • AGORA_APP_ID (video — gap)
  • AGORA_APP_CERTIFICATE (video — gap)
  • RAZORPAY_* (consultation fees — partial via Module 4)