Case study · Healthcare data and privacy

Results, records and research: a consent-aware data platform for an Indian diagnostics chain

A diagnostics chain ran hundreds of collection centres and several regional labs. Patients wanted results in their digital health records, doctors wanted trends, and the business wanted to use its data for research and AI. India's data protection rules arrive in phases through 2027. The platform had to make every use of a patient's data traceable to a purpose and, where needed, to consent.

Case studyDiagnostics · IndiaSumanta Mukhopadhyay9 min read
#healthcare#data#governance
CASE STUDY · CASE STUDY · HEALTHCARE DATA AND PRIVACY30 Oct 2026 · 19:05 GST
At a glance
SectorDiagnostics · India
My roleFractional CTO and healthcare data architect
EngagementAssessment, architecture and delivery leadership
ScopeConsent and purpose service, ABDM integration, terminology mapping, research data store, breach readiness
What changed
  • Every data use tied to a recorded purpose, and to consent where consent is the basis
  • Results shareable into patients' digital health records with their approval
  • Local test codes mapped to a standard terminology once, reused everywhere
  • A pseudonymised research store kept apart from operational data
  • Breach detection and reporting routes ready ahead of May 2027
Consent and purpose serviceABDM health information exchange integrationFHIR resources for resultsLOINC terminology mappingOMOP CDM research storePseudonymisation serviceEvent streamingData catalogue

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A diagnostics chain in India ran collection centres, home sample collection and several regional laboratories. Results went out as PDFs by email and WhatsApp. Each lab used its own test codes, so a haemoglobin result from one city did not match the same test from another. The analytics team copied production tables into a warehouse with names and phone numbers intact, and the business wanted to start using the data for research partnerships and AI models.

Why now. India's Digital Personal Data Protection Rules were notified in November 2025 and apply in phases1. The consent manager framework applies from 13 November 2026, and most obligations on data fiduciaries, including notices, consent, data principal rights, breach reporting and children's data, from 13 May 202723. At the same time, the Ayushman Bharat Digital Mission (ABDM) gives patients a digital health account and a consent-based way to share records between providers4. The chain wanted to join that ecosystem properly and be ready for the DPDP deadlines in one programme.

What had to be true

  • Purpose for every use: reporting results, billing, analytics, research and AI, each with a recorded basis.
  • Patient-approved sharing of results into digital health records through ABDM.
  • One meaning per test: local codes mapped to a standard terminology once.
  • Research kept apart: pseudonymised, purpose-bound and never mixed with operations.
  • Breach-ready: detection, assessment and reporting routes tested before May 2027.

Architecture

Capture
Collection centresregistration, consentHome collection appbookingsLab systemsresults
Consent and purpose
Consent and purpose servicebasis, scope, expiry, withdrawalConsent manager readyfor registered managers
Standardise
Terminology mappinglocal codes to LOINCFHIR resultsone format out
Share
ABDM integrationpatient-approved record sharingDoctor and patient portalstrends, not PDFs
Research
Pseudonymisationkeys held separatelyOMOP research storepurpose-bound access
Assure
Data cataloguepersonal data mapBreach playbookdetect, assess, report
Purpose and consent sit in the middle; every downstream use checks them.

The data flow, end to end

  1. RegisterThe patient is registered with a clear notice and choices for optional uses
  2. TestThe sample is processed; the result is stored with its local code
  3. StandardiseThe result is mapped to a standard code and expressed as a FHIR resource
  4. ShareWith the patient's approval, the result is linked to their digital health record
  5. PseudonymiseFor approved research purposes, identifiers are replaced before data enters the research store
  6. HonourWithdrawals and rights requests flow back through the consent service to every store
The same consent record governs sharing, research and deletion.

The hard part: one test, many meanings, many purposes

The first problem was meaning. Each lab had grown its own test catalogue, so the same test had different codes and units across cities. Mapping every local code to LOINC once, with the mapping owned by a clinical team and versioned, made results comparable for doctors and usable for research. See clinical terminologies and OMOP vocabularies.

The second was purpose. Operational use, such as reporting a result, rests on a different basis from research. The team kept them physically apart. The research store follows the OMOP Common Data Model, built through a planned extract, transform and load process that starts with the person and visit structure before clinical tables5, and it only ever receives pseudonymised data for recorded purposes. See FHIR to OMOP architecture.

Diagram titled General Flow of an ETL showing the person table first, then observation period and visit occurrence, then clinical tables such as condition occurrence, drug exposure, measurement, observation and procedure occurrence
The OMOP ETL order: person first, then visits, then clinical data such as lab measurements. Source: The Book of OHDSI, The OHDSI Community · CC0 1.0

The third was withdrawal. A patient who withdraws consent for research must be removed from future extracts, and the system must be able to show that. Because every research load is driven by the consent service, a withdrawal stops the next load and is recorded against the patient's consent history.

Consent is not a checkbox at registration. It is a record that every pipeline reads before it moves data.

How it ran

Clinical and lab
  1. Test catalogue owners
  2. LOINC mapping review
  3. Result formats
Engineering and data
  1. Consent service
  2. ABDM and FHIR integration
  3. Research store
Privacy and legal
  1. Purposes and notices
  2. Research governance
  3. Breach playbook
Clinicians owned meaning, engineering owned flow, privacy owned purpose.
Phase 1Map
  • Personal data inventory
  • Purposes defined
  • Warehouse copies removed
Phase 2Consent
  • Consent and purpose service
  • New notices
  • Consent manager interfaces
Phase 3Share
  • LOINC mapping
  • FHIR results
  • ABDM integration
Phase 4Research
  • Pseudonymisation
  • OMOP store
  • Breach drills
Paced to the November 2026 and May 2027 milestones.

Key decisions and trade-offs

DecisionAlternativeWhy
Central consent and purpose serviceConsent flags in each systemOne record every pipeline checks
Map to LOINC onceMap per use caseConsistent meaning for care and research
Separate pseudonymised research storeResearch on the warehousePurposes stay separate and auditable
Design for consent managers nowWait for registrationsInterfaces ready when managers arrive
Remove identified warehouse copiesRestrict access onlyData that is not there cannot leak

What I'd do again, and differently

Again: put clinicians in charge of terminology mapping. It was the foundation for everything else. Differently: deal with the identified warehouse copies on day one. They were the largest risk and the easiest to remove. Related: a DPDP-ready consent platform for lending, a FHIR and OMOP evidence platform, India's proposed frontier AI law and the India page.

If you hold health data in India, see my healthcare data architecture work, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
    Ayushman Bharat Digital MissionNational Health Authority (India)
  5. 5
FAQ

Common questions

When do the DPDP Rules apply?

In phases. The Rules were notified in November 2025. The consent manager framework applies from 13 November 2026, and most obligations on data fiduciaries, including notices, consent, rights, breach reporting and children's data, from 13 May 2027, according to published timelines.

How does ABDM fit with DPDP consent?

ABDM has its own consent flow for sharing health records between providers through a patient's health account. A provider integrating with ABDM still has its own DPDP duties for the data it holds, so both need to be designed together.

Can a diagnostics company use patient data for research?

Only on a sound legal basis and with appropriate safeguards. In this design, research uses pseudonymised data in a separate store, with purposes recorded and consent captured where it is the basis.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.