Skip to content

Free guide

Read an EHR interface as a contract

Healthcare interoperability means two systems can exchange data and interpret it consistently. Document exactly which standard, version, fields and actions the receiving system supports.

Why it matters

A vendor may support reading appointments while allowing no encounter writes. A broad promise of “FHIR support” gives a project manager too little information to scope the work.

Core concepts

Different shapes of exchange

HL7 v2 messages commonly announce events between systems. FHIR describes resources such as Patient, Encounter and Observation, with references that connect them. A FHIR server’s CapabilityStatement gives a starting point for supported operations, searches and versions. Contracted access, scopes and workflow rules still need verification.

Meaning lives in the mapping

Specify code system, display, unit, status, event time, recorded time, identifier namespace, authorship and treatment of missing values. For FHIR R4 Observation, identify the subject and when the measurement applied. A local source might correct an earlier result; agree how amendments and entered-in-error events reach the destination.

Certification has a scope

The HTI-1 Final Rule adopted USCDI v3 as the baseline for the ONC Health IT Certification Program on January 1, 2026. USCDI defines data classes and elements. A vendor’s profile, implementation guide and supported transactions govern what your particular connection can do.

Try it step by step

  1. Ask which workflow is authoritative for each decision: scheduled, seen, signed, cancelled, corrected and billed.
  2. Review capabilities, profile versions, read/write scope, sample payloads and correction behavior. Make a contract test for each assumption.
  3. Have clinical staff review the destination display and interpretation of synthetic fixtures. Compare it with the source meaning and record discrepancies.

Write a mapping grid with source meaning, target resource/element, required units, allowed states, version, owner and failure handling.

Worked example

Hypothetical example. A scheduling API indicates “arrived” while the clinician has not signed the visit. A reporting job equating arrival with completion would overcount. The interface contract identifies the authoritative signed encounter event and defines what happens when a signature is withdrawn.

Common mistake

Signing off after receiving HTTP 200 without asking a clinician whether the displayed result means the same thing in the destination.

Practice exercise

Map a fictional weight measurement into an R4 Observation. Mark the fields that establish the person, units, effective time and device. Identify one required field in your target profile that the base specification leaves optional.

Check your understanding

What is the best first check for supported FHIR search operations?

  1. The server’s CapabilityStatement and the vendor’s applicable access terms
  2. The marketing page that mentions FHIR
  3. The presence of a Patient resource alone
Show answer

The server’s CapabilityStatement and the vendor’s applicable access terms. Capabilities, current access and vendor implementation details define what a connected client can actually use.

Takeaway

Verify what the recipient can do with the meaning of the data.

Further reading

Browse more lessons