Key takeaways
- FHIR models health data as resources with a defined structure and a URL.
- Data is exchanged with RESTful HTTP calls (GET, POST, PUT, DELETE), usually in JSON.
- R4 is the most widely implemented release; R5 was published in 2023.
- SMART on FHIR adds OAuth 2.0-based authorization for apps.
- Implementation guides such as US Core constrain FHIR for real-world use.
What is HL7 FHIR?
FHIR is a specification from HL7 International that combines lessons from earlier HL7 standards with common web technologies: HTTP, REST, JSON, XML, and OAuth. Its goal is to make health data exchange easier to implement without giving up clinical meaning.
The core idea is the resource: a small, reusable unit of health data with a defined set of elements, a type, and a unique identifier. Resources link to each other—an Observation points to the Patient it belongs to and the Encounter in which it was recorded.
What are the most common FHIR resources?
The base specification defines well over a hundred resource types. These are the ones students and developers meet first:
| Resource | Represents |
|---|---|
| Patient | Demographics and identifiers for a person receiving care |
| Practitioner | A clinician or other healthcare professional |
| Organization | A hospital, clinic, payer, or other organization |
| Encounter | An interaction such as a visit or admission |
| Observation | Measurements and findings: vital signs, lab values, survey answers |
| Condition | A diagnosis, problem, or health concern |
| MedicationRequest | An order or prescription for a medicine |
| AllergyIntolerance | An allergy or intolerance and its reactions |
| DiagnosticReport | A report grouping results, such as a lab panel or imaging report |
| Immunization | A vaccine administered or reported |
How does the FHIR REST API work?
Each resource type has its own endpoint on a FHIR server. Clients use standard HTTP verbs to read, search, create, and update resources:
| Interaction | HTTP request | Purpose |
|---|---|---|
| read | GET [base]/Patient/123 | Fetch one resource by ID |
| search | GET [base]/Observation?patient=123&category=vital-signs | Find resources matching criteria |
| create | POST [base]/Observation | Add a new resource |
| update | PUT [base]/Condition/456 | Replace an existing resource |
| history | GET [base]/Patient/123/_history | See prior versions |
Search results come back as a Bundle resource—a container holding the matching resources plus paging links.
How does FHIR compare with HL7 v2 and CDA?
| Standard | Format | Typical use |
|---|---|---|
| HL7 Version 2 | Pipe-delimited messages | Event messages inside hospitals: admissions (ADT), orders, results |
| CDA / C-CDA | XML documents | Clinical documents such as discharge summaries and continuity-of-care records |
| FHIR | Resources over REST (JSON/XML) | APIs for apps, patient access, and system-to-system exchange |
What are SMART on FHIR and US Core?
Together, these explain how a patient can connect an app to their provider's record. For the bigger picture of what an EHR stores, read What is an electronic health record?.
- SMART on FHIR
- A set of open specifications that use OAuth 2.0 and OpenID Connect so third-party apps can launch from an EHR or patient portal and access FHIR data with the user's permission.
- Implementation guide (IG)
- A document that constrains and extends base FHIR for a specific use, such as which elements are required.
- US Core
- The HL7 implementation guide that defines minimum FHIR requirements for U.S. data exchange, aligned with USCDI data classes.
Which FHIR version should you learn?
Release 4 (R4), published in 2019, introduced the first normative (stable) content and is the version most production systems and national implementation guides use. Release 5 (R5) followed in 2023. If you are studying for practical work, start with R4 and US Core, then review what changed in R5.
A FEW QUICK ANSWERS
Common questions
What does FHIR stand for?
Fast Healthcare Interoperability Resources. It is pronounced like the word "fire".
Is FHIR a replacement for HL7 v2?
Not entirely. HL7 v2 remains widely used inside hospitals. FHIR is increasingly used for APIs, apps, and new integrations, and the two often coexist.
Does FHIR use JSON or XML?
Both are supported, along with RDF. JSON is the most common choice for web and mobile apps.
CHECK THE ORIGINAL GUIDANCE
Sources
- FHIR OverviewHL7 International
- FHIR RESTful APIHL7 International
- SMART on FHIRSMART Health IT, Boston Children's Hospital
- US Core Implementation GuideHL7 International
This guide was last reviewed against its sources on November 14, 2026. Source dates are shown where available.
