Home / Products / Smart Clinic
Live · v1.0 · Karachi, PakistanSMART CLINIC
SOLUTION.
Token-based OPD queue and live ETA engine for private clinics. Patients stop waiting in a crowded room and only arrive when it is nearly their turn.
Problem statement
THE SCHEDULE BREAKS
BY THE SECOND HOUR.
Private clinics assign 15-minute slots — but consultations are never 15 minutes. A follow-up takes 4 minutes, a new patient takes 20. By mid-session every patient booked after 5 PM is sitting in the same room at the same time.
Crowded waiting room
15–25 patients waiting simultaneously. Negative reviews, patients leaving before they are seen, and stress on reception staff.
Reception overloaded
"Kitni der lagegi?" — one staff member spends the entire day answering this single question by phone and in-person.
No patient history
Paper parchi and manual registers mean previous prescriptions are lost. The doctor sees each patient cold, every visit.
Revenue leakage
Manual cash tally at day-end. No per-doctor revenue visibility. Insurance claims filed by hand — weeks of delay, frequent rejections.
Root cause: the clinic promises a time it cannot keep. The fix is simple — promise a position instead, and publish a live, honest estimate.
How it works
THE FLOW — START TO END.
From booking to consultation in five steps. The system does the scheduling work so the patient, doctor, and reception never have to guess.
Patient books a token
Patient books for a session window (morning or evening) — not a fixed clock time. They receive a token number and an estimated arrival window.
System calculates live ETA
ETA = patients ahead × doctor's rolling median consultation time × 1.10 buffer. Recalculates every time the doctor presses Next Patient.
Patient gets notified to leave home
Two SMS/push notifications fire relative to the live ETA — 30 minutes before ("leave now") and 10 minutes before ("arrive now"). Never at a fixed time.
Patient arrives — check-in at reception
Reception checks them in. Walk-in tokens are merged into the same queue. The display board shows the now-serving token in real time.
Consultation, prescription, payment — all in one record
Doctor sees patient history, writes the prescription digitally, orders labs, and sets a follow-up. Reception collects payment and closes the visit.
Use cases
FOUR USERS.
ONE SHARED SYSTEM.
Every role in the clinic gets exactly the view and tools it needs — nothing more, nothing less.
Books token from phone, waits at home
Books a token online, sees their live queue position and ETA countdown, receives SMS when to leave, views prescription history and family profiles.
Sees one patient at a time — with full history
Opens the console, sees who is next with their previous visits and pre-consultation form, writes the prescription with drug autocomplete, presses Next Patient.
Check-in, fees, and queue control
Issues walk-in tokens, checks in arrivals, collects fees (cash / card / insurance), reschedules when needed, and runs the end-of-day cash report.
Reports, revenue, and full visibility
Sees per-doctor revenue, waiting time analytics, insurance claim status, daily collection by payment mode, and an audit log of every action.
Business model
HOW IT CREATES
VALUE FOR THE CLINIC.
The system pays for itself through the efficiency gains it creates from day one.
More patients seen
By capping tokens at the realistic session capacity and eliminating scheduling collapse, doctors see 15–20% more patients per session without working longer.
Reception cost down
Reception calls drop from 60–80 per day to under 20. The same staff handles more patients. No dedicated "phone queue" person needed.
Insurance revenue unlocked
Claims submitted the same day instead of 5–10 days later. Approval rates improve. Insurance revenue that was delayed for weeks arrives on time.
How the problem is solved
THE FOUR DESIGN
DECISIONS THAT MATTER.
Token queue instead of time slots
Patients book a position, not a clock time. The ETA is estimated from the actual pace of the session — not an optimistic assumption about how long each consultation takes.
Median — not mean — consultation time
One 45-minute emergency case must not shift every downstream ETA by 30 minutes. The median of the last 20 consultations gives an honest, robust estimate.
Notifications reschedule on ETA drift
A notification scheduled at booking time will almost always be wrong by the time it fires. Every notification is a delayed job that cancels and reschedules whenever the live ETA shifts by more than 5 minutes.
Cap tokens at realistic capacity
max_tokens = floor(session_duration / median_time) × 0.9. This single rule eliminates overbooking — the actual root cause of the long wait — before the first patient even books.
Objectives
WHAT SUCCESS
LOOKS LIKE AT 60 DAYS.
THE PRODUCT IS LIVE.
GO SEE IT WORK.
Smart Clinic is deployed and running. Open the live product and explore the queue system, patient flow, and dashboard.
Go check live project ↗