Recent Posts
Epic, Oracle Health, athenahealth and MEDITECH all expose clinical data through FHIR R4 APIs secured with SMART on FHIR, which makes the first successful sandbox call the easy part of any FHIR API integration. Getting from that call to live data at a paying hospital takes far longer, and the delay comes from data mapping, write-back rules, patient matching and per-customer activation, not from the HTTP requests.
The short answer
Key takeaways
FHIR API integration connects your application to an EHR’s FHIR server so it can read, and sometimes write, clinical data as standardized resources. SMART on FHIR is the layer that decides who may do that and in which context.
HL7 FHIR defines resources such as Patient, Encounter, Observation, Condition, MedicationRequest, DiagnosticReport, DocumentReference and Immunization, plus references between them, search parameters, operations and REST interactions. Each EHR exposes these at its own base URL, often a different one for every customer.
Here is what FHIR does not give you:
The SMART App Launch Implementation Guide fills the first gap. It adds OAuth 2.0 authorization, launch context (which patient, which user), discovery through the server’s .well-known/smart-configuration document, scopes and optional OpenID Connect identity. A valid access token gets you in the door. It says nothing about whether the data behind it fits your product.
Versions matter less than teams expect, but version support still varies more than they’d like: check it per endpoint, not per vendor. FHIR R4 is the common baseline; R4B and R5 exist. In the US, US Core profiles constrain R4 around USCDI, which is a list of required data elements, not a FHIR schema. US Core is not a baseline for EU deployments.
One more trap: a Must Support flag does not mean every record contains that element. Data can still be absent or carry a data-absent reason.
Teams that code first end up rebuilding when the first customer’s data doesn’t match the sandbox. A usable data contract answers five questions for each workflow:
patient, category, code, date and status, plus any _include you rely on.Then pull the CapabilityStatement from every target endpoint and diff it against the contract. Treat it as a claim, not proof: advertised capability does not show production behavior, and it does not show that your app will be granted access.

The three SMART patterns differ in who starts the session and where patient context comes from. Pick the wrong one and you will rework the authorization layer.
| Pattern | Who starts it | Patient context | Client authentication | Typical use |
|---|---|---|---|---|
| EHR launch | Clinician inside the EHR | Supplied by the EHR via launch, returned with the token |
Public client with PKCE, or confidential client | In-chart tools, decision support |
| Standalone launch | User outside the EHR | Established during authorization (e.g. launch/patient) |
Public client with PKCE, or confidential client | Patient apps, care-team apps opened directly |
| SMART Backend Services | A server, no user | None; defined by system scopes | Signed JWT client assertion, keys via JWKS | Scheduled syncs, population workflows |
In an EHR launch, the EHR opens your app with iss and launch parameters. Your app fetches the SMART configuration from that issuer, redirects the user to the authorization endpoint, exchanges the returned code at the token endpoint, and receives an access token plus context such as the patient ID.
The non-negotiables: exact redirect-URI registration, a state value, PKCE with S256, an issuer allowlist (never trust an arbitrary iss) and a correct aud. Browser-only and native apps are public clients and cannot protect a reusable secret, so don’t ship one. Tokens, launch context and PHI never go into ordinary application logs.
Backend Services is for system-to-system work. It is not a way to implicitly inherit a clinician’s permissions, and each customer has to provision the system scopes explicitly.
The prefix defines whose access you request: patient/ limits access to the patient in context, user/ covers what the signed-in user can see, and system/ authorizes a backend with no user or patient.
SMART 1.x uses patient/Observation.read; SMART 2.x uses capability letters like patient/Observation.rs (read and search) and, where supported, granular scopes narrowed by category. Request what each vendor declares. Translating scopes mechanically between versions is a common source of silent denials.
openid and fhirUser identify the user, launch and launch/patient request context, and online_access or offline_access govern refresh tokens. Two distinctions trip up product teams: the authenticated practitioner is not the patient whose chart is open, and an OAuth scope is not a legal consent record. Record consent separately.

