Live Consultation Cabins & Real-Time Queue Tokens: Transparent OPD Navigation for Modern Hospitals
When patients visit a bustling multi-specialty hospital, navigating outpatient departments (OPD) can often feel disorienting. Finding the correct consultation room, wondering if the doctor is currently engaged with another patient, and guessing when one's turn will arrive adds unnecessary anxiety to healthcare visits.
Medizys transforms hospital navigation with Live Consultation Cabins & Real-Time Queue Tokens. Patients booking a hospital visit can now view active consultation cabins, see live room occupancy ("In Consultation" vs "Available"), review attending doctor timings, and monitor real-time queue token numbers.
graph TD
Patient[📱 Patient / Family Member] --> Hub[🏥 Hospital OPD Hub]
Hub --> DualView{Selection Mode}
DualView -->|Specialists View| DocList[👨⚕️ Specialist Roster with Room Badges]
DualView -->|Cabins View| CabinList[🚪 Consultation Cabins & OPD Rooms]
DocList --> Status1[⚡ Live Status: In Consultation • Serving Token #04]
CabinList --> Status2[⚡ Room 102: Available • Next Token #05 • 2 Waiting]
Status1 --> Book[🗓️ 1-Click Instant OPD Slot Selection]
Status2 --> Book---
1. Dual-View Roster: Specialists and Live Cabins
Patients have diverse preferences when seeking care. Some search specifically for trusted cardiologists or pediatricians, while others want to see which OPD consultation rooms are currently running with minimal queues.With the new directory interface:
- $0
2. Real-Time Occupancy & Live Token Numbers
No more wondering what is happening behind the consultation door. Medizys computes shift schedules and queries active queue entries dynamically:- $0
sequenceDiagram
autonumber
actor Patient
participant Browser as Medizys Web / App
participant Worker as Cloudflare Edge API
participant Neon as Neon Postgres Live Queue
actor Doctor as Attending Doctor (Cabin 2)
Patient->>Browser: Opens Hospital OPD Booking
Browser->>Worker: GET /api/facilities/:slug
Worker->>Neon: Queries Doctors, Cabins & Today's Active Tokens
Neon-->>Worker: Returns Room 102, Doctor Dr. Sharma, Serving Token #04
Worker-->>Browser: Enriched Roster Payload
Browser-->>Patient: Displays Live Room 102 (In Consultation • Token #04)
Doctor->>Neon: Calls Next Patient (Token #05)
Neon-->>Patient: Real-Time Token Advancement
---
3. Seamless Navigation & Preserved Search State
In addition to cabin transparency, patient navigation has been reinforced. When returning from the booking screen, patients are taken back to their exact previous location—preserving discovery filters, geolocation coordinates, and search parameters without losing context.Experience modern, transparent outpatient healthcare with Medizys.