Digital Public Infrastructure

Digital health records and the messaging app

Much of Pakistan's healthcare communication now runs over WhatsApp. Consent, retention and the line between reminder and advice all need to be explicit.

Photo: DFID - UK Department for International Development · CC BY 2.0 · via Flickr

A telehealth practice I have worked with runs its patient communication through WhatsApp. Appointments, reminders, prescriptions, follow-up questions, the occasional photograph of a rash. It is not unusual. It is close to the norm for small practices in Pakistan, because it is where patients already are, and asking them to install a separate app is asking them to not use the service.

It also means that health data, the most sensitive category in any data-protection regime, moves through a consumer messaging app, is stored on patients' and doctors' phones, and is processed by whatever automation the practice has wired in. The convenience is real. So are the questions, and most practices have not asked them, because the channel was adopted before anyone thought of it as a channel.

How it came to be this way

The practice started by giving patients a number to call. Patients started messaging it instead, because messaging is how people communicate. The receptionist started replying. Then the volume grew, and the practice asked an agency to automate the routine messages. Now an assistant sends reminders, confirms appointments, and answers the questions that genuinely repeat.

At no point did anyone decide that health data would flow through WhatsApp. It happened because patients were there, and each step was a reasonable response to the one before. The governance questions arrive after the fact, which is the normal order for small deployments and the reason they need asking deliberately.

Did the patient agree to receive health information over WhatsApp? Usually they gave their number. That is not the same thing. A phone number given for appointment booking is not consent to receive a prescription by message, or to have a question about symptoms answered by an automated system.

A practice that automates messaging should ask, once, clearly, in the patient's language, and record the answer. "We send appointment reminders and prescription details by WhatsApp. Is that all right, or would you prefer a call?" One message. The answer logged. The patients who say no get a call.

Retention

How long do the messages stay? On the practice's side, on the patient's phone, in the automation platform's logs, in the messaging provider's backups? A reminder about a sensitive condition sits in a chat history that a family member may see, on a phone that may be shared, for as long as the patient does not delete it.

The practice did not design that exposure; it inherited it from the channel. It should at least know it is there, tell the patient, and keep its own copies for no longer than it needs them. The automation platform's logs are the part the practice can control and usually forgets: a year of patient messages sitting in a workflow tool's history because nobody set a retention period.

The line between reminder and advice

"Your appointment is Friday at four" is a reminder. "Take your medication with food" is advice, and it may be correct, and it is still advice. "Is it safe to double my dose?" is a medical question that no automated system should answer.

The three are a few words apart in a chat, and an assistant tuned to be helpful will drift across the line unless the line is enforced in code and tested. The drift is not a bug; it is the model doing what it was built to do, which is to answer. The line has to be drawn by the orchestration layer, not by the model's judgement.

In the system I helped build, the assistant holds anything that looks like a medical question and routes it to a doctor, with the patient told that a doctor will answer. The trigger list was written from real patient messages, in Urdu and Roman Urdu, because the English list did not catch "kya ye normal hai". That one rule, enforced and logged, is the difference between a reminder service and an unlicensed clinic.

Where digital public infrastructure comes in

As Pakistan builds digital health records and the consent layers around them, the messaging-app reality is the context those systems will meet. A national health record that assumes patients interact through a secure portal has assumed a patient who does not exist. The portal will be built, and patients will keep messaging the clinic on WhatsApp, and the clinic will keep replying there.

The design has to meet people on WhatsApp and bring the governance to them: consent captured in the chat, in the patient's language; retention managed by the practice, with the platform's logs included; the advice line enforced by the tooling, with the triggers written from real messages. A national standard for digital health communication that acknowledged the channel patients actually use would be more protective than one that assumed a channel they do not.

The objection

"WhatsApp is not a secure medical channel and practices should not use it." True, and irrelevant. They do use it, their patients prefer it, and a standard that forbids it will be ignored. The useful standard is the one that says: if you use it, here is what you must do. Ask consent. Set retention. Enforce the advice line. Log what the assistant did. That is achievable by a small practice with a small agency, and it is a great deal better than the current norm, which is nothing.

The principle

The channel does not change the obligations. Health data is health data on WhatsApp. The practice that moved there for convenience has to carry the governance with it, and the infrastructure the state builds should make that easier, not assume it away.

Written from deployment and research, not from a content calendar. If something here is wrong in your experience, tell me which line.