
FHIR Resources Explained: Types, Structure and Examples
Learn FHIR resources step by step: what each resource type holds, how IDs, references and extensions work, and how to choose the right ones.
How federated learning lets hospitals train AI models together without sharing raw patient data, what the evidence shows and the privacy and governance limits.

Healthcare AI models perform better when trained on data from many hospitals, but sharing patient data across organizations is difficult for legal, privacy and practical reasons. Federated learning offers a different approach: the model travels to the data instead of the data traveling to the model. This guide explains how it works, what the evidence shows and where its limits are.
A study published in Nature Medicine in 2021 used federated learning across 20 institutes worldwide to train a model, called EXAM, that predicts oxygen needs for patients with COVID-19 using vital signs, lab results and chest X-rays. The federated model achieved an average area under the curve above 0.92 and improved generalizability compared with models trained at single sites. It showed that federated training can produce models that work better across hospitals.
| Good fit | Less suitable |
|---|---|
| Data cannot easily be pooled for legal or policy reasons | Data can already be shared under clear agreements |
| Rare conditions needing data from many sites | Single-site problems with ample local data |
| Models must generalize across hospitals and equipment | Sites with very different data formats and no harmonization |
| Partners willing to share compute and governance | Partners without technical capacity |
Federated learning reduces data movement, but model updates can still leak information in some cases. Combine it with additional protections such as secure aggregation, differential privacy where appropriate, access controls and audit logs. HIPAA still applies to the data at each site; review whether shared updates or the final model raise privacy questions, and use HHS de-identification guidance and legal advice where needed. Apply HIPAA Security Rule safeguards to every participating environment.
Most healthcare projects use cross-silo federated learning: a small number of institutions, each with substantial data and reliable infrastructure, train together over many rounds. Cross-device federated learning, used on phones and wearables, involves very large numbers of devices that join and leave unpredictably.
There is also a difference in how data is split. In horizontal federated learning, sites hold the same kinds of data for different patients, such as several hospitals with similar EHR fields. In vertical federated learning, organizations hold different data about the same people, such as a hospital and a pharmacy, which adds the challenge of matching records privately. The widely used federated averaging approach, where the server averages model updates weighted by each site's data, was introduced by McMahan and colleagues.
| Area | What the site provides |
|---|---|
| Data | A local data set mapped to the agreed common model, with quality checks |
| Compute | A secure environment that can run training jobs, often with GPUs for imaging |
| Security review | Approval of the software, network connections and what leaves the site |
| Agreements | Signed terms on data use, model ownership, publication and liability |
| People | A clinical lead, a data engineer and an IT contact for operations |
Compare the federated model with models trained at each site alone and, where possible, with a centrally trained model on pooled data. Report results per site, not only an overall average, because a model that helps large sites can still underperform at smaller ones. Check performance across patient groups at each site, and agree in advance which results would stop deployment.
Related reading: synthetic data for healthcare AI, healthcare data interoperability and building secure healthcare AI. If you are planning multi-site AI projects, see our healthcare engineering services.
Federated learning lets healthcare organizations train AI together without pooling raw patient data, and real studies show it can improve how models generalize. It is not a privacy guarantee on its own, and it requires data harmonization, infrastructure, governance and local validation to succeed.
If you want help planning federated or multi-site healthcare AI, talk to Ekipa's HealthTech engineers.
A way to train AI models across multiple sites where data stays local and only model updates are shared.
Not automatically. It reduces data movement, but HIPAA safeguards and privacy review still apply.
Yes. A 2021 Nature Medicine study trained a COVID-19 outcome model across 20 institutes with strong performance.
Data harmonization, uneven data across sites, infrastructure, governance agreements and local validation.
When data cannot easily be pooled and models must generalize across many sites.
In data sharing, records move to a central location. In federated learning, records stay at each site and only model updates move, which reduces data movement but still needs privacy safeguards and agreements.

Learn FHIR resources step by step: what each resource type holds, how IDs, references and extensions work, and how to choose the right ones.

Medical device software development explained: IEC 62304 lifecycle, ISO 14971 risk, FDA documentation, cybersecurity and AI change control.

Telemedicine software development guide covering features, HIPAA and BAA rules, state licensure, FHIR integration and a step-by-step build plan.
Connect with our team to explore how AI expertise can transform your business.