No. Vendor approval makes your app eligible for production; each health system still decides whether to switch it on, which scopes to grant and how to configure it. Budget that step per customer, because it runs through their security review, their analysts and their change calendar.
Work starts with the Epic on FHIR developer documentation, developer registration, sandbox testing and app registration. After that, three separate gates apply, and teams regularly confuse them:
Requirements differ by app category and by the APIs you call, and Epic revises its programs. Plan from the current Epic on FHIR and Showroom documentation. An App Orchard checklist from an older project describes a program Epic has since replaced, so don’t reuse it.
Oracle Health integration targets Millennium-based environments through Oracle Health’s current developer program, with tenant-specific endpoints and per-customer configuration. The standards match Epic’s; the registration path, process and commercial terms do not. Legacy Cerner documentation still helps with technical behavior, but confirm approval and commercial details against current Oracle Health sources, since the program changes often.
athenahealth, MEDITECH Expanse, Veradigm, NextGen Healthcare and eClinicalWorks each have their own API coverage, developer program, testing procedure and activation requirements. No single approval unlocks FHIR across vendors, so plan a separate onboarding track for every EHR on your roadmap.
Test every failure mode you can provoke. The sandbox only proves behavior against synthetic data; it cannot show production completeness, customer terminology, patient-matching quality, throttling, write-back policy, downtime behavior or workflow fit.
A test plan that holds up in vendor review covers:
Inferno, the HL7 FHIR Validator, HAPI FHIR, Firely tooling and Touchstone help with conformance. Passing them is useful evidence, not a substitute for vendor review, customer-integrated testing, security assessment or clinical validation.
Each environment proves something different. The sandbox proves your protocol handling. The customer’s test environment proves their configuration and data shape. A limited production pilot proves volume, timing and whether clinicians actually use the thing.
Servers differ in search support and paging, and organizations differ in how they code and record data. Most FHIR data mapping rework traces back to a handful of mistakes:
next links. Page size, _count, _include, sorting and chained searches vary by server, so keep queries bounded.If you normalize into a canonical model, store the source resource and unmapped extensions next to it. When a clinician asks six months later why a value looks wrong, you need the original.
Read support does not imply write support. Create, update, patch, conditional operations, transactions, Provenance requirements and validation rules vary by API and by customer, and many organizations require clinical review before external data enters the chart. Design FHIR write-back last, once you know each target’s rules.
The classic production bug: a create times out, the client retries, and the patient now has two identical results. Use conditional create where supported, or check for the record before retrying.
Match the delivery pattern to the job. FHIR REST suits on-demand reads for one patient. HL7 v2 feeds remain the workhorse for ADT and results events. FHIR Subscriptions and vendor event feeds push notifications where available, but support is uneven. Bulk FHIR $export returns asynchronous NDJSON for population data and fits poorly with low-latency needs. CDS Hooks trigger decision support inside the clinician workflow.

Integrate directly when you serve one or two EHRs and need full clinical detail. Use a platform when breadth across many EHRs matters more than fidelity. Most mature products end up hybrid.
| Factor | Direct connectors | Interoperability platform | Hybrid |
|---|---|---|---|
| Initial effort | High per EHR | Lower for breadth | Medium |
| Customer activation | Still required | Often still required | Still required |
| Clinical fidelity | Full vendor detail | Possible loss in canonical mapping | Full where it matters |
| Maintenance | One connector per EHR | Shifted to the vendor | Split |
| Dependency and cost | Your team | Added vendor and fees | Both |
Redox, Health Gorilla, InterSystems HealthShare and NextGen Connect (formerly Mirth Connect) solve different parts of the problem. None removes EHR-specific mapping, commercial agreements or customer activation entirely. A common split: direct Epic and Oracle Health connectors for the largest customers, a platform for the long tail. Building the direct side is classic software integration work: per-tenant configuration, mapping layers and monitoring.
There is no reliable universal number, and anyone quoting one without seeing your workflows is guessing. Plan by workstream: vendor onboarding and app review; engineering (authorization, data contract, mapping, error handling); customer security review and contracting; customer-integrated testing; pilot and rollout.
Engineering is rarely the long pole. Contracting, security questionnaires and customer test windows usually are, and they repeat for every health system. Cost scales with the number of EHRs times the number of customers, whether you write back, how many resource types you map, and how much clinical validation the output needs.
Before go-live, confirm per-customer scopes are granted, endpoints and issuers are allowlisted, a clinician has reviewed the mapping, failure tests pass in the customer environment, monitoring is live, and the customer’s analysts have agreed a rollback plan.
A HIPAA FHIR integration needs operational and contractual controls on top of OAuth. Vendor approval, encryption or SMART conformance alone do not make an app compliant.
Operational controls:
Retry-After on 429s.Legal obligations depend on each party’s role. Depending on the arrangement, you may need a business associate agreement or GDPR data-processing terms, regional hosting, retention limits, risk assessments, audit trails and a breach-response process.
One misconception to clear up with your sales team: ONC certification covers the EHR’s API capabilities. It is not certification or endorsement of your app, and it should not appear in your pitch as if it were.
It is the work of connecting an app to an EHR's FHIR server: defining the workflows and FHIR profiles you need, implementing SMART on FHIR authorization, and validating reads, writes and error handling against Epic, Oracle Health or another EHR before each customer activates the app.
No. FHIR defines the data resources and REST API. SMART on FHIR adds OAuth 2.0 authorization, launch context, discovery, scopes and optional OpenID Connect identity on top.
No. Showroom listing is about visibility, and Epic's technical approval makes production use possible. Each Epic customer must still activate your app, grant scopes and configure it, usually after its own security review.
Sometimes. Write support varies by API, resource and customer, and many organizations require clinical review before external data enters the chart. Confirm each target's rules before designing write-back, and guard against duplicate creates on retries.
Platforms help when you need breadth across many EHRs. Direct connectors give full clinical detail for a few large customers. Neither removes EHR-specific mapping or customer activation, so many teams run both.
There is no reliable universal number. Engineering is rarely the bottleneck; vendor review, customer security questionnaires, contracting and test windows usually are, and they repeat for every health system.
If you are planning an Epic or Oracle Health connector and want a second opinion on the data contract and rollout plan, Artezio’s healthcare software development team builds SMART on FHIR integrations for health tech and pharma products.