Palo Alto Health Labs
Resource · Healthcare AI

Where to get health data to train and validate medical AI

Credentialed public datasets, NIH and national cohorts, commercial real-world data with tokenization, and health-system partnerships: what each route gives you and what it lets you do with the data.

Format
Guide
Read time
13 min
Sources
PhysioNet, All of Us, UK Biobank, NIH, NCI, TCIA, 45 CFR 164.514, HHS OCR, ASPE
Updated
Oct 27, 2026

The short answer

There are four main routes to health data for medical AI. Credentialed public datasets on PhysioNet, such as MIMIC-IV and eICU-CRD, are usually the quickest start: individual training, credentialing and a data use agreement, with review that PhysioNet says typically takes 1–2 weeks. National cohorts and NIH repositories (All of Us, UK Biobank, dbGaP, NCI imaging commons) add scale, genomics and imaging, but come with institutional sign-off and analysis-platform rules. Commercial real-world data (claims, EHR, lab and pharmacy data) is usually licensed in de-identified form and linked across sources with tokens. Health-system partnerships give you the data closest to your intended use, under a BAA, a data use agreement for a limited data set, an IRB-approved waiver, or de-identified data.

Pick the route by what you need the data for. Training needs volume and a license that allows model development. Validation needs data that is independent of training and looks like the population where the model will be used. Many teams need one route for each.

The main sources compared

SourceAccess routeWhat's in itTypical useKey restrictions
MIMIC-IV v3.1 (PhysioNet), with MIMIC-IV-Note, -ED and MIMIC-CXRCredentialed PhysioNet user, CITI “Data or Specimens Only Research” training, sign the DUA (PhysioNet Credentialed Health Data License 1.5.0). Also on Google BigQueryBeth Israel Deaconess Medical Center ED and ICU patients, 2008–2022: over 65,000 ICU and over 200,000 ED patients. The Note module has 331,794 discharge summaries and 2,321,355 radiology reportsModel development, benchmarking, clinical NLPResearch use only; no re-identification; access can't be shared; derived datasets and models treated as sensitive
eICU-CRD v2.0 (PhysioNet)Same credentialing, training and DUA as MIMIC-IVOver 200,000 ICU admissions in 2014–2015 from 335 units at 208 US hospitals in the Philips eICU programMulti-center development; a second ICU source for external testing of MIMIC-trained modelsSame DUA as MIMIC-IV; de-identified to Safe Harbor, with hospital identity removed
Open PhysioNet databasesMost PhysioNet resources are open; check each project's licenseWaveforms and signals, for example the ECG databases used in EC57 testingSignal algorithms and standard benchmarksPer-project license and citation terms
All of Us Research Program (NIH)Institution with a Data Use and Registration Agreement; identity check, Responsible Conduct of Research training, sign the Data User Code of ConductRegistered Tier: individual-level EHR, surveys, physical measurements and wearables. Controlled Tier adds genomic data, previously suppressed demographic fields and unshifted datesDiverse-cohort studies, wearables, genomicsWorkbench open to academic, health care, not-for-profit and government researchers. Analysis stays inside the Researcher Workbench; no counts of 1 to 20; no marketing use
UK BiobankApplication for health-related research in the public interest; data used on a restricted cloud platform500,000 participants recruited in 2006–2010 at ages 40–69Risk prediction, imaging and genomics at cohort scaleOpen to academic, charity, government and commercial researchers, but new applications are paused until late 2026, when it intends to reopen them
dbGaP and NHLBI BioData CatalystData Access Request by the investigator, co-signed by the institution's Signing Official, reviewed by an NIH Data Access Committee; eRA Commons accountsGenotype–phenotype studies, including TOPMed and other NHLBI cohorts on BioData CatalystGenomics and cohort phenotypesEach dataset has its own data use limitations; each institution in a collaboration files its own request
NCI Imaging Data Commons and TCIAIDC data is public with no registration. TCIA public collections can be downloaded; collections that need a DUA now go through dbGaPCancer imaging, harmonized to DICOM in IDCImaging model development and testingLicense per collection: most CC BY, a few non-commercial. Cite the dataset DOI; no re-identification
Commercial real-world dataLicense from a data holder or aggregator, usually as de-identified dataClaims, EHR, lab and pharmacy records, often linked across sources by tokensLarge-scale training, outcomes, subgroup coverage, real-world evidenceContract terms set the permitted uses; the de-identification determination covers a specific dataset and use
Health-system partnershipBAA, limited data set with a DUA, IRB or Privacy Board waiver, patient authorization, or de-identified dataThe partner's own EHR, imaging, waveform and operational dataLocal and external validation, prospective studies, development for that settingSet by the agreement, the IRB and HIPAA; plan for the time it takes to agree them

