Healthcare technology leaders who ask about integration are often told that a system "supports FHIR", which is usually true but promises less than it seems, because two systems that both support FHIR can exchange a lab result and still disagree about which test it was, which patient it belongs to and whether the value is expressed in the same unit.
FHIR (Fast Healthcare Interoperability Resources) is a standard published by HL7 International that defines a set of data structures for healthcare information along with a web API for exchanging them. It is a real advance on earlier standards, and several countries now base regulated data access on it. In the United States, for example, federal health IT certification rules require certified electronic health record systems to expose standardized FHIR APIs.
We treat FHIR as a well-designed transport and grammar, and we think interoperability projects should be planned around the things it deliberately leaves to the implementer, since that is where most of the time goes.
In brief
- FHIR standardizes the shape of healthcare data and the API used to exchange it, which removes most of the custom interface work that older standards required.
- FHIR is flexible by intention and makes most elements optional, so two conformant systems may still be unable to use each other's data unless they have agreed a profile.
- FHIR can carry coded data from any terminology but does not translate between terminologies, which leaves the mapping of local codes to shared vocabularies as the largest single task in most projects.
- Patient identity, consent and data quality lie outside what the standard can settle, and each needs its own decisions and engineering.
- A sound first project picks one data flow, pins a profile and a version, and tests against real records from every source system before making any broader commitment.
What FHIR standardizes
Resources as the basic unit. FHIR models healthcare information as resources, which are small, defined units such as Patient, Encounter, Observation, Condition, MedicationRequest and DiagnosticReport. Each type has a published structure, and each instance has an identity and can reference others, so an Observation points to its Patient and its Encounter.
A web API for exchange. Resources are created, read, updated and searched over HTTP through a consistent set of REST interactions in JSON or XML format. Any developer familiar with modern web APIs can follow a FHIR exchange, which lowers the cost of integration and widens the pool of engineers able to do it.
Search across any server. Every resource type has defined search parameters, which means a client can ask for a patient's observations within a category and date range in the same way on any conformant server.
Discovery of server capabilities. Each server publishes a CapabilityStatement that describes the resources, interactions and search parameters it supports.
A way to extend and profile resources. FHIR expects to be adapted. Extensions add data elements that the base standard lacks, while profiles constrain a resource for a particular use by stating which elements are required, which terminologies must be used and which extensions apply. Profiles are gathered into implementation guides, of which US Core is a widely used example in the United States.
Related specifications build on it. SMART on FHIR defines how applications obtain authorized access to FHIR data using OAuth 2.0, including the launch of an app from inside an electronic health record. The Bulk Data Access specification defines an asynchronous export of large populations as newline-delimited JSON files and suits analytics and population health work better than calling the API for one patient at a time.
Taken together this covers a great deal, and it is far removed from building a point-to-point interface for every pair of systems.
What it leaves open
Optionality
In most base resources the majority of elements are optional. The standard was designed that way because it has to serve both a rural clinic and a research hospital in different countries. As a consequence "conformant to FHIR" guarantees little about which data is actually present. One system's Patient resource may carry three identifiers, a structured address and a telecom list. Another system's version carries a name and a birth date.
Profiles close this gap only when both sides implement the same profile at the same version and actually populate the elements it requires, which has to be established by testing because a vendor's statement will not show it.
Meaning
A coded element in FHIR can carry a code from any code system, whether that is LOINC for laboratory tests, SNOMED CT for clinical findings, ICD-10 for diagnoses, RxNorm for medications in the US or a hospital's own local list. The standard also defines resources for describing terminologies and the maps between them, but it leaves the mapping itself to you.
A lab result can therefore arrive as a perfectly valid Observation carrying a local code that means nothing outside the lab that issued it. Terminology mapping is clinical as well as technical work, because it needs people who know what the tests are, and it needs maintenance as the source systems add codes.
Identity
Many health systems, including that of the United States, have no universal patient identifier, so each organization issues its own record numbers. Deciding that two Patient resources from two sources refer to the same person is a matching problem that carries clinical risk in both directions, since a false match merges two people's histories and a missed match hides one person's allergies. FHIR provides a place to carry identifiers and an operation for requesting a match, while the matching logic, the thresholds and the review process for uncertain cases remain your responsibility.
Consent and access policy
FHIR includes a Consent resource, and SMART defines how an app is granted scopes, yet neither one determines your organization's policy. Questions such as which data can be shared for which purpose, how sensitive categories are segmented, what a patient has agreed to and what the applicable privacy law requires are policy decisions, and they have to be made, encoded and enforced in the systems that surround the API.
Versions and coverage
FHIR has several published releases. Release 4 is the most widely deployed and was the first to include normative content, meaning that parts of it are stable, and systems on different releases do not automatically interoperate. Many clinical systems also still use older HL7 standards, with version 2 messages for admissions, orders and results and CDA for documents, so a realistic architecture will include translation from those formats for a long time. On many products the FHIR APIs are also far more complete for reading than for writing.
Data quality
No standard can correct what was typed into the source system. Units written in free text, results attached to the wrong encounter, placeholder birth dates and duplicate records all pass through a FHIR API without change.
One blood test, two hospitals
Consider a regional hospital network formed from two hospitals that run different electronic health record systems, where clinicians want a single view of a patient's recent laboratory results across both sites. Since both systems expose FHIR Release 4 APIs, the project is planned as a short integration.
The first hospital returns a glucose result like this:
{
"resourceType": "Observation",
"status": "final",
"category": [{ "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory" }] }],
"code": { "coding": [{ "system": "http://loinc.org", "code": "2345-7", "display": "Glucose [Mass/volume] in Serum or Plasma" }] },
"subject": { "reference": "Patient/a-1042" },
"effectiveDateTime": "2026-03-02T07:40:00+05:30",
"valueQuantity": { "value": 99, "unit": "mg/dL", "system": "http://unitsofmeasure.org", "code": "mg/dL" }
}
The second hospital returns the same kind of test in this form:
{
"resourceType": "Observation",
"status": "final",
"code": { "coding": [{ "system": "urn:hospital-b:lab-codes", "code": "GLU-F" }], "text": "Glucose fasting" },
"subject": { "reference": "Patient/77310" },
"effectiveDateTime": "2026-03-04",
"valueQuantity": { "value": 5.5, "unit": "mmol/l" }
}
Both resources are valid FHIR, yet four problems appear once they share a chart.
- The two results use different codes. One uses LOINC and the other a local code, and without a map the software has no way to tell that the tests are comparable.
- The two results use different units. The values are roughly equivalent, but one is a mass and the other a molar concentration, so a trend line that plots 99 followed by 5.5 looks like an emergency. The second result also has no coded unit, which means that even detecting the difference requires string handling.
- They may belong to different patients. Patient/a-1042 and Patient/77310 might or might not be the same person, and nothing in these resources says which.
- The second has no category and only a coarse time. Because it lacks a laboratory category, a search by category will not return it, and because its date has no time, results cannot be placed in order around a treatment.
Fixing this takes a layer of engineering work that no configuration setting can replace. The network adopts one profile for laboratory observations that requires a LOINC code, a coded unit and a category. It builds a terminology map from the second hospital's local codes for laboratory staff to review, and reports unmapped codes daily so that none are dropped without notice. Units are converted only where the conversion is defined for that specific test, with the original value kept alongside. The network also stands up a patient index that applies deterministic matching on strong identifiers and probabilistic matching to the rest, with a work queue in which a person resolves the uncertain pairs. Finally, every incoming resource is validated against the profile, and failures are counted by source and by reason.
That final step amounts to a data contract, and it turns an unnoticed decline in quality into a report someone can act on. We make the broader argument in build data pipelines that fail loudly.
Planning around the gaps
Pin a profile and a version. Choose the implementation guide for your jurisdiction and state which version you use. That guide is the contract, so run a validator against real payloads from each source. Open-source validators and test servers are available and are worth using early. Upgrades deserve the same care as any other interface change, as we describe in API versioning without breaking your consumers.
Budget terminology as a standing function. Mapping never ends, so give it an owner with clinical authority, a tool for managing the maps and a regular report of unmapped codes.
Decide the identity model before the first query. That means settling who operates the patient index, what the match rules are and who reviews the uncertain cases.
Keep the original data. Store what the source sent next to the normalized form, so you can show both when a clinician questions a value.
Choose the exchange pattern deliberately. Per-patient API calls suit an app that sits in a clinician's workflow, and bulk export suits analytics. Events and subscriptions suit notifications, although product support for them is uneven. Version 2 feeds are often still the most dependable source of real-time admissions and results. All of this is ordinary systems integration discipline applied to clinical data, covering retries, idempotency, rate limits and monitoring.
Put a facade in front where it helps. When consumers need a consistent interface across sources, a well-designed FHIR facade becomes an exercise in API design, with normalization handled behind it in tested data engineering pipelines.
Questions to ask this quarter
- For each system that "supports FHIR", find out the release and implementation guide it follows and the resources it covers, as well as whether it allows writing or only reading. Ask for the CapabilityStatement rather than the brochure.
- Which single data flow would matter most to clinicians or to operations if it worked across systems? Start with that flow.
- Have you pulled real records from each source and validated them against your chosen profile, and if so, what failed?
- What share of the coded data from each source uses local codes, and who is able to map them?
- How are patients matched across sources today, and what happens to the uncertain matches?
- Which consent and privacy rules constrain this flow, and where in the design are they enforced?
- Who will own the interoperability layer after go-live, including the terminology maps?
FHIR is the right foundation and is worth adopting properly, provided you plan for it as the start of the interoperability work, with the rest of that work named and staffed. Our healthcare page describes how we approach the sector.



