USCDI (United States Core Data for Interoperability) is the list, published by ONC, of data classes and elements that certified health IT must be able to exchange. FHIR R4 is the API standard that carries them. US Core, an HL7 implementation guide, connects the two by mapping every USCDI element to a FHIR resource, field and terminology binding. USCDI names the data, FHIR moves it, and US Core says where each element sits in the payload.

Teams usually meet this trio when a certification requirement or a partner contract says "support USCDI" and someone asks which endpoint that means. At the API level, USCDI on its own specifies nothing. When we built a FHIR R4 platform covering USCDI v3, the requirement turned into concrete work. It meant US Core 6.1.0 conformance across forty-two resource providers, a terminology service for the required code systems and search parameters for the full US Core set.

What USCDI is

USCDI is a policy document. ONC publishes it in versions, and each version adds data classes. They include demographics, problems, medications, allergies, immunizations, lab results, clinical notes and procedures. Newer classes cover health insurance information and patient goals. Every class contains elements, and every element names a vocabulary: LOINC for labs, SNOMED CT for problems, RxNorm for medications, ICD-10 for diagnoses.

Engineers should know two things about it. USCDI sets a minimum, and real integrations often need more. And it says nothing about format: one USCDI element can travel in a FHIR resource, a C-CDA document or a flat extract. Certification rules decide which standard applies where, and for API access that is FHIR R4 shaped by US Core.

What FHIR adds

FHIR supplies everything USCDI leaves open: the resource model, REST semantics, search, operations, bundles. A USCDI medication becomes a MedicationRequest with a status, an intent, a subject reference and an RxNorm coding. A lab result becomes an Observation with a LOINC code, a value and a category. The class names sound like database tables, but the engineering constraints live in the resources.

FHIR also adds what makes exchange work day to day. OAuth scopes limit which resources an app may read. Capability statements show what a server supports. Bulk Data handles export for whole populations. USCDI mentions none of this. The certification criteria that cite USCDI mention all of it, so "we support USCDI" and "we have a certifiable FHIR API" are two different claims.

USCDI data classes mapped through US Core profiles to the FHIR R4 resources that carry them
Left: USCDI data classes. Middle: US Core profiles with their bindings. Right: the FHIR R4 resources that carry them.

US Core as the bridge

US Core is the document your engineers will keep open. For each USCDI data class it defines a profile: the FHIR resource that carries it, the fields marked must-support, the required terminology bindings and the search parameters a server has to implement.

Profiles are stricter than base FHIR exactly where interoperability tends to fail. Base FHIR accepts a Patient without an identifier; US Core does not. Base FHIR accepts an Observation coded in any system; US Core requires LOINC for laboratory results. Because of that strictness, a client written against US Core works with any conformant server, including servers it was never tested on.

Version pairing causes the most rework. Each US Core version implements one USCDI version, and certification rules fix specific pairs. Building US Core profiles from one release against USCDI requirements from another shows up at certification time, the worst moment to find it. Check the pair before the first resource provider is written.

Versions: USCDI, US Core, FHIR

Versions: USCDI, US Core, FHIR
Artifact Published by Versioning behavior What a version changes
USCDI ONC Yearly expansion (v1, v2, v3, v4 and on) The required data classes and elements
US Core HL7 Follows USCDI versions with a lag Profiles, must-support fields, bindings, search parameters
FHIR HL7 Major releases (R4 stable, R5 newer) The resource model and the API

FHIR R4 is the stable base today: certification rules reference it, and R5 has not reached US regulation. On our platform we run R4 with a few R5 backports, subscription topics among them, exposed as extensions. That keeps the server on the version partners use while it follows where the standard is going.

Where builds go wrong

The first mistake is treating the mapping as one-to-one. Data classes spread across several resources, and one resource can carry elements from several classes. A data model built on "one class, one resource" ends up working against US Core, so take the profile set as the map.

The second is skipping the terminology service. Without server-side ValueSet expansion and code validation, every consumer ships its own subsets of LOINC, SNOMED CT and RxNorm, and within a quarter those copies disagree. We saw that drift on the platform before expansion and validation were built into the server.

The third is validating against base FHIR. A payload can be valid R4 and still break every US Core constraint that counts. Conformance tests have to run against the profiles and against the search parameter requirements; teams tend to forget the search half until a partner's queries come back empty.

The fourth is forgetting what happens after the API. Data that arrives over FHIR still lands somewhere: an aggregation layer for internal consumers or a warehouse that keeps history. The contract discipline US Core enforces at the edge is worth keeping inside too, with one typed contract and source quirks handled at the boundary. Our clinical data aggregation hub follows that design, and the aggregation platform article explains why such a hub sits naturally behind a FHIR surface.