# Navigating HIPAA, GDPR and the EU AI Act for health data
A single patient, call her Anna, enrolls in a cardiology trial run by a Boston biotech and a Munich research hospital. She spits into a tube (genomic data), straps on a smartwatch (continuous heart rate and ECG), and signs a consent form. Over the next 18 months, Anna's data crosses the Atlantic six times, feeds an arrhythmia-prediction model, and sits in three different cloud regions. Each hop is governed by a different rule. Get one wrong and the trial faces regulatory holds, fines, or invalidated results.
Let's follow Anna's data and name the regulation at every step.
HIPAA (Health Insurance Portability and Accountability Act, US, 1996): governs "protected health information" (PHI) held by "covered entities" (hospitals, insurers, providers) and their "business associates" (vendors handling PHI on their behalf). Enforced by the HHS Office for Civil Rights (OCR).
GDPR (General Data Protection Regulation, EU, 2018): governs personal data of people in the EU. Health and genetic data are "special category" data under Article 9, meaning stricter rules. Enforced by national Data Protection Authorities (DPAs).
EU AI Act (Regulation 2024/1689): the first broad AI law. It classifies AI systems by risk. Many medical AI tools are "high-risk" and carry heavy obligations. Phased in through 2026 and 2027, overseen by the new European AI Office plus national authorities.
Key mental model: HIPAA follows the *entity and the data type*. GDPR follows the *person's location and residency*. The AI Act follows the *use case and risk level*. All three can apply to the same dataset at once.
HIPAA lets covered entities use PHI for treatment, payment, and operations without separate authorization, but research generally needs a signed HIPAA authorization plus IRB (Institutional Review Board) approval.
GDPR needs a lawful basis under Article 6, plus an Article 9 condition for special category data. For research, sponsors often rely on "explicit consent" or on "scientific research" provisions, but not on the vague "legitimate interest" basis that works for marketing.
Concrete check: Anna's German consent form must be granular. One combined checkbox for "genomic sequencing, wearable monitoring, AI model training, and future secondary research" is a classic GDPR failure. DPAs expect separable, specific choices.
Under GDPR, genetic data is explicitly special category. In the US, the picture is fragmented: HIPAA covers genomic data held by covered entities, GINA (Genetic Information Nondiscrimination Act) restricts its use in employment and health insurance, and state laws (for example Illinois's genetic privacy statute) add layers. There is no single US federal genomic privacy law.
Anna's data moves from Munich to Boston. Under GDPR, exporting personal data outside the EU requires a transfer mechanism.
The main options in 2026:
Note: the DPF faces ongoing legal challenge, echoing the fate of its predecessors Safe Harbor and Privacy Shield (both struck down by the EU Court of Justice). Prudent sponsors keep SCCs as a fallback so a single court ruling does not halt the trial.
You can read the European Commission's overview of transfer tools here: Commission adequacy and transfer mechanisms.
Before any transfer, run a data flowdata flowAn automated sequence of steps that moves data from source to destination: ingestion, transformation, validation, and loading, so it arrives clean and ready to use.View full definition → mapmapUsing software to automate repetitive marketing tasks and campaigns, enabling personalisation at scale across channels like email, web, and social.View full definition →. A simple record for Anna's data:
data_element: continuous_ecg
source_region: eu-central-1 (Frankfurt)
destination: us-east-1 (Virginia)
regime: GDPR (export) + HIPAA (business associate)
lawful_basis: explicit_consent (Art 9(2)(a))
transfer_mechanism: SCCs + TIA
retention: 15 years post-trial (sponsor SOP)
pseudonymized: yes (subject_id, no direct identifiers)
ai_use: arrhythmia_prediction_model_v3Every row that lacks a lawful basis, a transfer mechanism, or a retention limit is a finding you fix before go-live, not after a breach.
Teams love to say "the data is anonymized, so GDPR does not apply." Usually false.
Pseudonymized data replaces names with a code but keeps a key that can re-link. It is still personal data under GDPR. Anonymized data cannot be re-linked by any reasonably likely means, and only then falls outside GDPR.
Genomic data is famously hard to truly anonymize. Studies have shown individuals can be re-identified from genotype data cross-referenced with public genealogy databases. Treat genomic data as personal data by default.
Under HIPAA, the parallel concept is "de-identification," achievable via the Safe Harbor method (remove 18 specified identifiers) or Expert Determination. HIPAA de-identification and GDPR anonymization are not the same standard, so clearing one does not clear the other.
Now the model predicts Anna is at high risk of atrial fibrillation. Two regimes fire at once.
Under GDPR Article 22, decisions based *solely* on automated processing that produce legal or similarly significant effects trigger extra rights, including the right to human review. A model that flags Anna for a clinician to review is safer than one that auto-triages her without any human in the loop.
Under the EU AI Act, an AI system used as a medical device, or as a safety component of one, is typically high-risk. High-risk obligations include:
Crucially, AI Act obligations sit *on top of* the existing EU Medical Device Regulation (MDR) and In Vitro Diagnostic Regulation (IVDR). Your arrhythmia model is not choosing between MDR and the AI Act. It must satisfy both.
Anna's cohort skews European. If the model underperforms on populations it was not trained on, that is both a scientific validity problem and an AI Act data governancedata governanceData governance is the set of policies, roles, and processes that ensure data is accurate, secure, well-defined, and used responsibly across an organization.View full definition → failure. A basic subgroup performance check:
for group in ["female_65plus", "male_65plus", "female_under65", "male_under65"]:
sens = sensitivity(y_true[group], y_pred[group])
print(group, round(sens, 3))
# Flag any subgroup where sensitivity drops materially
# below the overall model claim.Document the result. "We tested and found a gap, and here is our mitigation" is a defensible audit posture. Silence is not.
Knowledge check
1. According to the lesson's mental model, what is the primary trigger that determines whether HIPAA applies to a given dataset?
2. Anna's data feeds an arrhythmia-prediction model. Under the EU AI Act, why would this system likely face heavy obligations?
3. Why can all three regimes (HIPAA, GDPR, and the EU AI Act) apply simultaneously to Anna's single dataset?
4. Select ALL correct answers about how GDPR treats Anna's health and genetic data.
Select all the correct answers.
5. Select ALL correct answers about HIPAA's rules for using PHI.
Select all the correct answers.
A laptop with the trial's re-linking key is stolen.
GDPR: notify the relevant DPA without undue delay and, where feasible, within 72 hours of becoming aware, if the breach risks people's rights. Notify affected individuals if the risk is high.
HIPAA: the Breach Notification Rule requires notifying affected individuals and HHS. Breaches affecting 500 or more people must be reported to HHS within 60 days and disclosed publicly on the OCR breach portal, sometimes called the "wall of shame."
Different clocks, different regulators, one incident. Your incident response plan must run both tracks in parallel from hour one.
These are the statutory maximums, not typical outcomes, and actual fines vary widely:
Worked example: a biotech with 500 million euros global turnover faces a theoretical GDPR ceiling of 20 million euros (4 percent of 500 million is 20 million, and the fixed cap is also 20 million, so they tie). Under the AI Act's top tier, 7 percent of 500 million is 35 million euros, matching the fixed cap. The percentage basis is what makes these laws bite for larger firms.
1. Data flow map for every element, with regime, lawful basis, transfer mechanism, and retention.
2. Consent audit: are choices granular and separable? Is withdrawal actually honored downstream?
3. Re-identification risk review for genomic and wearable data.
4. AI classification memo: is each model high-risk under the AI Act, and a device under MDR or IVDR?
5. Dual breach playbook: 72-hour GDPR track and HIPAA track, tested with a tabletop drill.
*This lesson is educational and not legal, medical, or investment advice. Verify current thresholds and enforcement figures with primary regulatory sources before acting.*