Skip to content
Healthcare SoftwareEngineering

Interoperability

FHIR Integration Services

We build FHIR R4 integrations that hold up against real vendor endpoints: paging, partial resource coverage, throttling, and profiles that differ from the base spec.

FHIR integration: overview

FHIR (Fast Healthcare Interoperability Resources) models clinical and administrative data as resources such as Patient, Encounter, Observation, Condition, MedicationRequest, and DocumentReference, exchanged over RESTful HTTP with JSON or XML. Release 4 (version 4.0.1) is the version most US systems implement because federal certification and US Core are built on it. Profiles constrain resources for a context; US Core defines the minimum expectations for US systems and maps to USCDI data classes.

Working with FHIR in production looks different from reading the spec. Search results are paged through Bundle links, and some servers cap page sizes or time out on wide queries. _include and _revinclude support varies. Coded elements might carry LOINC in one system and a local code in another. A Subscription can stop firing after a server restart without any error on the client side. We design clients defensively and verify assumptions against each target server's CapabilityStatement.

On the server side, we build FHIR APIs for products that must expose data to partners, patients, or regulators, whether on open-source servers like HAPI FHIR or on managed services such as Azure Health Data Services, AWS HealthLake, or the Google Cloud Healthcare API. For certified health IT developers, that includes the 45 CFR 170.315(g)(10) standardized API criterion, tested with the ONC-recognized Inferno test kit, plus SMART authorization and Bulk Data export.

Engineering challenges in FHIR integration

  • 01Profile drift

    US Core versions change over time, and certification requirements move to newer versions on a schedule. A server that conformed to one version may fail validation against the next.

  • 02Uneven vendor coverage

    Two EHRs might both claim FHIR R4 support yet differ in which search parameters, write operations, and extensions they implement.

  • 03Pagination and throttling

    Large patient histories span many pages, and aggressive clients hit rate limits. Clients need backoff, resumable paging, and sensible _count values.

  • 04Event delivery

    FHIR R4 Subscriptions and the newer topic-based Subscriptions backport behave differently by server, and delivery is not always guaranteed. Missed notifications need reconciliation.

  • 05Identity across servers

    Resource IDs are server-local. Linking the same patient across sources requires business identifiers and matching logic, not resource IDs.

Technical capabilities

What our FHIR integration work covers

  • FHIR client engineering

    Clients that read CapabilityStatements, handle paging and includes, respect rate limits, and map server responses into a canonical model with provenance.

  • FHIR server implementation

    APIs on HAPI FHIR or managed cloud FHIR services with US Core profiles, search parameters, and SMART-protected endpoints.

  • Bulk Data export and ingest

    FHIR Bulk Data Access ($export at system, group, or patient level) producing NDJSON, with incremental _since exports and ingestion into a warehouse.

  • Certified API delivery

    Engineering support for the (g)(10) standardized API, including SMART App Launch, Bulk Data, US Core conformance, and Inferno test runs, for health IT developers pursuing certification.

  • Subscriptions and eventing

    Subscription setup with REST-hook delivery, heartbeat monitoring, and periodic reconciliation queries to detect missed notifications.

  • Validation and profiling

    Profile authoring with FHIR Shorthand (FSH) and SUSHI, implementation guide publishing, and validation in CI using the HL7 FHIR validator.

  • Terminology services

    ValueSet expansion and ConceptMap translation for LOINC, SNOMED CT, RxNorm, and ICD-10-CM, with licensing handled for restricted code systems.

Software architecture

Reference architecture for FHIR integration

A FHIR platform separates the API surface from storage, terminology, and authorization so each can evolve.

  1. API surface
    • FHIR REST endpoints
    • Bulk $export
    • Subscriptions
    • CapabilityStatement
  2. Authorization
    • SMART authorization server
    • Scope enforcement
    • Backend Services keys
  3. Data services
    • FHIR store
    • Profile validator
    • Terminology server
    • Provenance
  4. Ingestion
    • v2-to-FHIR mapping
    • C-CDA conversion
    • Bulk loaders
  5. Consumers
    • Apps
    • Partners
    • Analytics
    • Patient access
Illustrative layering; actual architecture is decided per engagement and documented in decision records.

Technology stack for FHIR integration

Servers
HAPI FHIRAzure Health Data Services FHIR serviceAWS HealthLakeGoogle Cloud Healthcare API FHIR store
Specifications
FHIR R4 (4.0.1)US CoreBulk Data AccessSMART App Launch 2.xSubscriptions backport
Tooling
HL7 FHIR validatorSUSHI / FSHInfernoTouchstone
Libraries
HAPI FHIR client (Java)Firely SDK (.NET)fhir.resources (Python)TypeScript FHIR types
Terminology
LOINCSNOMED CTRxNormICD-10-CMCPT (AMA license required)

Security & compliance

Security and compliance considerations for FHIR integration

What regulations require

  • ONC certification criterion 45 CFR 170.315(g)(10) requires a standardized API for patient and population services that supports US Core, SMART App Launch, and FHIR Bulk Data for multiple patients.
  • ONC information blocking rules (45 CFR Part 171) treat practices that are likely to interfere with access, exchange, or use of EHI as potential information blocking unless an exception applies.
  • The HIPAA Privacy Rule gives individuals a right of access to their PHI in a designated record set (45 CFR 164.524), which patient-facing FHIR APIs often help fulfill.

