Skip to content
The Algorithm logoThe Algorithm
InsightsCompliance Engineering
Compliance EngineeringHealthcare12 min read · 2026-06-03

DPDPA + HIPAA: The Cross-Border Architecture Indian Engineering Centers Actually Need

3 flows
Cross-border data flows that must be drawn before code is written
India's Digital Personal Data Protection Act changed the architecture any HIPAA-covered entity must design when their offshore engineering team is in India. This article maps the three cross-border data flows that must be drawn explicitly — development, operational, and analytics — and details what DPDPA Section 16 actually requires, how to engineer identity federation that produces a joinable audit trail, how to reconcile the HIPAA 60-day and DPDPA 72-hour breach notification clocks, and the three patterns that produce nearly every cross-border audit finding we have remediated.

India's Digital Personal Data Protection Act came into force with provisions that change the cross-border architecture any HIPAA-covered entity must design when their offshore engineering team is based in India. Most US healthcare buyers approached this as a contracting problem — sign a BAA, sign a DPDPA-aligned data processing agreement, done. The data-flow architecture beneath the contracts is what an OCR investigator or DPDPA enforcement officer actually examines, and it is where most cross-border arrangements break.

Why "HIPAA-Compliant Software Development from India" Is an Architecture Question

HIPAA classifies PHI under the Privacy Rule with very specific transmission, access, and de-identification requirements. DPDPA classifies personal data under its Section 8 obligations with different breach notification timelines (72 hours to the Data Protection Board), different lawful basis requirements (notice-and-consent or specific exemptions), and different cross-border transfer rules (Section 16 negative-list approach).

These two regimes do not contradict each other in the abstract. They diverge in the operational details: what counts as a permitted disclosure, what evidence the regulator expects on demand, who the data subject can complain to. A US healthcare buyer whose Indian engineering vendor processes PHI without an architecture that satisfies both regimes simultaneously is not paper-compliant in either jurisdiction.

The Three Cross-Border Data Flows to Map Explicitly

Every HIPAA-covered application built with an Indian engineering center has three data flows that must be drawn and justified before code is written. The first is the development flow: how does production PHI reach engineers in India for debugging, testing, or migration? Most teams handle this by accident — a production database snapshot lands in a staging environment a developer can query, and that environment is in India.

This is a cross-border transfer under DPDPA Section 16 and a HIPAA Minimum Necessary issue simultaneously. The architecturally correct answer is that production PHI never leaves the US data residency boundary; engineers in India work against de-identified or synthetic datasets, and break-glass production access is mediated through a bastion that records every query against a US-resident audit log.

The second flow is the operational flow: what data does the running application send to engineers in India during incident response? If an India-based on-call rotation receives error reports that include request bodies containing PHI, those error reports are themselves PHI transfers. The architectural fix is to filter PHI from error telemetry at the application layer — structured logging with explicit PHI sinks separate from operational telemetry — and to ensure on-call engineers see the symptom (HTTP 500, request ID) without the payload.

The third flow is the analytics flow: what aggregates, reports, or model training datasets are computed in India? Aggregate statistics that cannot re-identify individuals are not PHI; aggregates over small cohorts (rare diagnoses, specific facilities) can re-identify and become PHI by inference. The architecturally honest answer is to compute aggregates over de-identified data only, with the de-identification step running inside the US residency boundary before any data crosses borders.

What DPDPA Section 16 Actually Requires

DPDPA Section 16 takes a negative-list approach: cross-border transfers of personal data are permitted except to countries the central government specifies as restricted. As of mid-2026 no negative list has been published, which means cross-border transfers are functionally permitted but subject to revision. The architectural implication is that no production system should be built with a hard dependency on a specific transfer direction — a future negative-list addition cannot break the application.

The practical engineering pattern is per-region encryption keys with explicit key-management governance. Data encrypted with a US-resident key is functionally non-readable in India even if the encrypted bytes cross the border, and a future restriction on transfers becomes a key-access policy change rather than a data migration project.

Audit Trail Joinability Across Jurisdictions

