FHIR integration for healthcare startups: a practical guide
Back to Blog
Healthcare

FHIR integration for healthcare startups: a practical guide

UT
Unicodez Team
Product Team
November 24, 2026
7 min read

A founder searching for what FHIR is, or for FHIR API integration, is asking a build question. Can a small team read a chart without a custom interface for every clinic? HL7 FHIR is the standard that makes the question concrete. A SMART on FHIR app is still registered, tested, and scoped one vendor at a time. This guide is for healthcare startups, and for clinics, that want a first version they can try in a sandbox.

FHIR, Fast Healthcare Interoperability Resources, is an HL7 standard for exchanging healthcare data as resources over the web. The release most US electronic health records implement is FHIR R4. A Patient resource is the person. An Encounter is the visit or stay. An Observation is a measured or asserted fact, such as a blood pressure or a lab result. The RESTful API reads and searches those resources over HTTPS, and the payload is JSON: GET the resource URL, send a bearer token, and parse the response. The FHIR overview and those R4 pages are the references to keep open.

HL7 Version 2 is the older messaging standard hospitals still use for admissions, orders, and results. A v2 interface fires on an event and sends a delimited message from one system to another, with segments and local extensions agreed per interface. FHIR gives similar facts a URL, a JSON shape, and a search API. HL7's comparison of FHIR with earlier standards includes a v2 appendix. Version 2 still fits some feeds, such as a result stream from a system with no FHIR endpoint. A product launched inside a modern US record is a FHIR build. The estimate should say which one it is.

SMART on FHIR is the launch and authorization layer. The SMART App Launch specification covers an EHR launch, a standalone launch, and backend services. In an EHR launch the clinician opens the app inside the record and receives context such as the current patient. In a standalone launch the user starts in your app and signs in to the EHR. Both use OAuth 2.0: the user approves at the authorization endpoint, and your server exchanges the code for an access token. Scopes limit that token. user/Encounter.rs follows the signed-in user and allows Encounter reads and searches. A patient-level scope stays on the patient in context. System-level scopes are for a job with no person present, under a separate registration. Request only what the first screen needs. The scopes and launch context section is the reference, and the SMART site plus the developer docs show a sample launch before vendor registration.

The ONC Cures Act Final Rule carries out parts of the 21st Century Cures Act. Health IT certified under ONC's program must offer standardized APIs. The content those APIs are expected to expose follows the United States Core Data for Interoperability (USCDI), which lists classes such as demographics, allergies, medications, labs, and clinical notes. US Core is the FHIR guide that profiles those classes onto resources. A vendor claim of US Core support is checked against that guide. The same policy addresses information blocking, practices likely to interfere with access, exchange, or use of electronic health information. The app still registers, authenticates, and requests one workflow's scopes. Production access is arranged with the health system.

The practical path is a sandbox plus app registration. Epic publishes FHIR developer documentation, and apps are registered on open.epic. Oracle Health documents SMART on FHIR and FHIR R4 for the Millennium Platform, with registration steps for consumer, provider, and system apps. eClinicalWorks publishes eCW Connect for third-party apps. Each one issues a client identifier, takes redirect URLs, and records scopes. A clinic may still enable the app on its tenant. A public portal and a live practice are different facts, which is why we wrote a separate note on eClinicalWorks integration.

R4 and US Core servers still differ. Read the CapabilityStatement at the metadata endpoint before freezing a query. Search parameters and identifiers are local, and a specified resource can return empty when a module is off. Vendors publish their own rate limits, so page searches and back off when the server says so. Bulk FHIR export, defined in the Bulk Data Access guide, is an asynchronous job that returns NDJSON for a group of patients. It fits a population extract, and it needs its own approval. A screen for today's visit uses the interactive read.

Write the MVP as one sentence: who performs the task, and where the result appears. The longer form is our note on planning a healthcare MVP. List the minimum resources that sentence reads. A schedule can be Patient and Encounter. Results add Observation. A note write, DocumentReference or a vendor note API, is a later milestone. Build read-only first, on the vendor sandbox and its synthetic patients. Confirm launch context, a token the server accepts, and fields a clinician would recognize. Audit each server call with the user, the patient and encounter in context, the resource, and the outcome.

On a SMART launch the EHR shows the approval screen, and your scopes are what the user accepts. Say on your own screen what you read and whether you keep a copy. If the product creates, receives, or stores protected health information, the work sits under the client's BAA and HIPAA requirements. HHS describes the business associate contract, and the Security Rule is why encryption, named access, and logs sit next to the FHIR client. We cover the scribe case in our note on building an AI scribe under a client's HIPAA program. Keep tokens on the server, keep sandbox data in its own database, and require a clinician to accept any write before it is filed.

Early designs repeat a few mistakes. They request a system scope that can read every resource, call the FHIR server from the browser, or treat one synthetic patient as proof a named clinic has the same modules enabled. They set a date before anyone owns app registration. They store a private JSON shape and drop US Core names. They describe the product as integrated with EHRs. The line that matches the evidence is shorter: one vendor, one sandbox, a short resource list.

Unicodez is an AI product development studio focused on healthcare, self-funded since 2019. We build products for clients as their implementation partner. MeetChess is the only product we own and run ourselves. The client owns the product and the EHR relationship. Where the work involves protected health information, we work under our healthcare clients' BAAs and HIPAA requirements. The milestone to show is one a founder can watch: the right patient, the right encounter, a read of the minimum resources, and a log of who asked.

UT
Unicodez Team
Product Team