Recommended engineering practices

  • Enforce SMART scopes at the resource and operation level on the server, not only at the gateway.
  • Validate every write against declared profiles and reject non-conformant resources with an OperationOutcome.
  • Audit-log each request using FHIR AuditEvent or an equivalent structured log.
  • Expire Bulk export files promptly and protect download URLs with short-lived access tokens.
  • Use only HIPAA-eligible cloud services under a signed BAA for any FHIR store holding PHI.

Regulatory summaries are educational, not legal advice. HIPAA compliance is an organizational program; software can support safeguards but cannot by itself make an organization compliant. Systems that handle PHI need their own risk analysis, vendor evaluation, and Business Associate Agreements before deployment.

Integration capabilities

Integrations we engineer for FHIR integration

  • Epic, Oracle Health, MEDITECH, athenahealth, eClinicalWorks FHIR APIs
  • Payer Patient Access and Provider Directory APIs
  • Bulk FHIR $export
  • SMART App Launch and Backend Services
  • CDS Hooks
  • HIE FHIR endpoints
  • Azure, AWS, and Google Cloud FHIR services

Engineering methodology

How we approach FHIR integration

  1. 1

    Use case and resource mapping

    We map each requirement to FHIR resources, profiles, and search parameters, and check target servers' CapabilityStatements.

  2. 2

    Profile and validation setup

    We define or adopt profiles, configure validation in CI, and create synthetic test data with tools like Synthea.

  3. 3

    Implementation

    Client or server code with paging, error handling, and authorization built in from the first iteration.

  4. 4

    Conformance testing

    We run Inferno and custom test suites, fix gaps, and document known limitations.

  5. 5

    Operate and monitor

    Latency, error rates, and Subscription heartbeats are monitored, with reconciliation jobs for missed events.

Business use cases

Where FHIR integration delivers value

  • Certified API for an EHR vendor

    A specialty EHR developer implements US Core resources, SMART launch, and Bulk export to meet (g)(10) and tests with Inferno.

  • Multi-EHR data aggregation

    A care management platform reads clinical data from several EHRs' FHIR APIs into a unified, provenance-tagged model.

  • Payer data exchange

    A health plan exposes patient access and provider directory APIs aligned with CMS interoperability rules.

  • Research data pipeline

    A research organization ingests Bulk FHIR exports into a de-identified warehouse under its approved protocols.

Technical comparison

FHIR interaction patterns
PatternMechanismStrengthWatch out for
RESTful read/searchGET with search parametersSimple, on-demandPaging, throttling, uneven parameter support
Bulk Data$export kick-off, poll, NDJSON downloadPopulation scaleAsynchronous; hours of latency
SubscriptionsREST-hook notificationsNear-real-time updatesMissed events; needs reconciliation
MessagingBundle of type messageEvent semantics like v2Limited adoption in the US
CDS HooksHook request with prefetchPoint-of-care integrationStrict latency budget

Typical deliverables

What a FHIR integration engagement produces

  • Resource and profile mapping document
  • FHIR client or server implementation
  • Implementation guide or profile package
  • Validation and conformance test suite
  • Inferno test results where applicable
  • Bulk ingestion pipeline
  • Operations dashboards and runbooks

Cost and timeline factors

What shapes FHIR integration cost and timeline

  • Client, server, or both
  • Number of resources and profiles in scope
  • Certification requirements and test effort
  • Number of external FHIR servers to support
  • Bulk data volume and refresh frequency
  • Terminology licensing and mapping effort

Typical timeline

A read-only client for a handful of resources against one server can land in weeks. A certified (g)(10) API or a multi-source aggregation platform typically spans multiple quarters, including conformance testing cycles.

Read the cost guide

FHIR integration FAQs

What is US Core?

US Core is an HL7 FHIR implementation guide that defines minimum constraints on FHIR R4 resources for use in the United States. It aligns with USCDI data classes and is referenced by ONC certification. Different certification timelines reference specific US Core versions, so check which version applies to your product.

What is Bulk FHIR?

The FHIR Bulk Data Access specification lets a client request data for all patients, a group, or a system via the $export operation. The server prepares NDJSON files asynchronously, and the client polls a status URL and downloads results. It typically uses SMART Backend Services for authorization.

Which FHIR server should we use?

HAPI FHIR gives full control and runs anywhere. Managed services from Azure, AWS, and Google reduce operational load but differ in feature support and pricing. Choose based on required operations, profile validation needs, scale, and whether your team wants to operate a database-backed Java service.

How do we test FHIR conformance?

Use the HL7 FHIR validator against your profiles in CI, and run the Inferno test kit, which ONC uses for (g)(10) testing. Add tests for your own behavior, such as paging, error responses, and authorization failures, because conformance tests do not cover every production scenario.

Discuss your healthcare engineering project

Tell us about the system, the integrations it depends on, and the constraints you are working within. A senior engineer will review it and reply with questions, not a sales script.