HIPAA Section 164.312(b) requires audit controls that record activity in systems containing PHI. The audit log must answer who accessed what, when, and from where. When the engineering team is in India and the application is hosted in the US, the audit log must record the India-side engineer identity, the US-side data accessed, and the cross-border session that connected them.

This sounds obvious and is usually broken in practice. India-side engineers authenticate through corporate SSO with their employer's identity provider. US-side application access is mediated through a different identity layer. The audit log records the US-side session token, not the engineer's named identity. Reconstructing who did what after an incident becomes an exercise in correlating timestamps across systems that did not agree on a shared identifier at the time.

The architectural fix is identity federation with attribute passthrough: India-side authentication produces a token containing the engineer's named identity, that token is presented at the US boundary, and the audit log records the named identity directly. The token validation happens at the boundary, not at every downstream service. Implementations vary — OIDC with custom claims, SAML attribute mapping, or a custom assertion broker — but the architectural property is the same: the audit log answers an OCR investigator's question without manual correlation work.

Breach Notification Timeline Reconciliation

HIPAA gives covered entities 60 days from discovery to notify affected individuals of a breach. DPDPA Section 8(6) gives data fiduciaries timing requirements for notifying the Data Protection Board (72 hours under the rules in force). A breach that involves PHI processed by an Indian engineering team triggers both clocks simultaneously, from the same underlying discovery event.

The architecturally important consequence is that incident response runbooks must be designed for the shorter clock. A 72-hour notification window does not permit the discovery-to-notification cycle that US healthcare teams developed under HIPAA alone. The incident response automation, the legal review, and the regulator-facing communication template all have to be pre-staged before an incident, not assembled during one.

The architecture this requires is incident-response-as-code: detection rules that fire automated paging within minutes, runbooks executable by the on-call engineer without legal team involvement for the technical containment, and pre-drafted notification templates with structured fields the legal team can complete in minutes rather than hours.

Where Most Cross-Border Architectures Fail Audit

Three patterns produce nearly all the cross-border findings we have remediated. The first is the "remote-access via Citrix or RDP" pattern that gives India-side engineers a Windows desktop in the US data center; the engineers see PHI on their India-resident screens, which is itself a cross-border transfer not covered by any data residency control. The fix is to design workflows that do not require an engineer to look at PHI for the engineer to do their job — instrumentation, structured error telemetry, de-identified datasets for debugging.

The second is the "temporary" staging environment that contains a production PHI snapshot for migration testing. The snapshot was loaded six months ago, the migration completed, no one deleted the snapshot, and the staging environment is in India. The fix is a TTL-enforced lifecycle on every dataset, with explicit ownership and review on a schedule the compliance officer can audit.

The third is the third-party SaaS integration — error monitoring, support ticketing, customer success — that runs in a region the architecture documents did not consider. The fix is to inventory every SaaS contract for data residency and processing region, and to architect the application's error and event flows to filter PHI before it reaches any such service.

The reward for getting this architecture right is the ability to ship HIPAA-compliant software development from India without spending the first six months of every engagement defending the contract structure to regulators or auditors who have never seen one done properly.

Related Articles
Compliance Engineering

EU AI Act: What CTOs Actually Need to Do Before August 2026

Read →
Compliance Engineering

DORA Is Live. Here's What 'Operational Resilience' Means for Your Codebase

Read →
Architecture

What Happens to Your HIPAA BAAs When You Migrate to Cloud

Read →
Facing This?

The engineering behind this article is available as a service.

We have done this work — not advised on it, not reviewed documentation about it. If the problem in this article is your problem, the first call is with a senior engineer who has solved it.

Talk to an EngineerSee Case Studies →
Related Reading
Compliance Engineering
EU AI Act: What CTOs Actually Need to Do Before August 2026
Compliance Engineering
DORA Is Live. Here's What 'Operational Resilience' Means for Your Codebase
Architecture
What Happens to Your HIPAA BAAs When You Migrate to Cloud
Service
Compliance Infrastructure
Service
Healthcare Technology
Service
Regulatory Intelligence
Knowledge Base
Hipaa
Knowledge Base
Dpdpa
Knowledge Base
Baa
Engage Us