Hospital data privacy in India: who can see a patient record, and how would you prove it

Most Indian hospitals control access to patient records but cannot evidence it. A practical drill for IT heads, the mechanism behind the gap, and where Ospia fits.

Hospital data privacy in India has quietly changed shape. For years it was a policy question, answered with a document: a role matrix, a signed undertaking from staff, a line in the NABH file. The question now being asked of IT heads is narrower and much harder. Not who is allowed to see a patient record, but who actually saw it, when, and on what basis.

The direct answer, if you are wondering where your own hospital stands: in most Indian hospitals today nobody can produce that evidence quickly. Access is controlled. Access is not evidenced. Those are different engineering problems, and almost every hospital system solved the first one and deferred the second.

Run the drill before you read further. Pick one patient and one date from eight months ago. Ask your team to produce a list of every staff account that opened any part of that record on that date, with the purpose of each access and the consent it sat under. Time how long it takes and note how much of it arrives as a database export that someone then has to interpret. That number — hours, days, weeks — is your real privacy posture. The role matrix is a statement of intent.

Why the gap exists

It is not negligence. It is architecture, and four things cause it.

The Digital Personal Data Protection Act, 2023, published by MeitY, frames obligations around consent, purpose and the duties of the entity processing the data. Hospitals should take their own legal advice on scope and timelines. But the practical consequence for an IT head is clear enough: the burden is on the hospital to demonstrate, not to assert.

What to do about it, without buying anything

Several of these are configuration and discipline, not procurement.

Separately, if you are preparing for the Ayushman Bharat Digital Mission, consent stops being optional plumbing. An identity layer and a consent layer only pay off together; ABHA linkage without a machine-readable consent record simply moves the problem to a wider network.

Where Ospia fits

Ospia HOS is an AI-native hospital operating system, not a hospital management suite, and it is running hospitals in production today. On this specific problem, four design decisions matter.

One patient record across 31 domains rather than integrated modules, which means one access trail instead of several that have to be reconciled afterwards. Registration is ABHA-ready and every use of personal data traces to recorded consent held in a consent ledger that is consulted before use, with personal data minimised and encrypted at rest. The FHIR R4 read surface — Patient, Encounter, Condition, Observation, MedicationRequest, DiagnosticReport — sits behind a DPDP data-sharing consent check, so outbound sharing is gated by the same ledger as internal use. And where AI acts, the decision ledger records the model, the model version, the prompt version, the exact inputs, the output, who approved the action and what executed.

Agent memory is typed rather than one undifferentiated store: session, conversation, user preference, patient context, hospital operational and long-term learned parameters, each with its own retention and access policy. All model access routes through a single model router whose policy per task class accounts for data sensitivity and residency, so sensitive task classes can be pinned to a private model. The hospital chooses residency outright — self-hosted on its own infrastructure, or managed cloud in-region. Where configuration learning travels between hospitals, only the shape of a configuration moves — a rule structure or a workflow pattern — never patient data, commercial terms or anything identifiable, and that is contractual and opt-in.

Statutory enforcement is at write time rather than in a monthly report: NMC rules 1.3.2, 1.4.2 and 1.5 are applied as documents are created, including the 72-hour record-release clock, which is escalated before it lapses.

What we will not claim: no independent penetration test of Ospia has been conducted. It is planned as a recurring engagement, at least annually and after significant change. We also publish no customer count and no case studies yet — those arrive as each hospital completes hypercare and agrees to be named.

If the drill above took your team more than a day, that is the conversation worth having. The executive demonstration runs forty-five minutes on synthetic data shaped like your hospital, with zero real patients, and the access-and-consent trail is the part most IT heads ask to see twice.

Questions we get asked

What should an IT head be able to produce if a regulator asks about one patient's record?

At minimum: the list of accounts that accessed the record, the time of each access, the purpose under which it was accessed, and the consent artefact in force at that moment. Most hospital systems can produce the first two from database logs. The third and fourth are the ones that usually do not exist, because purpose was never captured and consent was collected on paper.

Is the consent form signed at registration enough?

A signature establishes that consent was given. It does not let any system check consent at the moment data is used, because a scanned form is not machine-readable. The practical requirement is a consent record that the application consults before processing — which is how Ospia's consent ledger is designed to work, and why registration being ABHA-ready and consent being machine-readable are the same project.

Does ABDM or ABHA change our privacy obligations?

ABHA addresses identity and record linkage rather than consent itself, and joining a wider network widens the surface over which consent has to hold. The useful sequencing is to get consent machine-readable before, or alongside, ABHA linkage. See the official ABDM material for programme scope, and take legal advice on your own obligations.

Where does our data sit, and who at the vendor can reach it?

With Ospia the hospital chooses: self-hosted on its own infrastructure, or managed cloud in-region. All model access routes through one model router with a routing policy per task class that accounts for data sensitivity and residency, so sensitive task classes can be pinned to a private model. Ask any vendor the same question in writing, including which support roles hold privileged access.

Has Ospia been independently security tested?

No independent penetration test has been conducted. It is planned as a recurring engagement, at least annually and after significant change. We would rather say that plainly than describe an audit that has not happened.