Sources: MIMIC-IV v3.1, MIMIC-IV-Note v2.2, eICU-CRD v2.0, PhysioNet About, PhysioNet FAQs, All of Us data access, All of Us registration, UK Biobank, UK Biobank apply for access, NIH: requesting dbGaP data, BioData Catalyst, NCI Imaging Data Commons, TCIA data usage policies. UK Biobank's application status is time-sensitive; check its site before relying on it.

Credentialed datasets: what the agreement means in practice

MIMIC-IV and eICU are the usual starting point because the access path is clear and individual. Under the PhysioNet Credentialed Health Data Use Agreement 1.5.0, each user agrees to:

Three practical consequences:

Our reading, not legal advice: these terms make MIMIC-IV and eICU a strong fit for research, benchmarking, method development and publishing. Before a commercial product depends on them, take the license to counsel. For a product, the more reliable data usually comes through one of the routes below.

Sources: PhysioNet DUA 1.5.0, PhysioNet Credentialed Health Data License 1.5.0, MIMIC-IV v3.1, PhysioNet FAQs, PhysioNet LLM guidance (Sept 2025), Johnson et al., Sci Data 2023;10:1 (MIMIC-IV), Pollard et al., Sci Data 2018;5:180178 (eICU-CRD).

National cohorts and NIH repositories

All of Us brings EHR, survey, physical-measurement and wearable data together for individual participants, with genomics in the Controlled Tier. Its rules shape study design. Under the Data User Code of Conduct, participant-level data can't be copied, downloaded or otherwise removed from the Researcher Workbench. You can't link it at the participant level to other data without the program's documented permission, and you can't publish counts of 1 to 20. Plan to train and evaluate inside the Workbench, and to export only aggregate results. Access goes through an institution with a Data Use and Registration Agreement.

UK Biobank follows 500,000 participants and accepts applicants from commercial as well as academic, charity and government organisations. As of October 27, 2026, its apply-for-access page says applications are paused while changes are made to its Research Analysis Platform, and that it intends to accept new applications in late 2026.

dbGaP holds controlled-access genotype and phenotype data from NIH-funded studies. The request process runs from the investigator to the institution's Signing Official to an NIH Data Access Committee. The committee checks the request against each dataset's data use limitations. NHLBI BioData Catalyst provides cloud workspaces for approved NHLBI datasets, including TOPMed. More NIH-funded data will reach repositories under the NIH Data Management and Sharing Policy, effective 2023.

Imaging. The NCI Imaging Data Commons publishes cancer imaging in DICOM with no registration. Licenses are set per collection: most are CC BY, a small subset non-commercial. TCIA's usage policy requires dataset DOI citations and prohibits re-identification. Since NIH's April 2025 policy changes, TCIA datasets that need a DUA are hosted by the NCI Cancer Research Data Commons, with access through dbGaP.

Sources: All of Us data access and DUCC, All of Us registration, All of Us Researcher Workbench, UK Biobank, UK Biobank apply for access, dbGaP, NIH: requesting dbGaP data, BioData Catalyst, NIH DMS Policy, NCI IDC, TCIA data usage policies.

Commercial real-world data and tokenization

Commercial real-world data (RWD) is usually licensed as de-identified records. Because each source has its identifiers removed, linking a patient's hospital stay to later pharmacy fills or claims relies on tokens. A token is a code derived from identifiers such as name and date of birth, so the same person produces the same token in each dataset without the identifiers changing hands. HHS-funded research refers to the general approach as privacy-preserving record linkage (PPRL).

Three points from primary sources to keep in mind:

What we ask about before using a licensed dataset (our practice checklist):

If the data will support an FDA submission, fitness for purpose matters as much as size. See our real-world evidence guide and the FDA guidance on real-world evidence for medical devices.

Sources: HHS OCR de-identification guidance (sections 2.9, 3.5), 45 CFR 164.514, ASPE PPRL evaluation project, Datavant on de-identification, Datavant on tokenization, FDA RWE guidance for devices. Vendor pages describe that vendor's own design; we have not tested it.

Health-system data partnerships

A health-system partner gives you data from the setting where the model will run, which matters most for validation. The legal route depends on what the data is for. The HIPAA de-identification routes themselves (Safe Harbor and Expert Determination) are covered on our medical data labeling page. The agreements are:

