Diagnostic lab data sharing in India, explained
Labs sit between patients, referring doctors and hospital systems. Here is how reports move, what consent actually covers, and who answers if a report leaks.
The short answer
Under India's DPDP Act, the diagnostic lab is usually the data fiduciary for a patient's report and decides why and how it is shared. A hospital, doctor or app receiving it is typically a data fiduciary too, not a processor, unless it acts only on the lab's instructions. Consent must name onward sharing. Reports usually move as HL7 or FHIR files or PDFs.
Key takeaways
- The diagnostic lab is usually the data fiduciary for a patient's report; hospitals, doctors and health apps that decide their own use of the data are separate fiduciaries, not processors.
- DPDP consent must specifically cover onward sharing — with the named doctor, the hospital record system and any analytics use — and must be withdrawable.
- Most Indian report exchange still runs on PDFs, while HL7 and FHIR offer structured, auditable transfer that needs investment on both sides.
- Liability follows the fiduciary: a leak at the lab is the lab's failure, a leak at the hospital is the hospital's, and blaming a cloud vendor does not remove the lab's duty of oversight.
- Every vendor touching patient data needs a written processing contract that limits use to the lab's instructions.
Diagnostic lab data sharing in India is the set of rules and plumbing that decides how a blood test, scan or pathology report reaches the people who need it — the patient, the referring doctor, the hospital where surgery is planned, and sometimes an app or insurer. The rules come from the Digital Personal Data Protection Act (DPDP Act), India's data protection law. The plumbing is a mix of PDFs on WhatsApp, lab information systems (LIS, the software a lab uses to record samples and results), hospital information systems, and health-data standards called HL7 and FHIR.
This explainer is about the business and compliance side: who owns the data, what consent covers, how exchange works in practice, and where liability sits when something goes wrong. It is not medical advice.
Who is the data fiduciary and who is the processor?
Under the DPDP Act, a data fiduciary is the entity that decides the purpose and means of processing personal data. A data processor handles data only on the fiduciary's instructions. For a diagnostic report, the lab is almost always the data fiduciary: it collected the sample, ran the test and decides what the report says and who gets a copy.
The complications start when the report leaves the lab.
- The referring doctor is usually a separate data fiduciary. The doctor keeps a patient record for treatment and decides how long to retain it. The lab is not controlling that copy.
- The hospital is a data fiduciary for its own medical records, even if the lab is inside the building. A hospital-run lab may be one fiduciary; a third-party lab operating inside a hospital is a separate one.
- A health app or aggregator that stores reports for consumers is a data fiduciary in its own right if it decides how to use that data, for example to sell insurance or run analytics.
- A cloud vendor or IT support firm hosting the LIS is typically a processor, acting on the lab's instructions.
The practical test is simple: who decides? If the lab decides to send a copy to the doctor, the lab is the fiduciary for that act of sharing. If the doctor then forwards it to a specialist, the doctor is the fiduciary for that onward step.
What does consent actually cover?
DPDP consent must be free, specific, informed, unconditional and unambiguous, with a clear affirmative action. A vague clause in a registration form saying patient data might be passed to partners is weak ground. For diagnostic labs, consent usually needs to cover four distinct things:
- Collection and testing — the patient agrees the sample can be tested and the result recorded.
- Sharing with the named referrer — the doctor or hospital the patient named on the requisition form.
- Onward sharing — for example, the lab sending the report to a hospital's record system, a specialist, or a family member the patient nominates.
- Any secondary use — analytics, product improvement, research or marketing. This needs separate, specific consent, and the patient must be able to refuse it without losing the test.
Two details trip labs up. First, the patient may be unable to read the form — a caregiver or attendant often fills it in, and the law expects consent from the patient (or a lawful guardian), not from whoever is at the counter. Second, consent must be withdrawable, and withdrawal has to be as easy as giving it. A call centre number buried in a PDF is not that.
The DPDP Act also provides for certain legitimate uses that do not require fresh consent. Labs should treat these as a narrow exception, not a default, and should check the specific provision before relying on it.
How do HL7 and FHIR report exchange work in practice?
HL7 is a family of messaging standards that hospitals have used for decades to move orders and results between systems. FHIR (Fast Healthcare Interoperability Resources) is the newer, web-friendly standard that represents a patient, a report, an observation and a diagnostic order as discrete resources that can be exchanged over ordinary APIs.
In an Indian lab, the real flow often looks like this:
- The hospital's system sends an order to the lab's LIS, or a technician keys it in.
- The analyser writes a result into the LIS.
- A pathologist verifies and signs off.
- The LIS generates a PDF for the patient and, if configured, an HL7 or FHIR message for the hospital.
- The hospital's information system files the result against the patient's medical record number.
In practice, a large share of reports still reach doctors as PDFs over email, WhatsApp or a portal login. That works, but it breaks the link between the report and the patient's record, and it puts copies on personal phones. FHIR-based exchange fixes that by making the report a structured object with an audit trail, but it needs both sides to invest. Many mid-sized labs and single-doctor clinics have neither the software nor the staff to run it.
Where does liability sit if a report leaks?
Liability follows the fiduciary. If a lab's portal is misconfigured and one patient can see another's report, the lab is the data fiduciary that failed, and it faces the consequences under the DPDP Act, including the penalties set out in the Act.
If the leak happens at the hospital after a clean handover, the hospital's exposure begins. If a doctor forwards a report to a personal WhatsApp group, that is the doctor's problem. If a processor's cloud bucket was left open, the lab still carries the fiduciary duty to have a contract and oversight in place; blaming the vendor is not a defence.
Three common mistakes:
- Treating every recipient as a processor. A hospital or app that decides its own use of the data is a fiduciary, and the lab needs a clear basis for sending data to it.
- Burying sharing in the fine print. Consent must be specific; a generic clause will not cover a new analytics partnership.
- No data processing agreement. Every vendor touching patient data — LIS, cloud, SMS gateway, courier app — needs a written contract that limits use to the lab's instructions.
What it means for Indian labs and their partners
For lab chains, the compliance work is now a product feature. Patients increasingly ask who can see their report, and doctors prefer a clean, verifiable feed over a WhatsApp forward. Labs that can show a consent trail, a named-recipient list and an audit log will win hospital contracts, because hospitals carry their own record-keeping obligations.
For hospital groups, the question is integration. A hospital that accepts HL7 or FHIR results can file them automatically and reduce manual entry errors; one that accepts PDFs is building a records risk.
For health apps and insurers, the lesson is to be explicit. If an app stores reports and uses them for anything beyond showing them to the patient, it is a data fiduciary and needs its own consent, notice and grievance officer.
The direction is clear: consent gets more specific, exchange gets more structured, and the lab that can prove who saw what will be the one hospitals trust.
In this story
Frequently asked questions
Is a diagnostic lab a data fiduciary under the DPDP Act?
Yes, in most cases. The lab decides why the sample is tested, what the report says and who receives a copy, which makes it a data fiduciary. Its software and cloud vendors are typically processors acting on its instructions.
Does a patient's consent cover sharing with a hospital?
Only if the consent names that sharing. Consent must be specific and informed, so the lab should record which doctor or hospital the patient nominated and get separate consent for any other use, such as analytics.
What is the difference between HL7 and FHIR?
HL7 is an older family of messaging standards widely used in hospital systems. FHIR is a newer, API-friendly standard that represents patients, reports and results as discrete resources, making structured exchange and audit trails easier.
Who is liable if a lab report leaks?
The data fiduciary responsible for that stage. A portal error at the lab is the lab's liability; a leak at the hospital after handover is the hospital's. The lab still needs contracts and oversight for its processors.
Can a lab use patient reports for research or product improvement?
Only with separate, specific consent, or under a narrow legitimate-use exception. A general clause in the registration form is unlikely to be enough, and the patient must be able to refuse without losing the test.
