Updated November 2026: the HTI-5 final rule (published October 28, 2026; 14 criteria removed, the (g)(10) FHIR API kept, information blocking changes deferred), HL7 EHR integration examples including DFT charge feeds, and Epic\'s November endpoint count.
This is engineering guidance, not legal advice. Confirm specifics with qualified counsel.
Why this matters
HL7 EHR integration, which in practice means HL7 v2 EHR integration, is exchanging pipe-delimited HL7 v2 messages with a hospital's electronic health record over MLLP: ADT for admissions and demographics, ORU for results, ORM or OMG for orders. It usually runs through an integration engine behind the hospital firewall. FHIR integration means calling the EHR's FHIR R4 REST API over HTTPS, with SMART on FHIR handling authorization. In 2026 most telehealth products need both. FHIR covers the reads and writes the app makes, and HL7 v2 carries the real-time feeds the hospital already publishes.
"We'll just integrate with the EHR" is the sentence that quietly adds three months to a telemedicine roadmap. The electronic health record (the system of record that holds a clinician's notes, diagnoses, medications and results) has no single connector you switch on. It has two interoperability standards, several versions, a separate approval process at each vendor, and a federal rule that sets which version is current. We wrote this for the founder, product manager or hospital IT lead who keeps hearing "FHIR" and "HL7" on vendor calls and wants to know what they are, when to use which, and why the EHR connection is the part of a telemedicine build most likely to slip. With the right model you can scope it honestly. With the wrong one, you find out the cost after you have promised a date. This piece is the deep-dive behind the single EHR link on the telemedicine integration map.
Two standards, one family
Here is the fact that confuses almost everyone at first: HL7 v2 and FHIR come from the same organization, Health Level Seven International (HL7), a non-profit standards body, so there are no competing camps here. The two are generations of the same family's work, built thirty years apart for different worlds, and a real hospital runs both at once.
HL7 v2 is the older one. It was designed in the late 1980s so that one hospital department's computer could send a message to another over the local network: admit this patient, here is a lab result, here is an order. It is a messaging standard, where systems fire structured text messages at each other and acknowledge receipt. FHIR (Fast Healthcare Interoperability Resources, pronounced "fire") is the modern standard, first drafted in 2011 and built for the web. It is an API standard. An app asks a server a question over HTTPS, such as "give me this patient's active medications", and gets a structured JSON answer back, the same way any modern web or mobile app talks to its backend.
Both survive for plain economic reasons. Hospitals spent three decades wiring HL7 v2 between their systems, and that plumbing works. FHIR was added on top of it instead of replacing it, mostly so external apps (patient portals, telemedicine front ends, analytics tools) could read and write the record through a clean web interface. So when a vendor says "we support FHIR," they usually mean "we put a FHIR API in front of a system that still speaks HL7 v2 internally." You will run into both, and you need to understand both.
| HL7 v2 | FHIR | |
|---|---|---|
| What it is | Messaging standard: systems push event messages to each other | API standard: an app asks a server for resources over REST |
| Format | Pipe-delimited text segments (MSH, PID, OBR, OBX) | JSON (or XML) resources (Patient, Observation, Encounter) |
| Transport | MLLP over a TCP socket, usually inside the hospital network or a VPN | HTTPS, reachable from the internet |
| Typical telehealth use | Real-time ADT, lab-result and order feeds, server to server | Reading the chart before a visit, writing the note back after |
| Security model | Network trust: VPN, IP allow-lists, TLS where the site supports it | OAuth 2.0 with SMART scopes, per user or per backend service |
| Version to target in 2026 | Whatever v2.x each site runs, plus its local Z-segments | FHIR R4 with US Core 6.1.0 / USCDI v3, set by federal rule |
| Main cost driver | Per-site dialects and interface-engine work | Vendor review, mapping to US Core, per-customer go-live |
HL7 v2: the language hospitals already speak
Here is what an HL7 v2 message looks like when you open it (the data is deliberately fake; never put real patient data in a sample):
MSH|^~\&|LIS|LAB|EHR|HOSP|202606141015||ORU^R01|MSG00001|P|2.5.1
PID|1||100042^^^HOSP^MR||DOE^JANE||19850312|F
OBR|1||ORD789|2345-7^Glucose^LN|||202606141000
OBX|1|NM|2345-7^Glucose^LN||96|mg/dL|70-99|N|||F
Each line is a segment, named by its first three letters. MSH is the message header: who sent it, who receives it, what kind of message it is, and when. PID identifies the patient with the medical-record number, name, date of birth and sex. OBR is an order, and OBX is an observation (here, a glucose result of 96 mg/dL with a normal range and an "N" for normal). The pipe character | separates fields, and the caret ^ separates components inside a field. One line per fact, delimiters between the pieces: that is the whole format.
Messages come in types, and the three-letter codes are worth learning because vendors use them as shorthand. ADT (Admit, Discharge, Transfer) messages announce patient movement and demographics; this is the backbone feed most systems subscribe to. ORU carries observation results, like the lab result above. ORM and the newer OMG/OMP carry orders, and SIU carries scheduling. Every message gets an ACK (acknowledgement) back so the sender knows it arrived. Underneath, the transport is usually MLLP (Minimal Lower Layer Protocol), a thin wrapper that frames each message over a raw TCP socket. It is not HTTPS, which is one reason HL7 v2 feeds live inside a hospital's network and not on the open internet.
HL7 v2 is everywhere and it is stable: a result feed wired in 2008 still runs. Its weakness is looseness. The standard has optional fields and "Z-segments" (custom local extensions), so two hospitals can send "the same" ORU message with different fields populated, and your integration has to handle each site's dialect. HL7 v2 work is labor-intensive because of that per-site variability more than the format itself. For a telemedicine product, HL7 v2 is the usual way to receive a real-time ADT feed (to know a patient was admitted) or a lab result feed (to pull results into the consult), server-to-server, behind the hospital firewall.
FHIR: the web API for clinical data
FHIR works from a different mental model. Instead of messages flying between systems, it models healthcare as a set of resources: discrete, named objects you read and write through a REST API. There is a Patient resource and an Observation resource (a lab result, a vital sign). A MedicationRequest (a prescription). Then Appointment, Encounter, Condition (a diagnosis) and DocumentReference (a clinical note). FHIR R4 defines roughly 145 resource types, and a telemedicine app typically touches a dozen.
Reading data is an ordinary HTTPS request. You call GET [base]/Patient/100042 to get a patient's record and GET [base]/MedicationRequest?patient=100042&status=active to find their active medications, and the server returns JSON. Here is a trimmed, fake Observation carrying the same glucose result as the HL7 v2 example, in FHIR's shape:
{
"resourceType": "Observation",
"status": "final",
"code": { "coding": [{ "system": "http://loinc.org", "code": "2345-7", "display": "Glucose" }] },
"subject": { "reference": "Patient/100042" },
"valueQuantity": { "value": 96, "unit": "mg/dL" },
"referenceRange": [{ "low": { "value": 70 }, "high": { "value": 99 } }]
}
Two things make FHIR practical for an app team. It is self-describing JSON over HTTPS, so any engineer who has built a web app can read it without learning a clinical message grammar. And it carries the codes inline: that loinc.org / 2345-7 says "this is a glucose measurement" in a universal vocabulary, so you are not guessing what a number means. A telemedicine app uses FHIR to read patient context before a visit and to write the visit back to the chart afterward, through the API the EHR vendor publishes.
FHIR's limitation mirrors HL7 v2's. Because it is newer and exposed to the outside world, it is tightly governed, and the governing version is set by federal rule (more on that in the next section). Coverage is also still filling in. Not every workflow a hospital runs internally has a mature FHIR equivalent, which is why the legacy HL7 v2 paths persist.
Figure 1. HL7 v2 versus FHIR. Two standards from the same body, thirty years apart. Most hospitals run both, using FHIR for app-facing reads and writes and HL7 v2 for legacy server-to-server feeds.
The version that matters in 2026
"We support FHIR" is not a specification. FHIR has versions, and US health IT is locked to a specific one. Three numbers define the 2026 baseline, and they are dated.
The base standard is FHIR Release 4 (R4), published in 2019. R4 is the version that has normative content, meaning parts the authors have promised will not break, and that is why regulators built on it. Two newer releases exist. R4B (December 2022) is a small transitional update. R5 (March 2023) is a larger "trial use" release that introduced breaking changes, so production health IT has not moved to it. R6 has been through two normative ballots, the first in the January 2026 cycle and the second published as 6.0.0-ballot5 in July 2026, and it is not final; the official current release is still R5 [8]. For an EHR integration in 2026 you target R4, full stop.
R4 alone is not enough, because R4 is a global standard, and the U.S. needs to pin down exactly which fields a certified record must support. That is the job of US Core, a U.S.-specific FHIR implementation guide (a profile that says "in the U.S., a Patient resource must include these elements, bound to these code systems"). US Core is keyed to USCDI, the United States Core Data for Interoperability: the government's list of clinical data classes every certified record must exchange.
Under the U.S. Office of the National Coordinator's HTI-1 Final Rule, the baseline for certified health IT is US Core 6.1.0 against USCDI v3, with SMART App Launch for authorization, and the compliance date is January 1, 2026 [1][2][3]. The older versions retired on that same date: USCDI v1, US Core 3.1.1 and SMART App Launch 1.0.0 are no longer the certification floor [3]. Vendors may voluntarily go higher through ONC's Standards Version Advancement Process (SVAP). US Core 7.0.0 maps to USCDI v4, US Core 8.0.1 to USCDI v5, and the 2026 SVAP list, usable from August 29, 2026, adds US Core 9.0.0 with USCDI v6 [11]. The floor you can rely on in 2026, though, is R4 / US Core 6.1.0 / USCDI v3 [1][2]. Write that string into your integration spec.
The rule behind all of this deserves a name, because it is why you can demand a FHIR API in the first place. ONC's certification program includes a criterion, § 170.315(g)(10), "Standardized API for patient and population services," which requires certified EHRs to expose a FHIR R4 API supporting both single-patient access (via SMART on FHIR) and multi-patient bulk access [4]. Add the information blocking rules, which prohibit a certified actor from unreasonably interfering with access to electronic health information, and a hospital's certified EHR is required to offer you a standards-based FHIR door. You still have to go through the vendor's process to use it, but the door has to be there.
What changed in 2026: HTI-5 is final
Since January, three developments matter for anyone scoping EHR work. First, HTI-5 is now a final rule. HHS announced it on October 26, 2026, and it was published in the Federal Register on October 28, 2026; it takes effect on December 28, 2026, with several removals dated January 1, 2027 [12][22]. Of the 60 certification criteria it removes 14, revises 7 and keeps 39. That is far fewer cuts than the 34 removals proposed in December 2025, and the (g)(10) FHIR API criterion stays: real world testing results reporting is now limited to API criteria, (g)(10) and the prior authorization APIs [12]. The two older application access criteria, (g)(7) and (g)(9), drop out on January 1, 2027 [12]. None of the proposed information blocking changes were finalized, including the "automated means" and AI wording; they remain open for a later rule [22]. HTI-5 leaves the HTI-1 baseline above unchanged, so R4 / US Core 6.1.0 / USCDI v3 is still what goes into the spec, and ONC says the reset is meant to build new FHIR-based API requirements on top [12]. Second, the CMS Interoperability Framework asks networks that want to be shown as CMS Aligned Networks to offer FHIR APIs on US Core with USCDI v3 or later, with those API requirements in effect from July 4, 2026 [13]. Third, TEFCA, the national network-of-networks, had moved 464 million documents by the end of 2025, according to ONC, and HHS reported passing 1 billion exchanged records in June 2026 [14]. All three point the same way: FHIR as the default door, HL7 v2 kept for what already runs.
Figure 2. The version ladder. FHIR R4 is the certified baseline. As of January 1, 2026, under HTI-1, it is profiled by US Core 6.1.0 against USCDI v3; since August 29, 2026, SVAP also allows US Core 9.0.0 with USCDI v6. R5 is trial-use, and R6 is still in ballot. Target R4.
SMART on FHIR: launching your app inside the EHR
A FHIR API answers "how do I read the data?" SMART on FHIR answers the earlier question: "how does the app prove who is asking, and get permission?" SMART (Substitutable Medical Applications, Reusable Technologies) is a thin healthcare layer on top of OAuth 2.0, the authorization framework behind "Sign in with Google." Since January 1, 2026 the certification floor has been SMART App Launch 2.0.0 (granular scopes, PKCE). The latest published version is 2.2.0, built on FHIR R4 [3].
Put simply, SMART handles login and context. Say a clinician opens your telemedicine tool from a button inside their EHR. They should not have to log in again, and your app needs to know which patient's chart is open right now. SMART's EHR launch covers both. The EHR redirects to your app with a launch token, and your app completes an OAuth2 handshake (using PKCE, a proof step that stops an intercepted code from being reused). The EHR then returns an access token plus launch context, meaning the authorized user and the current patient, so your app opens on the right chart. A standalone launch also exists: a patient opens your app directly and authorizes it to pull their record from the hospital's portal.
Permissions are expressed as scopes, a short vocabulary taken from FHIR. A scope like patient/Observation.rs means "read and search this one patient's observations." user/Appointment.rs means "the appointments this logged-in user may see." system/Patient.rs is for a backend service with no human present. The pattern is [context]/[Resource].[permissions]. With it, a hospital grants your app the data it needs and nothing more, which is HIPAA's minimum-necessary principle enforced at the authorization layer. For a telemedicine product, SMART on FHIR separates "log in twice and copy the patient's name across" from "the consult opens already wired to the chart."
Figure 3. The SMART on FHIR EHR-launch flow. The EHR passes your app the logged-in user, the open patient, and a scoped access token. The clinician logs in once, and the app reads only what it was granted.
The three ways data actually moves
With a token in hand, clinical data reaches your platform through three patterns. Most of the integration design comes down to picking the right one for each use case.
The first is user-facing SMART on FHIR reads and writes: one patient at a time, in the moment. A clinician opens the consult, your app pulls that patient's problems, medications and recent results through the FHIR API, and it writes the visit note back as a DocumentReference. This is what the live consult runs on.
The second is bulk data export, used when you need many patients at once, for example to populate a registry, run quality reporting or train an analytics model. FHIR's Bulk Data Access specification (nicknamed "Flat FHIR") defines a $export operation that returns large datasets as NDJSON (newline-delimited JSON, one resource per line) at the system, group, or patient level [5]. No human is present, so it authenticates with SMART Backend Services: your server signs a JWT with a private key instead of a user logging in [5]. Bulk export moves a population; the first pattern moves a person.
The third is HL7 v2 messaging, the legacy real-time feed described earlier. Think of an ADT stream that tells you who was admitted and an ORU stream that delivers results, sent server-to-server over MLLP behind the firewall. New telemedicine integrations lean on FHIR. Still, many production deployments take their real-time event feeds over HL7 v2, because that is what the hospital already publishes.
A practical rule: use SMART on FHIR for the live, single-patient consult, Bulk Data for population reads, and HL7 v2 for the real-time event feeds the hospital already runs. Most clinical products end up with all three.
HL7 EHR integration examples for a telehealth product
The most common HL7 EHR integration examples are an ADT feed that tells your platform a patient has arrived, an ORU result feed that puts lab values into the consult, and a document message that files the visit note back in the chart. HL7 EMR integration is the same work under another name. Hospitals and vendors use EMR and EHR interchangeably, and the messages are identical. Below are the six interfaces a telehealth product asks for most often, each with its HL7 v2 trigger event and, where the EHR offers one, the FHIR equivalent.
- Patient arrival and demographics: ADT^A04 (register) and ADT^A08 (update) keep your patient list and virtual waiting room in sync with the hospital. The FHIR read is Patient plus Encounter.
- Lab results into the consult: ORU^R01 carries results, with LOINC codes in OBX segments. The FHIR read is Observation and DiagnosticReport.
- Orders out of the visit: ORM^O01 or OMG^O19 sends a lab or imaging order from the telehealth clinician to the hospital. The FHIR write is ServiceRequest, if the vendor allows it.
- Scheduling sync: SIU^S12 (new appointment) and SIU^S15 (cancel) mirror the hospital calendar, so a video slot is never double-booked. The FHIR read is Appointment and Slot.
- Visit note back to the chart: MDM^T02 files the finished consult note as a document. The FHIR write is DocumentReference.
- Charges to billing: DFT^P03 (Detail Financial Transaction) posts the visit charge to the hospital billing system [21].
That last item is what people usually mean by "HL7 v2 integrated payments." HL7 v2 carries charges, payments and adjustments as billing records between hospital systems. It does not process a card. A patient copay inside a telehealth app goes through a payment processor under PCI DSS, and only the posted result reaches the EHR as a DFT message. Adding a virtual specialty partner, such as a dermatology service, reuses the same pieces. The referral arrives as an order or appointment, the photos and consult note go back as documents, and the charge goes out as a DFT.
Turning HL7 v2 feeds into a FHIR API: picking the platform
To expose legacy HL7 v2 messages as RESTful APIs for a telehealth app, you put a translation layer between the hospital and your product. It listens for HL7 v2 over MLLP, acknowledges each message, maps segments to FHIR R4 resources, validates them against US Core, then stores or forwards them so your app reads plain FHIR. The mapping now has a standard: HL7's V2-to-FHIR implementation guide, version 1.0.0 (STU 1), maps v2 segments and data types to FHIR R4 [15]. Your decision is where that layer runs and who maintains it.
| Option | How it translates v2 to FHIR | Fits when | BAA available? |
|---|---|---|---|
| Self-hosted integration engine (Mirth Connect, Rhapsody, Iguana, InterSystems) | Channels you configure: MLLP listener, transformer scripts, FHIR client | You run many feeds per site and need full control of each dialect | Not needed for software you host; needed for any vendor support with PHI access |
| Azure Health Data Services | $convert-data: HL7 v2, C-CDA or JSON to a FHIR R4 Bundle via Liquid templates [16] | Your backend already runs on Azure | Yes, under Microsoft's HIPAA terms |
| Google Cloud Healthcare API | HL7v2 store with an MLLP adapter, then your mapping into a FHIR store | Your backend already runs on Google Cloud | Yes, under Google Cloud's BAA |
| Integration aggregator (Redox, Health Gorilla) | Vendor maintains the connections and hands you one normalized API | You need many EHRs fast and accept per-transaction fees | Yes, signed with the aggregator |
| General iPaaS with an HL7 v2 connector | Parses messages; the clinical mapping to US Core is your work | The hospital feed is one of many business integrations | Check per vendor; many do not sign one |
In 2026, three facts change the math. Mirth Connect, which many teams adopted because it was open source, moved to a single commercial license with version 4.6 in March 2025, and 4.5.2 is its last open-source release [17]. Microsoft says its default conversion templates are samples and are not supported for production, so you host and test your own copy [16]. No tool removes per-site work either. Every hospital's Z-segments and optional fields still need a mapping and a test set of real-shaped messages. Choose on four questions. Does it speak MLLP with ACKs inside the hospital network? Does it validate output against US Core? Can one engineer change a site's mapping in a day? Will the vendor sign a BAA?
If the EHR has no public API, check its certification first, since a certified EHR must offer the (g)(10) FHIR API [4]. If it is not certified, ask the vendor for an HL7 v2 interface, or reach it through an aggregator that already has a connection. Screen scraping and browser automation are a last resort for production clinical data. They break with every UI release and still need a BAA.
What "integrate with Epic" actually involves
This is where the standards meet reality. FHIR R4, US Core and SMART are the common language, and each EHR vendor wraps it in its own developer program, sandbox, review and go-live process. "Integrate with Epic" is a project. It is not a setting, and the standard does not get you past the vendor's gate.
Epic runs the largest such program. Its app marketplace launched in 2016 as App Orchard and was wound down at the end of 2022. In August 2023 Epic unveiled Showroom to replace it [10]. Showroom is organized in tiers: a Connection Hub listing (a paid annual listing so health systems can find your product), a Toolbox of recommended integration patterns, and a Workshop tier for deep co-development. Production access to Epic's APIs goes through its Vendor Services program, which succeeded App Orchard, and you build against test data first in the open fhir.epic.com developer sandbox. Epic's figures for 2026: more than 1,000 apps listed in Showroom, about 3.7 billion patient-directed data exchanges a month through its APIs, and more than 50 new APIs for payer and prior-authorization exchange [18]. Its public directory listed 477 production FHIR R4 endpoints on November 21, 2026 [19]. Epic also publishes its HL7 v2 interface specifications on open.epic.com. For scoping, this means you build against the sandbox, then pass Epic's review and a per-customer go-live before a single real patient's data flows.
Oracle Health (the former Cerner, acquired by Oracle in 2022) exposes its Millennium platform through its own FHIR R4 APIs. Its code/console developer program follows the same steps: sandbox, registration, then production. In August 2025 Oracle launched a new AI-centered EHR on Oracle Cloud Infrastructure, first for U.S. ambulatory practices, with acute care planned for 2026 [20]. Millennium is still the installed base most integrations run into. athenahealth runs its marketplace and developer portal the same way. Each long-tail vendor (eClinicalWorks, MEDITECH and the rest) has its own front door. The standards are shared, but the onboarding is not, and onboarding is what takes weeks per vendor.
That is why many teams use an aggregator instead of integrating each EHR directly. Companies like Redox and Health Gorilla maintain the per-vendor connections and give you one normalized API. You give up a direct relationship and pay per transaction, and in return you get a single integration surface and a faster start. The choice between integrating directly, using an aggregator and embedding inside the EHR is weighed in the integration decision guide, and the vendor-by-vendor specifics are in integrating with Epic, Oracle Health (Cerner), and athenahealth. A FHIR API being "standard" does not make access instant: the standard governs the data shape, not the vendor's admission process.
Figure 4. Four paths to the record. Direct FHIR gives the most control and the slowest start. An aggregator trades per-transaction cost for one integration surface, embedding via SMART suits in-EHR workflows, and HL7 v2 remains the legacy real-time feed.
A worked example: the timeline math
Numbers keep the scope honest. Say you scope a telemedicine product's EHR work as "read the patient's chart before the visit and write the note back after." With a single, cooperative vendor, the FHIR read-and-write code itself is small: roughly two engineering-weeks once you have access.
Now add the parts the standard does not remove. Sandbox setup and learning the vendor's quirks take one week. Mapping your data model to US Core profiles and the terminology codes is also one week. Vendor app review and the security questionnaire take two to four weeks, mostly spent waiting rather than coding. A per-customer go-live with the hospital's own IT team adds one to three weeks. So a first EHR integration against one vendor runs, conservatively:
2 (code) + 1 (sandbox) + 1 (mapping) + 3 (review, midpoint) + 2 (go-live, midpoint) = 9 engineering-weeks. Only two of those are the FHIR code.
Now multiply. Supporting Epic and Oracle Health and athenahealth is not 3× the code, since the FHIR calls are similar. It is roughly 3× the review, sandbox and go-live overhead, because each vendor gates you separately. That overhead is what stretches a roadmap once someone says "integrate with the EHR," and it is why an aggregator that collapses three onboardings into one can be worth its per-transaction fee. Plug in your own vendors and the pattern holds.
The terminology layer underneath
One more layer sits under both standards: the code systems that give clinical data shared meaning. A FHIR Observation or an HL7 v2 OBX is only useful if "glucose" means the same thing everywhere, so healthcare relies on standard vocabularies. LOINC (Logical Observation Identifiers Names and Codes) names lab tests and measurements, including the 2345-7 for glucose in the examples above. SNOMED CT covers clinical findings and conditions, RxNorm covers medications, and ICD-10-CM covers diagnoses for billing. US Core binds specific FHIR fields to specific vocabularies, so "support US Core" includes "send the right codes." You don't invent these codes; you map your data to them. The labs deep-dive covers LOINC in practice in lab orders and results.
A common mistake to avoid
The most expensive misconception is treating the EHR connection as one undifferentiated task, with "add EHR integration" as a single backlog ticket. It is at least four decisions: which standard per data flow (FHIR vs HL7 v2), which version (R4 / US Core 6.1.0 in 2026, not "latest"), which access pattern (live SMART read, bulk export, or v2 feed), and which path per vendor (direct, aggregator, or embedded). Fold them into one ticket and you will scope the two weeks of FHIR code while missing the seven weeks of versioning, mapping, review and go-live around it.
A close second mistake involves compliance, and it is a quiet one. The EHR, any integration engine and any aggregator in the path all handle Protected Health Information (any health data tied to an identifiable person). Each of them therefore sits inside your HIPAA boundary and needs a signed Business Associate Agreement (BAA) before a single field flows; that is the contract that makes it lawful for a vendor to handle patient data. A FHIR sandbox uses synthetic test data and needs no BAA. Once you point at real patient data in production, the BAA must already be in place. The contract is covered in Business Associate Agreements, and the rule behind it in HIPAA in plain English for product teams.
Quick answers
What is HL7 v2 EHR integration?
It means exchanging HL7 v2 messages (ADT, ORU, ORM) with a hospital's EHR over MLLP, usually through an integration engine inside the hospital network. A telehealth product uses it to receive admissions, results and orders in real time.
What are examples of HL7 EHR integration?
The usual ones: an ADT feed for registrations and transfers, an ORU feed for lab results, ORM or OMG orders, SIU scheduling, MDM documents for the visit note, and DFT^P03 charges to billing. Telehealth products typically start with ADT, ORU and sending the note back.
What does "HL7 v2 integrated payments" mean?
It means posting charges and payment records to the hospital billing system with HL7 v2 financial messages, mainly DFT^P03. A PCI DSS payment processor still handles the card processing; HL7 v2 only carries the resulting billing transaction.
How do I pick a platform that turns HL7 v2 messages into REST APIs?
Choose an engine that listens on MLLP with ACKs, maps to FHIR R4 using the HL7 V2-to-FHIR guide, validates against US Core 6.1.0 and will sign a BAA. A self-hosted engine suits many site-specific feeds. Azure or Google Cloud makes sense when your backend already runs on that cloud, and an aggregator fits when you connect many EHRs at once.
How do I integrate with an EHR that has no public API?
Certified EHRs must expose a FHIR R4 API under ONC criterion (g)(10). For an uncertified system, buy an HL7 v2 interface from the vendor or go through an aggregator. Keep screen scraping out of production.
How do I build telehealth software that integrates with existing EHRs?
Use SMART on FHIR to launch the consult from the chart and read its context. Write the visit note back as a FHIR DocumentReference, and take ADT and result feeds over HL7 v2 where the hospital already publishes them. Put the vendor review and the per-customer go-live in the plan as separate milestones.
How do I connect patient-flow software to hospital systems?
Subscribe to the hospital's HL7 v2 ADT feed for admissions, transfers and discharges, and read FHIR Encounter and Location where the EHR exposes them. The ADT feed is your event source, and FHIR fills in detail on demand.
How long does a first EHR integration take?
About 9 engineering-weeks against one cooperative vendor in our worked example, and only 2 of them are FHIR code. The rest goes to sandbox, mapping, vendor review and go-live. Every extra vendor repeats most of that overhead.
Free download: FHIR & HL7 v2 EHR Integration Cheat SheetOne page with the HL7 v2 essentials, the FHIR essentials, the SMART on FHIR launch and scopes, the 2026 certified version baseline, and the three ways data moves — to run against your own integration plan before you build.Where Fora Soft fits in
Fora Soft has built real-time video and clinical software since 2005. In telemedicine, the EHR connection is where schedule risk concentrates, so we scope it as a separate project from day one. We settle the requirements before building the feature. That means a BAA with the EHR vendor and any aggregator before real data flows, and the version pinned to the certified baseline rather than "latest" (FHIR R4 / US Core 6.1.0 / USCDI v3 in 2026, with US Core 9.0.0 only where the customer's EHR has adopted it). HL7 v2 feeds are translated to FHIR in one engine the team can change per site. Each access pattern is chosen on purpose: SMART on FHIR for the live consult, Bulk Data for population reads, HL7 v2 for the real-time feeds the hospital already publishes. The capability comes after that: a video consult that reads the chart before the visit and writes the note back after, without leaking a field of patient data or surprising the timeline. Our AI telehealth video platform builds ship that FHIR R4 integration with Epic and Oracle Health, and our telemedicine software development team scopes the EHR leg as its own milestone.


The handbook
Fora Soft Video Engineering Handbook
We wrote a seven-volume handbook that takes the whole video stack apart, from the pixel to production — encoding, delivery, audio, and AI — across 9,000+ pages. A telemedicine platform stands on that stack: volume 7 covers real-time pipelines, serving, cost, and the regulatory ground a clinical product has to hold; volume 3 covers WebRTC and the delivery layer the consult itself runs over; volume 1 covers the encoding underneath both. Work through them and you can design and build the system this article scopes. Written by Nikolay Sapunov, CEO at Fora Soft.
Scoping an EHR integration and need the date to hold?
Tell us which vendors you have to reach and what has to move through them, and we will come back with the access pattern per data flow, the version baseline to write into the spec, and a schedule that counts the review and go-live weeks rather than just the FHIR code. 250+ video products shipped since 2005.
See our case studies
Case study
CirrusMed
A subscription telemedicine practice now licensed in 48+ U.S. states, where the record we built tracks allergies, history, vitals, and prescriptions and carries lab and imaging orders — the same clinical data an EHR integration has to move.
Case study
VALT
A HIPAA- and GDPR-compliant video platform running in 770+ U.S. organizations with 50,000+ active users, where every customer is its own deployment and its own go-live — the per-customer overhead this article tells you to schedule.
What to read next
Integration
The Integration Decision Guide: Direct, Aggregator, or Iframe
You have the standards; this is how to choose the access path, vendor by vendor.
Architecture
The Telemedicine Integration Map: What Connects to What
Where the EHR link sits among the other systems a platform has to reach.
Clinical data
Lab Orders and Results
LOINC in practice, and the ORU result feed this article only sketches.
Identity
Identity, SSO, and Provider Directories
Who the token says you are, once SMART has handed it to your app.
References
- HTI-1 Final Rule: Health Data, Technology, and Interoperability: Certification Program Updates, Algorithm Transparency, and Information Sharing. Office of the National Coordinator for Health IT (ASTP/ONC), final rule 2024; certified health IT must adopt USCDI v3 with US Core 6.1.0 and SMART App Launch, compliance date 2026-01-01. Tier 1. https://www.healthit.gov/topic/laws-regulation-and-policy/health-data-technology-and-interoperability-certification-program
- United States Core Data for Interoperability (USCDI) v3 and HL7 FHIR US Core Implementation Guide STU 6.1.0. ASTP/ONC and HL7. USCDI v3 with US Core 6.1.0 is the 2026 certified baseline; SVAP allows voluntary US Core 7.0.0 (USCDI v4) / 8.0.1 (USCDI v5). Tier 1. https://hl7.org/fhir/us/core/
- SMART App Launch Implementation Guide 2.2.0 (SMART on FHIR), OAuth 2.0 EHR and standalone launch, scopes. HL7 / SMART Health IT. Defines EHR launch, standalone launch, OAuth2 with PKCE, launch context, and the scope vocabulary; older SMART App Launch 1.0.0 retired as the certification floor on 2026-01-01. Tier 1 (standard). https://hl7.org/fhir/smart-app-launch/
- ONC § 170.315(g)(10): Standardized API for Patient and Population Services (ONC Health IT Certification Program). ASTP/ONC. Requires certified EHRs to expose a FHIR R4 API supporting single-patient (SMART on FHIR) and multi-patient (bulk) access; the basis for "a certified EHR must offer a FHIR door." Tier 1. https://onc-healthit.github.io/api-resource-guide/g10-criterion/
- HL7 FHIR Bulk Data Access (Flat FHIR) Implementation Guide and SMART Backend Services. HL7. Defines the
$exportoperation (system / group / patient level), NDJSON output, and JWT-based backend-service authorization for moving large FHIR datasets without a user present. Tier 1 (standard). https://hl7.org/fhir/uv/bulkdata/export.html - HL7 FHIR Release 4 (R4) specification. Health Level Seven International. The normative, certified base version of FHIR profiled by US Core; defines the resource model (Patient, Observation, MedicationRequest, etc.) and REST API used for app-facing reads and writes. Tier 1 (standard). https://hl7.org/fhir/R4/
- HL7 Version 2 Messaging Standard (product brief). Health Level Seven International. The legacy pipe-delimited messaging standard (MSH/PID/OBR/OBX segments; ADT, ORU, ORM message types) still used for most hospital server-to-server clinical data exchange. Tier 1 (standard). https://www.hl7.org/implement/standards/product_brief.cfm?product_id=185
- FHIR Releases and Versioning (R4B, R5, R6 status). Health Level Seven International. R4 (2019) normative; R4B (Dec 2022) transitional; R5 (Mar 2023) trial use; R6 through its second normative ballot (6.0.0-ballot5, July 2026) and not final; R5 is the current official release. The basis for "target R4 in 2026." See also https://hl7.org/fhir/6.0.0-ballot5/codesystem-FHIR-version.html. Tier 1 (standard). https://hl7.org/fhir/directory.html
- LOINC, SNOMED CT, RxNorm, and ICD-10-CM as the terminology layer bound by US Core. Regenstrief (LOINC), SNOMED International, NLM (RxNorm), CDC/CMS (ICD-10-CM). The code systems US Core binds FHIR fields to, so that "glucose" means the same thing across systems. Tier 1 (standards/terminology authorities). https://www.nlm.nih.gov/research/umls/sourcereleasedocs/current/LNC/index.html
- Epic on FHIR developer program (fhir.epic.com), Showroom, and Vendor Services. Epic Systems. The vendor's FHIR R4 API sandbox, app marketplace (Showroom, unveiled August 2023 after App Orchard was wound down in late 2022; Fierce Healthcare, 2023-08-23), and production-access program; illustrates that standards-based access still passes a per-vendor sandbox, review, and go-live gate. Tier 4 (vendor developer documentation). https://fhir.epic.com/
- Advancements in Health IT: ONC's 2026 Approved SVAP Standards. ASTP/ONC, June 30, 2026. USCDI v6 and US Core 9.0.0 approved for voluntary use from 2026-08-29. Tier 1. https://healthit.gov/blog/standards/advancements-in-health-it-oncs-2026-approved-svap-standards/
- HTI-5 Final Rule (Health Data, Technology, and Interoperability: ONC Health IT Certification Program updates), ASTP/ONC; Federal Register 2026-10-28 (FR Doc. 2026-21943), effective 2026-12-28, some removals 2027-01-01; page updated 2026-11-02. Final counts (14 removed, 7 revised, 39 retained), (g)(10) retained, (g)(7)/(g)(9) removed 2027-01-01, as summarized by Epstein Becker Green and McDermott Will & Schulte, October 2026. Tier 1. https://healthit.gov/regulations/hti-rules/hti-5-final-rule/; https://www.federalregister.gov/d/2026-21943
- CMS Interoperability Framework. Centers for Medicare & Medicaid Services (page modified 2026-11-13). CMS Aligned Networks: FHIR APIs on US Core with USCDI v3 or later, in effect from 2026-07-04. Tier 1. https://www.cms.gov/interoperability
- Data Liquidity, Affordability, and Access: The History & Growth of TEFCA. ASTP/ONC, February 11, 2026 (updated 2026-06-05): 464 million documents exchanged by the end of 2025. Tier 1. https://healthit.gov/resources/data-liquidity-affordability-and-access-the-history-growth-of-tefca/. The 1-billion-records milestone: HHS announcement, June 26, 2026, republished by ONC: https://healthit.gov/news/hhs-expands-secure-access-to-health-records-through-the-tefca-network-announces-milestone-of-one-billion-health-records-exchanged/
- HL7 Version 2 to FHIR Implementation Guide 1.0.0 (STU 1). HL7 International. Maps v2 messages, segments and data types to FHIR R4. Tier 1 (standard). https://hl7.org/fhir/uv/v2mappings/
- Overview of $convert-data. Microsoft Learn (updated 2026-08-24). HL7 v2, C-CDA, JSON and STU3 to FHIR R4 via Liquid templates; default templates not for production. Tier 2 (vendor documentation). https://learn.microsoft.com/en-in/azure/healthcare-apis/fhir/convert-data-overview
- A new era for Mirth Connect by NextGen Healthcare. NextGen Healthcare, March 19, 2025. Version 4.6 moves to a single commercial license; 4.5.2 is the last open-source version. Tier 2 (vendor). https://www.nextgen.com/blog/industry-news/a-new-era-for-mirth-connect-by-nextgen-healthcare
- Open@Epic to return in 2026 as healthcare data sharing accelerates. Epic Systems, 2026. 1,000+ Showroom apps, ~3.7 billion patient-directed exchanges a month, 50+ new payer and prior-authorization APIs. Tier 2 (vendor). https://www.epic.com/epic/post/openepic-to-return-in-2026-as-healthcare-data-sharing-accelerates
- Epic R4 production endpoint directory. open.epic.com; Bundle total 477, timestamp 2026-11-21 (checked 2026-11-21). Tier 2 (vendor). https://open.epic.com/Endpoints/R4
- Oracle ushers in new era of AI-driven electronic health records. Oracle, August 13, 2025. New EHR on OCI, U.S. ambulatory first, acute care planned for 2026. Tier 2 (vendor). https://www.oracle.com/news/announcement/oracle-ushers-in-new-era-of-ai-driven-electronic-health-records-2025-08-13/
- HL7 Version 2.5.1, Chapter 6: Financial Management. Health Level Seven International. DFT^P03 Post Detail Financial Transactions; billing accounts, charges, payments and adjustments. Tier 1 (standard). https://www.hl7.eu/HL7v2x/v251/std251/ch06.html
- ONC Finalizes a Significantly Narrower Rule for Health IT Certification. Epstein Becker Green, October 2026. HHS announced the HTI-5 final rule on October 26, 2026 (91 Fed. Reg. 67916, October 28, 2026); none of the proposed information blocking revisions appear in the final rule; results reporting limited to (g)(10) and (g)(31) through (g)(33). Tier 3 (legal analysis of the final rule). https://www.ebglaw.com/insights/publications/onc-finalizes-a-significantly-narrower-rule-for-health-it-certification
Following the source hierarchy, we take standard and rule facts from the issuing bodies (ONC/ASTP and HL7) rather than vendor summaries. The R4 / US Core 6.1.0 / USCDI v3 baseline and the 2026-01-01 compliance date are cited to ONC and HL7 (refs 1–3), the (g)(10) API mandate to ONC (ref 4), and the SMART, Bulk Data, FHIR R4 and HL7 v2 mechanics to HL7 (refs 3, 5–8). Epic program details (ref 10) come from vendor documentation; we use them only to show what onboarding with a single vendor looks like, never as a regulatory source. The October 2026 additions cite ONC and CMS for rule status (refs 11–13), HL7 for the v2-to-FHIR mapping (ref 15) and vendor pages only for vendor facts (refs 16–20). The November 2026 update cites ONC and the Federal Register for the HTI-5 final rule (ref 12), a law-firm summary for the counts and the information blocking outcome (ref 22), and the HL7 v2.5.1 standard for financial messages (ref 21). Fifteen of twenty-two sources are tier-1 standards or regulatory documents (68%), above the 40% threshold we set for articles that touch compliance.
