Most US payers covered by CMS-0057-F must have FHIR APIs for provider access, payer-to-payer exchange and prior authorization live by January 1, 2027. Hospitals, meanwhile, will keep sending admissions, orders and results over HL7 v2 and referrals as C-CDA documents, because none of the main healthcare interoperability standards has retired the others. A product built on one standard will either miss hospital workflows or end up rebuilding its integration layer.
The short answer
- For a new product, FHIR R4 with US Core and SMART on FHIR is the usual default for app and API integration.
- HL7 v2 is still essential for real-time hospital events (ADT, orders, results); C-CDA still carries clinical documents and transitions of care.
- Pick standards by actors, workflow, freshness and target endpoints, then design identity, terminology, provenance and security separately.
- Standards conformance is not regulatory compliance; HIPAA, CMS-0057-F, TEFCA and the EU EHDS apply by role and date.
Key takeaways
- HL7 v2, C-CDA and FHIR coexist; each serves a different workflow, and none has made the others obsolete.
- FHIR R4 with US Core and SMART on FHIR is the default for new app and API integration in the US.
- A shared FHIR version guarantees nothing; profiles, searches, write support and tenant configuration decide what works.
- CMS-0057-F payer API requirements apply from January 1, 2027; EHDS obligations in the EU phase in over several years.
- Standards conformance does not establish HIPAA, GDPR or EHDS compliance; obligations follow your legal role.
What are healthcare interoperability standards, and how do HL7 v2, CDA and FHIR differ?
Healthcare interoperability standards are shared rules for moving clinical and administrative data between systems and agreeing on what that data means. An integration works only when four layers line up:
- Connectivity: the bytes arrive (MLLP over TCP, HTTPS, a VPN, an HIE network).
- Syntax: the receiver parses the structure (v2 segments, CDA XML, FHIR JSON).
- Semantics: both sides read the same clinical meaning (LOINC for lab tests, SNOMED CT for findings, UCUM for units).
- Workflow: the data lands at the right moment, for the right patient, and triggers the right action.
Most failures happen in the last two layers. A message that parses cleanly can still attach a potassium result to the wrong patient after a record merge, or report mg/dL to a receiver that expects mmol/L. Parsing proves syntax. Nothing more.
HL7 International maintains several separate standards, not sequential versions of one protocol. A contract that says “we support HL7” needs three follow-up answers: which standard, which version and which implementation guide.
CDA derives from the v3 modeling approach. It is not a v2 message rewritten in XML.
Is HL7 v2 obsolete, or should a new product still support it?
HL7 v2 is not obsolete, and any product that needs real-time hospital events should plan to support it. Versions 2.3.1 and 2.5.1 still run in a large share of deployed hospital interfaces (site counts, not published surveys, are the usual evidence), carrying ADT^A01 (admission), ADT^A03 (discharge), ADT^A08 (patient update), ADT^A40 (patient merge) and ORU^R01 (observation results).
A v2 message is delimiter-separated text (pipes, carets, tildes) organized into segments: MSH for the header, PID for the patient, PV1 for the visit, OBR and OBX for orders and observations.
Local variation is the catch. Custom Z segments, repurposed fields and site code tables mean two hospitals on “v2.5.1” can send structurally different messages. Plan on writing an interface specification for each site.
Production v2 handling needs explicit logic for:
- Duplicates and retries, keyed on the message control ID
- Out-of-order delivery, replay after downtime and negative acknowledgements
- Patient merges, corrected results and late-arriving results
An ACK confirms receipt or application acceptance, depending on the mode. It does not prove the downstream clinical workflow completed. MLLP provides framing only, not encryption, so run it inside a VPN or TLS tunnel.
How do C-CDA documents, FHIR documents and DocumentReference differ?
A CDA document is an authenticated, persistent clinical record with a header, context and body. A FHIR document expresses the same idea as a Composition inside a document Bundle. A DocumentReference is only metadata and a pointer to a document. Treating them as interchangeable loses data.
C-CDA is the US implementation guide family for CDA, and the Continuity of Care Document (CCD) is one document type inside it. C-CDA still carries referrals, discharge summaries and transitions of care in certified health IT. FHIR APIs have not removed that traffic.
When a FHIR API returns a DocumentReference pointing to a C-CDA, nothing has been converted into discrete Observations or Conditions. If you convert it yourself, expect a lossy mapping. Narrative text, negation (“no known allergies”), document status, authorship, confidentiality codes, effective times and uncoded entries all need explicit rules. Keep the original document.
Why doesn't a shared FHIR R4 version mean plug-and-play?
FHIR is a framework, not one universal API, so two systems on FHIR R4 can still disagree on nearly everything that matters. A working agreement pins down the implementation guide, profiles, supported resources, search parameters, operations, authorization model and how missing data is signaled.
- Profiles constrain base resources with cardinality, required elements, terminology bindings and slicing.
- Extensions add data, but both sides must agree on how to read them.
- MustSupport means whatever the specific guide says it means. It is not a mandatory field.
- CapabilityStatement lists what a server claims, not what is populated, writable or enabled for every patient.
Test searches directly: supported parameters, pagination, _include behavior, result limits, update lag and error responses. A resource listed in the CapabilityStatement may still lack the one search you need.
USCDI, US Core, SMART on FHIR and Bulk FHIR
These four names answer different questions, and mixing them up produces bad requirements documents.
SMART scopes do not replace server-side policy. Your backend still validates tokens, enforces patient and user access, isolates tenants and logs decisions. FHIR Subscriptions exist for event notification, but maturity varies by version and server, so pair any push design with periodic reconciliation.
R4, R4B or R5
Use FHIR R4 as the baseline: US certification, US Core and most EHR APIs build on it, and R4B and R5 change resources in ways that break naive compatibility. Adopt R5 only where a partner, guide or feature (such as the reworked Subscriptions model) requires it, behind its own adapter, validation and tests. Before any upgrade, run both versions in parallel for a transition period.
Which standard should you use to integrate with Epic, Oracle Health or another EHR?
For most new products, start with FHIR R4 plus SMART on FHIR for app and API work, add HL7 v2 feeds for real-time hospital events, and accept C-CDA where documents are the unit of care. Epic, Oracle Health, MEDITECH and athenahealth all expose FHIR APIs, but resource coverage, write support, scopes, rate limits and fees vary by vendor, module, tenant and contract.
Settle these questions before picking a standard:
- Who are the actors: patient, clinician, payer, researcher or backend service?
- Which direction does data flow, and do you need to write back?
- How fresh must the data be: seconds, hours or a nightly batch?
- Which production endpoints must you reach, in which jurisdictions, under which data-use rights?
Vendor sandboxes help during development, but they routinely differ from production in enabled modules, custom fields, permissions and volume. Run discovery against the customer’s real tenant before you commit.
Some workflows sit outside the big three. Imaging runs on DICOM and DICOMweb, claims and eligibility on X12, e-prescribing on NCPDP SCRIPT. IHE profiles (XDS, XCA, MHD, PIXm, PDQm, ATNA) package standards into implementable workflows. Pharma products often add CDISC ODM and SDTM for research data alongside point-of-care standards.
What do US and EU interoperability rules require from a health product?
Obligations follow your legal role, not your choice of standard. In the US, the ASTP/ONC certification criterion 45 CFR 170.315(g)(10) requires standardized FHIR APIs from certified health IT, and the HTI-1 rule made USCDI v3 the data baseline for certification from January 1, 2026.
CMS-0057-F splits its deadlines. Impacted payers (Medicare Advantage, Medicaid and CHIP programs, and qualified health plans on the federal exchanges) had to meet new prior authorization decision timeframes from January 1, 2026. The FHIR API requirements, covering Provider Access, Payer-to-Payer and Prior Authorization APIs plus an expanded Patient Access API, apply from January 1, 2027.
Information-blocking rules apply to defined actor categories, with exceptions. TEFCA sets governance for network exchange through QHINs; it is not a single FHIR endpoint. Privacy is a separate question: HIPAA does not cover every consumer app, and the FTC Health Breach Notification Rule or state laws may apply instead. Conforming to FHIR, CDA or v2 proves nothing about HIPAA or GDPR compliance.
In the EU, the European Health Data Space Regulation (EU) 2025/327 entered into force in March 2025 and phases in obligations for EHR systems, primary use and secondary use over several years, with staggered dates by data category. Implementing acts and the European EHR exchange format are still being specified, and national systems differ. Do not plan for one uniform European FHIR API.
Dates in both jurisdictions shift with rulemaking. Check the current rule text for your actor category before you commit a roadmap.
How should you build, run and secure integrations after launch?
Most teams end up with a mix: an internal canonical model, adapters per standard, an integration engine for v2-heavy sites, and an aggregator or network for broad record retrieval.
Vendor names in this table are examples, and the market changes quickly; check licensing terms and network status at selection time. Keep the core domain model independent of any wire format, and push partner-specific fields into adapters.
Identity. An MRN means something only inside its assigning system. Store identifiers as system plus value, handle ADT^A40 merges and Patient.link, and send uncertain matches to human review instead of auto-linking.
Terminology and provenance. Preserve the original code, display text, system, version, units and mapping provenance. NDC identifies packaged products and is not interchangeable with RxNorm clinical drugs. Never silently swap a local code for an approximate standard concept. Keep the raw inbound payload, receipt time, source IDs and mapping version under governed retention.
Write-back. Most production EHR APIs are read-heavy and restrict which resources and fields accept writes. Technical write support does not make a clinical workflow safe, so confirm validation, error handling and workflow ownership with each customer.
- Testing: missing identifiers, unknown codes, corrected results, cancelled orders, document replacements, merges, duplicates and outages. The HL7 FHIR Validator, HAPI FHIR and Inferno help, but partner validation in production decides go-live.
- Security: TLS or mutual TLS, least-privilege scopes, tenant isolation, managed secrets. Keep PHI out of logs, traces, search URLs, error reports and replay queues.
- Monitoring: end-to-end latency, ACK and API failure rates, queue depth, replay success, terminology exceptions and reconciliation gaps.
If you plan to add AI on top of the integrated data, our guide to integrating AI into EHR software covers what the data layer must provide first.
FAQ
Is FHIR replacing HL7 v2?
Not in the near term. FHIR leads new API and app integration, while HL7 v2 remains the workhorse for real-time hospital events such as admissions, orders and results.
What is the difference between HL7 and FHIR?
HL7 International is the organization; FHIR is one of its standards. HL7 v2, CDA and FHIR are separate standards with different data models and uses.
What is the difference between USCDI and US Core?
USCDI defines which data elements US systems should exchange. US Core defines the FHIR R4 profiles and API rules for representing that data.
Can I write data back to Epic or Oracle Health through FHIR?
Sometimes, for specific resources and workflows. Write support varies by vendor, module and customer configuration, so confirm it per production tenant before designing around it.
Does using FHIR make my app HIPAA compliant?
No. FHIR is a data-exchange standard. HIPAA compliance depends on your role, safeguards, contracts and policies, and some consumer apps fall under FTC and state rules instead.
Is C-CDA to FHIR conversion lossless?
Generally not. Narrative, negation, authorship, status and uncoded entries need explicit mapping rules, so keep the original document alongside any converted resources.
Artezio builds HL7 v2, FHIR and C-CDA integrations for health and pharma products, from adapter architecture to production monitoring. See our EHR software development and software integration and customization services.












