
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 to build scalable AI solutions for healthcare: reference architecture, MLOps, multi-site validation, cost control and security for AI that grows.

A healthcare AI model that works in one clinic often struggles when it has to serve ten hospitals, thousands of users and millions of records. Scaling is not only about compute. It means reliable data pipelines, repeatable deployment, monitoring at every site, predictable costs, security that holds up under audit and a release process that satisfies regulators. This article is an engineering guide to building healthcare AI that scales. For the organizational side, see scaling AI across a health system.
| Dimension | What has to scale | Typical failure when it does not |
|---|---|---|
| Data | Feeds from more systems, sites and formats | Pipelines break when a new site sends data differently |
| Models | More models, versions and sites | Nobody knows which version runs where |
| Integration | More EHR instances and workflows | Each site needs a custom build |
| Operations | Monitoring, support and incident response | Problems are found by clinicians, not by the system |
| Cost | Compute and model API spend | Costs grow faster than usage or value |
| Compliance | Evidence, audit trails and change control | Every release becomes a manual compliance project |

Integration layer: receives data through HL7 v2, FHIR APIs, DICOM and files, and maps each site's local codes to standard terminologies. Keep site-specific mapping in configuration, not code. Our HL7 v2 to FHIR roadmap covers this layer.
Data platform: a governed store for training and inference data, with lineage so you can trace every prediction back to its inputs. See unified patient data platforms.
Model development: versioned datasets, reproducible training and a locked evaluation set for each use case.
Model registry: one record of every model version, its evaluation results, approvals and where it is deployed.
Serving: real-time and batch inference behind stable APIs, with fallbacks when a model or upstream system is unavailable.
Delivery: results shown inside clinical workflows through CDS Hooks, SMART on FHIR apps, EHR inbaskets or worklists.
Monitoring: data quality, model performance, alert volume, latency and cost, broken down by site.
Version everything: data, code, model weights, prompts and configuration, so any result can be reproduced.
Automate release gates: a new version cannot deploy unless it passes the evaluation set, subgroup checks and security scans, and has a recorded approval.
Deploy gradually: run new versions in silent mode or at one site first, then expand.
Monitor per site: performance can drop at one hospital while looking fine overall. Track every site separately.
Plan rollback: keep the previous approved version ready and test the switch.
For AI that is an FDA-regulated device, these practices also produce the evidence a predetermined change control plan requires, so updates can ship without a new submission each time. FDA's Good Machine Learning Practice guiding principles describe the same discipline.
A model validated at one site is not validated everywhere. Patient populations, equipment, documentation habits and workflows differ. Build a standard local validation package that every new site runs: a retrospective test on local data, a silent-mode period and agreed acceptance criteria. This turns site onboarding into a repeatable process rather than a research project.
Large language models make cost a first-class engineering concern. Track cost per task, not just total spend. Use smaller models for simple steps, cache repeated results, limit the context sent to the model to what is needed and set budgets with alerts. For high-volume tasks, compare API pricing with hosting a smaller model yourself.
More sites and users mean more access paths. Use single sign-on and role-based access, encrypt data in transit and at rest, log every access to PHI and keep audit trails for model inputs and outputs. Every vendor in the chain that handles PHI, including model providers, needs a business associate agreement (HHS sample BAA provisions). Include AI-specific threats, such as prompt injection, in your risk analysis; see securing AI systems in healthcare.
The biggest scaling gain comes from building shared components once: one integration layer, one model registry, one monitoring stack, one evaluation framework. Each new use case then reuses them instead of starting from scratch. Teams that skip this end up with a collection of one-off pilots that each need their own support.
Teams that need engineering help to scale healthcare AI can see our approach on the AI implementation support page.
Scalable healthcare AI is built on boring, reliable foundations: standard integration, governed data, versioned models, automated release gates, per-site monitoring, cost controls and strong security. Invest in these shared components early and each new model or site becomes faster and safer to add.
If you are planning to scale an AI product or program, talk to Ekipa's HealthTech engineers.
Standard integration, a governed data platform, versioned models with automated release gates, per-site monitoring, cost controls and security that works across many users and sites.
Patient populations, equipment, documentation and workflows differ. Each new site needs local validation before go-live.
The practices and tools for versioning, testing, deploying and monitoring machine learning models reliably, with the audit trail regulators and customers expect.
Track cost per task, use smaller models for simple steps, cache results, limit context and set budgets with alerts.
For AI that is a medical device, changes need to follow FDA rules. A predetermined change control plan can allow specified updates without a new submission each time.

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.