RouteWhen it fitsWhat the rule requires
Business associate agreement (BAA)You perform a function or service on behalf of the health system, such as validating a model it runsThe contract sets permitted uses, safeguards, breach reporting, subcontractor terms, and return or destruction of PHI at the end. HHS's sample provisions say the parties should state whether the business associate may de-identify PHI, and what it may do with de-identified data
Limited data set with a data use agreement (DUA)Research, public health or health care operations that need dates or geographyRemoves 16 direct identifiers but can keep town or city, state, ZIP code and dates. The DUA sets permitted uses and who may receive the data, and the recipient agrees not to re-identify or contact individuals and to bind any agents to the same terms
IRB or Privacy Board waiver of authorizationResearch that needs identifiable data and couldn't practicably be done without the waiver or without the PHIThe board must find no more than minimal privacy risk, with plans to protect and destroy identifiers and assurances against reuse
Patient authorizationProspective studies that enroll patientsAn authorization meeting 45 CFR 164.508; for research it can be combined with consent to take part
De-identified dataDevelopment or validation that doesn't need identifiersNot PHI once de-identified under 164.514(a)–(c). HHS says a DUA isn't required for de-identified data, though one may still be used

BAA or DUA? Our reading, not legal advice: a BAA covers work done for the health system. A DUA covers a recipient's own research or operations use of a limited data set. If your company wants to use partner data to build its own product, a BAA written for a service isn't, by itself, the right vehicle. Agree in writing whether data can be de-identified, by whom, by which method, and what the de-identified data may be used for. Then involve the partner's privacy office and IRB early, because these reviews often set the timeline.

For validating a model a health system already uses, see our guide to local validation of vendor AI. Privacy reviews and agreements are part of our HIPAA compliance consulting.

Sources: HHS: HIPAA and research, 45 CFR 164.514(e) (limited data sets), HHS sample business associate agreement provisions, HHS OCR de-identification guidance.

Choosing data for training vs. validation

Our practice guidance, built on the guides linked below:

QuestionTraining dataValidation data
What matters mostVolume, label coverage and a license that allows model developmentIndependence from training, and a close match to the intended-use population, setting and workflow
Good sourcesCommercial RWD, partner data under a suitable agreement, public datasets for research and pre-trainingA different site or later time period: a health-system partner, a second public dataset (for example eICU after MIMIC), or a prospective sample
LabelsCan be noisier if they are consistent and documentedNeeds a reference standard you can defend, with expert review and agreement measured
SizeDriven by model learning curvesDriven by the precision you need on each metric and subgroup; see test set sample size
Leakage risksDuplicate patients across splitsThe same patients, sites or time windows as training; tuning on the test set

Key references

Related resources

Frequently asked questions

Can MIMIC-IV or eICU data be used to build a commercial product?

Read the license before you plan on it. The PhysioNet Credentialed Health Data Use Agreement 1.5.0 limits use to the sole purpose of lawful use in scientific research, bars sharing access, and requires anyone who openly disseminates results to contribute the code. In our reading, that makes these datasets a fit for research, benchmarking and method development, and a question for counsel before any product use.

How long does PhysioNet credentialing take?

PhysioNet's FAQ says credentialing review typically takes 1-2 weeks and there is no expedited review. Required training (CITI Data or Specimens Only Research for MIMIC-IV and eICU) is a separate step, and each person needs their own access.

Can I send MIMIC data to an LLM API?

Only under PhysioNet's conditions. Its guidance says the DUA prohibits sharing credentialed data with third parties, including through online platforms and APIs, unless the provider does not retain the data, train on it or have humans review it. PhysioNet recommends local models.

Is tokenized patient data de-identified under HIPAA?

Not by itself. HIPAA de-identification is Safe Harbor or Expert Determination under 45 CFR 164.514(b). HHS guidance says an expert can find keyed hash codes acceptable if the key is not disclosed, but an unkeyed hash of identifiers does not meet Safe Harbor. Datavant, a tokenization vendor, also says tokenization alone is not enough.

Do we need a BAA or a DUA to get data from a health system?

It depends on why you get the data. A business associate agreement covers work you do on the health system's behalf. A data use agreement goes with a limited data set used for research, public health or health care operations. De-identified data needs neither under HIPAA, though a contract is still usual. If you want to use data for your own product, settle the de-identification and permitted uses in writing first.

Scope it in 30 minutes

Book a scoping call and we'll name the smallest engagement that moves you forward. Most teams start with the fixed-scope Initial Audit.

Book a 30-min scoping call

Prefer to write? Send a short note.