It is 11:40 on a Tuesday. You have a patient in front of you, four in the waiting room, and the line drops. Your clinic software is a blank screen.
What happens in the next ninety seconds decides whether this is a minor irritation or a genuine problem. In a clinic with a plan, reception moves the laptop onto the phone hotspot kept charged at the desk, and work carries on within a minute. In a clinic without one, reception reaches for whatever paper is nearest, and you spend the evening reconciling what happened during the gap — if anyone wrote it down at all.
We should be plain about our own product first. SehatDoc is cloud software and needs an internet connection to work; a backup connection, such as a phone hotspot at the front desk, covers an outage. It has no offline mode, and this guide does not pretend otherwise. What it sets out is the plan that keeps a cloud clinic running through Pakistani load shedding, and how to judge the offline claims other vendors make.
Why this matters more here
- Load shedding follows a timetable in much of the country, and the timetable is not built around OPD hours.
- Fixed-line connections drop during weather, maintenance and local faults, often for tens of minutes rather than seconds.
- Mobile data coverage varies sharply street to street, and a clinic on the wrong side of a building can have usable signal in one room and none in another.
- Backup power keeps the lights on but frequently not the router, because the router was never on the UPS.
A clinic that assumes continuous connectivity is not a clinic that works in Pakistan. It is a clinic that works on good days, which is a different thing — and the fix is a plan, not a promise.
The outage plan, in four parts
Most outages are survivable with a few inexpensive measures. These are what we recommend to every SehatDoc clinic, and they work for any cloud system.
- Put the router on the UPS. Astonishingly often the backup power covers the computer and not the connection, which is a hundred-rupee fix for a daily problem. Size the UPS for your usual load-shedding block rather than a few minutes.
- Keep a backup connection: a phone hotspot at the front desk on a different network from your main line, or a second ISP if outages run long. Coverage differences between operators are real. Keep a data bundle on it that will not run out mid-afternoon.
- Make sure backups run daily and that you know how to export your data, so the record never depends on one connection or one machine.
- Agree a paper fallback that is actually used: one pad, one place, and a rule that everything written on it is entered before close of business — not tomorrow.
What a good outage looks like, minute by minute
Minute 0. The line drops and the software cannot reach the server. Reception does not wait to see whether it comes back; the drill says switch, so they switch.
Minute 1. The laptop is on the phone hotspot kept charged at the desk, or on the second ISP, and the doctor's screen reconnects the same way. The patient in front of you notices nothing more than a pause.
Minutes 2 to 40. Reception books three appointments and takes two payments. You see four patients and write four prescriptions. The workflow is the same; only the connection is different.
Minute 41. The main line returns and the devices move back to it. If the hotspot also failed at any point, the patients noted on the paper slip are entered now, not tomorrow.
That evening. The day's totals are correct because nothing went unrecorded. Nobody has to remember what happened between 11:40 and 12:20.
The failure nobody plans for
The worst outcome is not an outage. It is an outage during which staff improvise differently each time. One receptionist writes on a pad, another on a phone, a third decides to enter it later and forgets.
This is why a written, boring outage drill matters more than a clever one. The goal is that the clinic never develops a culture of improvising, because everyone already knows the three steps: switch to the backup connection, use the paper slip if that fails too, and enter the slip before close.
Testing your outage plan before you need it
Do not take any of the above on trust, including your own plan. Run a fifteen-minute drill during a quiet hour, ideally in your first week on new software, before the clinic depends on it.
- Switch off the main router — the actual connection, not the device's Wi-Fi.
- Time how long reception takes to move the laptop onto the phone hotspot or the second line and carry on.
- Book an appointment, add a patient, write a prescription with three medicines and take a payment over the backup connection.
- Print the prescription, to confirm the printer does not depend on the main router.
- Note one patient on the paper slip, as if both connections had failed, and enter it once you reconnect.
- Check from a different device that everything you created is there, once, with nothing duplicated.
That last check matters more than it looks. A half-saved form submitted twice produces two invoices for one payment, which you will discover at month end rather than at the counter.
Test the harder case too
Run the drill once with the power off as well: mains off, laptop on battery, router on the UPS. Whatever happens next is what will happen in your clinic on a bad Tuesday, and it is better to find out during a quiet hour.
What "offline" actually means, because vendors use it loosely
Four quite different things get sold under the same word. Knowing which one you are being offered is most of the evaluation. SehatDoc is in none of these rows — it needs a live connection — which is why most of this guide is about the connection itself.
| What they say | What it actually does | What to watch |
|---|---|---|
| "Works offline" (vague) | Often means the page stays open until you click something | Ask what you can actually write |
| Read-only cache | You can view records already loaded, but not write | Covers the least important case |
| Local write with queue | You keep working; changes queue and sync when the line returns | Conflicts, duplicates and data on the device |
| Full local install | Everything runs on a machine in the clinic, syncs periodically | A server you maintain |
Read-only is the one to watch for
A read-only cache is the most common half-measure. You can look at a patient already open on screen, which feels like it is working, but you cannot write the consultation note, cannot generate the prescription, and cannot take payment. During an outage you need to record what is happening now, not read old records.
Local write with queue is harder than it sounds
In principle the software notices the connection has gone, keeps accepting notes, prescriptions and invoices on the device, and syncs them in order when connectivity returns.
In practice that means reconciling two devices that changed the same record, deduplicating retries, and securing patient data stored on every device. Done well it is useful; done badly it produces duplicate invoices and missing notes that surface at month end. Where a vendor claims it, ask to see it work rather than taking the word.
The questions to ask, and the answers to accept
"What happens if the line drops mid-consultation?"
A good answer is plain about it: either the system keeps working on the device and syncs later, or — as with SehatDoc — it needs the connection, and the vendor tells you what to set up so that getting back online takes a minute rather than an hour. A poor answer is "that shouldn't happen", or a promise nobody will demonstrate.
"What happens if two devices change the same record while offline?"
This one matters only where a vendor claims offline writing, and then it matters most. Reception updates a patient's phone number on the desktop while the doctor adds a note on a tablet, both offline. What reconciles when they reconnect?
"How do I know nothing was lost?"
Ask what happens to a form that was half-saved when the line dropped. Staff need to know whether to re-enter it, because the alternative is a clinic that assumes it was saved and discovers otherwise a week later.
What offline support costs you
Where a vendor offers offline working, it is not free:
- Device storage: the local copy takes space, which matters on an old tablet with little room left.
- Sync complexity: more moving parts means more things that can go wrong, which is why the conflict question matters.
- Slightly heavier applications: a system that works offline carries more code to the device than one that does not.
- Security surface: patient data sitting on a local device needs the device secured — screen lock, encryption, and a plan for a lost tablet.
Offline is not the same as on-premise
A server in your clinic keeps working on the local network when the internet drops, but hands you a machine to maintain, back up and eventually replace. Offline-capable cloud software keeps a working copy on each device. Plain cloud software, SehatDoc among them, keeps data in the cloud and relies on the connection, so the backup connection does the job the server would. For most clinics without technical staff that is the better trade; the full comparison is in cloud versus on-premise clinic software.
If outages are a weekly problem
If outages are frequent enough that this is a weekly conversation, fix the connection before the software: a second ISP costs less than a migration. If you do decide to move, the migration itself is covered in switching clinic software, and the wider choice in the clinic software buying guide.
Urdu-speaking readers can find a shorter treatment in our Roman Urdu article on cloud and offline software.
Frequently asked questions
- Does clinic software work without internet?
- Some does and most does not, and the word "offline" is used loosely. Cloud software generally needs a connection: SehatDoc is cloud software and needs an internet connection to work; a backup connection, such as a phone hotspot at the front desk, covers an outage. Where a vendor claims offline support, check that you can actually write notes, prescriptions and invoices rather than only view records already loaded.
- How do I test whether clinic software really works offline?
- During a quiet hour, switch off the router. If the vendor claims offline support, book an appointment, add a patient, write a three-medicine prescription and take a payment, stay disconnected for ten minutes, reconnect, and confirm everything appears once from a different device. If the system needs internet, as SehatDoc does, test your backup connection instead: time how long reception takes to get working again over the hotspot.
- Is offline software the same as having a server in my clinic?
- No. On-premise means your data lives on a server you own, maintain, back up and eventually replace. Offline-capable cloud software keeps your data in the cloud while the device holds a working copy. Plain cloud software, such as SehatDoc, keeps the data in the cloud and needs a connection. For most Pakistani practices without technical staff, cloud with a backup connection is a better trade than a server.
- What happens to clinic software when the internet goes down?
- It depends on how the software was built and on your plan. Offline-capable systems keep working from the device and sync later. Cloud systems, SehatDoc included, need the connection, so the clinic switches to a backup connection such as a phone hotspot at the front desk or a second ISP, and uses a short paper slip if that fails too. Test the plan before you need it by switching off the router during a quiet hour.
Topics: Offline, Reliability, Cloud, Load shedding, Pakistan