Skip to content
Engineering deep-divesAll articles

HL7 vs FHIR in 2026: Architecture, Payloads & Integration Cost

HL7 publishes both pipe-delimited HL7 v2 feeds and RESTful FHIR R4 APIs. Compare wire-level payloads, SMART on FHIR auth, ONC (g)(10) and CMS-0057-F mandates, and real $15k to $75k integration costs.

Artem Zaitsev
Artem ZaitsevCTO · Idealogic
Author: Artem ZaitsevPublished: Updated: Reading time: 20 minHow we write →
On this page
Idealogic: HL7 v2 pipe-delimited MLLP streams vs C-CDA XML clinical summaries vs FHIR R4 RESTful JSON APIs and integration costs

HL7 vs FHIR isn't a contest between two standards bodies. HL7 (Health Level Seven International) is the ANSI-accredited standards organization that publishes all three clinical exchange families running inside healthcare: HL7 v2.x (event-driven, pipe-delimited ASCII messages pushed over persistent MLLP/TCP sockets), HL7 CDA / C-CDA (document-centric XML clinical summaries from the v3 family), and HL7 FHIR (R4 / R5, modular RESTful JSON resources over HTTPS with OAuth 2.0 / OpenID Connect SMART on FHIR). When CTOs and hospital IT directors search "fhir vs hl7" or "HL7 vs FHIR", they're making an architectural and budget call: integrate via HL7 v2 feeds ($18,000 to $38,000 per hospital site), standardized SMART on FHIR R4 APIs (from $15,000 over 4 to 8 weeks), or a hybrid dual-rail canonical adapter ($40,000 to $75,000 over 8 to 14 weeks).

The wrong rail is expensive to back out of. FHIR R4 didn't replace HL7 v2 inside hospitals: real-time admission (ADT), lab (ORU), and scheduling (SIU) triggers still run over pipe-delimited HL7 v2 sockets behind IPSec VPNs, which is easy to miss if your team grew up on web APIs. The opposite mistake costs money too. In our modeled 5-hospital case, defaulting to per-site HL7 v2 builds or a $5,500/month integration broker costs $110,000+ more over three years than an owned adapter, even though federally mandated 45 CFR 170.315(g)(10) FHIR R4 endpoints already expose many of the resources those teams need.

At Idealogic, our healthcare software development squads build and run both HL7 v2 pipelines and FHIR R4 REST APIs in live HIPAA and GDPR deployments, including bidirectional EMR sync on AddMed. Below: the wire payloads, SMART on FHIR auth, the US and EU regulatory deadlines, and 5-hospital TCO math.

The short version

  • HL7 v2 pushes floor events, FHIR R4 queries state. Use HL7 v2 for sub-second hospital events ("Patient admitted to Bed 4B"), C-CDA for HIE encounter summaries, and FHIR R4 for discrete clinical objects (Patient, Observation, MedicationRequest) over HTTPS and OAuth 2.0.
  • Regulation locked in FHIR R4.0.1, and HL7 v2 stayed. ONC 45 CFR 170.315(g)(10) requires US Core FHIR R4 and SMART on FHIR in certified EHRs (in 2024, 70% of US hospitals enabled FHIR app access, 83% among hospitals on market-leading EHRs), and CMS-0057-F requires payer, provider and prior-authorization FHIR APIs by January 2027.
  • SMART on FHIR scales near O(1), HL7 v2 scales O(N) per site. One SMART on FHIR R4 sprint starts from $15,000 (worked 300 hours: $21,000 CEE vs $49,500 US). An HL7 v2 MLLP interface costs $18,000 to $38,000 per site, mostly because of custom Z-segments and IPSec VPNs.
  • Most multi-hospital products end up pairing both in a hybrid adapter ($40,000 to $75,000). An HL7 v2 Mirth/NextGen engine plus SMART on FHIR R4 and Bulk $export brings modeled 3-year, 5-hospital TCO down to $124,000, against $235,400 for per-site HL7 v2 and $242,400 for managed iPaaS.

HL7 vs FHIR: four HL7 interoperability lanes coexisting inside hospitals in 2026

The difference between HL7 and FHIR is that HL7 v2 pushes event messages while FHIR exposes REST resources. Hospitals kept the older standards running as newer ones arrived, so four lanes now sit side by side:

Four HL7 clinical exchange standards coexist inside enterprise health systems in 2026, each governing a distinct integration lane
  1. HL7 Version 2.x (v2.3 to v2.5.1+, in use since the late 1980s): Compact pipe-and-hat delimited (|^~\&) messages over persistent TCP sockets using Minimal Lower Layer Protocol (MLLP bytes 0x0B start, 0x1C 0x0D end). Still carries most internal hospital event traffic (ADT admissions/discharges, ORM/ORU orders/results, SIU scheduling, DFT charges).
  2. HL7 CDA / Consolidated CDA (C-CDA R2.1) (v3 family): Document-centric XML clinical summaries (Continuity of Care Document, Discharge Summary) exchanged at very large scale across Carequality, CommonWell, and TEFCA networks.
  3. HL7 FHIR R4 (Release 4.0.1) + SMART App Launch: Modular web resources (Patient, Encounter, Condition, Observation, MedicationRequest) exposed via RESTful GET/POST/PUT HTTPS calls in JSON, secured via OAuth 2.0 and OIDC.
  4. FHIR Bulk Data ($export) & HL7 FHIR R5 Subscriptions: Async NDJSON cohort exports ($export) for population health and payer transfers, plus R5 topic-based subscriptions and the Subscriptions Backport IG for R4 / R4B, which bring HL7 v2's push model into FHIR.

10-dimension architectural matrix: HL7 v2 vs C-CDA vs FHIR R4

DimensionHL7 v2.x (v2.3 to v2.5.1+)HL7 C-CDA (R2.1)HL7 FHIR R4 (R4.0.1 + US Core)
1. ParadigmEvent-driven socket stream (push)Clinical summary documentRESTful resource API (CRUD + search)
2. Wire formatPipe-delimited ASCII (MSH, PID, OBX)Hierarchical XML (ClinicalDocument)JSON (primary), XML, or NDJSON
3. TransportPersistent TCP + MLLP over IPSec VPNIHE XCA/XDR SOAP, Direct S/MIMEHTTPS / TLS 1.2+ (HTTP/1.1 & HTTP/2)
4. AuthVPN IP allowlist + MSH facility IDsmTLS X.509 certs + SAMLOAuth 2.0 + OIDC + PKCE (SMART v2)
5. GranularityFull trigger packet per floor eventMulti-section XML clinical summarySingle resource (GET /Observation)
6. ExtensibilityUnvalidated custom Z-segments (ZPV)XSD/Schematron template OIDsTyped Extension URLs + profiles
7. TerminologyOften local hospital codes (BP_SYS)SNOMED, LOINC, RxNorm + proseStrict HL7 US Core code bindings
8. ErrorsSynchronous ACK / NAK (MSA|AE)SOAP Fault / Direct MDNHTTP status + OperationOutcome
9. ToolingInterface engine (Mirth / Rhapsody)Heavy XML/XPath clinical parsersStandard TypeScript/Go/Python HTTP
10. Site scalingO(N) linear per hospital VPNO(1) network via TEFCA/HIEsO(1) API across (g)(10) EHRs

Wire-level payload comparison: the exact same blood pressure observation in HL7 v2 vs FHIR R4

Take one clinical observation (blood pressure 128/82 mmHg for patient MRN-90421 during encounter ENC-7710, plus a hospital fall-risk score) and serialize it twice: first as an HL7 v2.5.1 ORU^R01 message, then as an HL7 FHIR R4 US Core Observation JSON resource.

1. HL7 v2.5.1 ORU^R01 payload (pipe-delimited MLLP stream)

The ORU^R01 message is a pipe-delimited stream of MSH, PID, PV1, OBR, and two OBX segments, plus a custom ZPV segment carrying the fall-risk score. It has three traps:

  • Positional fragility: Fields resolve by 1-based pipe index (PID-3 holds MRN-90421, PV1-7 holds attending NPI 1409928371, OBX-5 holds 128). If a regional hospital places the clinic MRN in PID-2 or sends local code VS_SYS instead of LOINC 8480-6 in OBX-3, unguarded parsers drop clinical values.
  • No historical query: HL7 v2 is a stream of events with no query interface. You can't ask an MLLP socket for "six months of blood pressures"; you only capture events after your listener connects.
  • The Z-segment tax (ZPV): Custom Z-segments are valid HL7 v2 syntax with no international schema. Mapping and testing each hospital's undocumented ZPV or ZIN fields is a big part of why HL7 v2 builds cost $18,000 to $38,000 per hospital.

2. HL7 FHIR R4 US Core Observation payload (RESTful JSON over HTTPS)

Ask a FHIR server for the same reading with GET /fhir/R4/Observation?patient=pat-90421&code=85354-9 and you get back one US Core blood-pressure Observation resource in JSON. It carries the same values as the ORU^R01, but each one sits under a named key instead of a pipe position:

Clinical factHL7 v2 locationFHIR R4 Observation field
PatientPID-3 (MRN-90421)subject.reference = Patient/pat-90421
EncounterPV1-19 (ENC-7710)encounter.reference = Encounter/enc-7710
Panel codeOBR-4 (85354-9^LN)code.coding with system http://loinc.org
Systolic 128 / diastolic 82OBX-5 in two OBX segmentstwo component entries, each a valueQuantity in UCUM mm[Hg]
Attending clinicianPV1-7 (NPI 1409928371)performer = Practitioner/prac-npi-1409928371
Fall-risk score 3custom ZPV segmentextension with its own StructureDefinition URL and valueInteger 3
Conformancenone declaredmeta.profile points at the US Core blood-pressure profile

Four things change in the FHIR version:

  1. Explicit vocabulary URIs: Every code carries its namespace (http://loinc.org, http://unitsofmeasure.org, or NIH NLM RxNorm on MedicationRequest resources), ending positional guesswork.
  2. Addressable REST references: Patient/pat-90421 and Encounter/enc-7710 are fetchable URLs rather than duplicated strings inside every lab packet.
  3. Isolated extension URLs instead of Z-segments: Custom fields (fall-risk-score) sit inside typed extension objects without mutating standard US Core blood-pressure keys.
  4. Scoped OAuth 2.0 tokens: SMART on FHIR restricts bearer tokens to scopes like patient/Observation.rs or user/MedicationRequest.cruds plus verified clinician fhirUser identity.

Why hospitals still run HL7 v2 alongside FHIR in 2026

Polling REST APIs for floor events doesn't scale well in a hospital. When an ED registers a trauma patient (ADT^A04), transfers an ICU bed (ADT^A02), or posts a critical troponin lab (ORU^R01), the internal subsystems that depend on it (pharmacy cabinets, PACS radiology, dietary, billing DFT routers) expect the event pushed to them within a fraction of a second. We design for sub-200 ms delivery.

HL7 publishes R5 Topic-Based Subscriptions and a Subscriptions Backport IG for R4, but vendor support varies by EHR and site, so confirm it per target, whether that's open.epic.com or Oracle Health (our Epic vs Cerner comparison covers both). Coverage is uneven on the query side too. ASTP Data Brief No. 79 (2024 data) reports that 70% of US non-federal acute care hospitals let patients access their data through apps configured to FHIR specifications: 83% of hospitals on a market-leading EHR versus 56% on other EHRs, and 64% in outpatient settings (69% inpatient). Smaller independent and Critical Access hospitals still lag, and real-time floor triggers remain predominantly HL7 v2. So we treat HL7 v2 (or FHIR Subscriptions) as the event trigger and FHIR R4 REST as the state query. (See EHR vs EMR and EHR integration for how certification splits hospital targets.)

MLLP vs SMART on FHIR: transport and security

Payload syntax aside, the two protocols fail in different ways during production incidents, and that shapes DevOps staffing and monitoring budgets:

  • HL7 v2 MLLP socket lifecycle and MSA acknowledgements: MLLP (Minimal Lower Layer Protocol) is the framing layer that wraps each HL7 v2 message between start byte 0x0B and trailer bytes 0x1C 0x0D on a TCP socket. An MLLP interface holds open a single long-lived socket inside a site-to-site IPSec VPN tunnel. After sending one message, the hospital's outbound queue blocks until your Mirth listener returns an ACK segment containing MSA|AA (Application Accept). If your downstream database slows down or returns MSA|AE (Application Error), the hospital's FIFO channel backs up or halts delivery for every patient behind that message. So production listeners should decouple socket ingestion from business logic: validate syntax, persist the raw payload to an encrypted durable queue, return MSA|AA fast (we target under 50 milliseconds), and process transformations asynchronously.
  • SMART on FHIR v2 OAuth 2.0, PKCE, and Backend Services JWTs: FHIR R4 runs statelessly over TLS 1.2+ using three OAuth 2.0 profiles. Clinician EHR Launch passes an iss server URL and temporary launch parameter from Epic Hyperspace or Oracle PowerChart, exchanging an authorization code with PKCE for a short-lived access token carrying active patient, encounter, and fhirUser OIDC claims. Patient Standalone Launch delegates login to MyChart or another patient portal; Epic's public FHIR APIs carry no per-call fee, though production terms vary by health system. Headless Backend Services integrations register a public JSON Web Key Set (JWKS) endpoint and sign RS384 or ES384 client-assertion JWTs to obtain system/*.rs tokens for nightly Bulk Data $export cohorts without human logins.

2026 US and EU regulatory mandates shaping your HL7 vs FHIR roadmap

In 2026, ONC's (g)(10) rule and CMS-0057-F make FHIR R4 the required API in US healthcare, while HL7 v2 remains unregulated plumbing inside hospitals. Four regulatory regimes shape which interface your healthcare customers expose in 2026 and 2027:

  1. ONC / ASTP 45 CFR 170.315(g)(10) & HTI-1: Under 45 CFR 170.315, every Certified EHR Technology (CEHRT) vendor must expose FHIR R4.0.1 APIs conforming to HL7 US Core, SMART App Launch v2, and Bulk Data ($export), mapped to USCDI (45 CFR 170.213). Separately, the information blocking rules in 45 CFR Part 171 carry civil penalties of up to $1 million per violation for certified developers under 42 U.S.C. 300jj-52.
  2. CMS Interoperability & Prior Authorization Final Rule (CMS-0057-F): Under CMS-0057-F, Medicare Advantage, Medicaid, and CHIP plans must return prior-authorization decisions within 72 hours (expedited) or 7 calendar days (standard) from January 1, 2026, for medical items and services, not drugs. QHP issuers on the federal exchanges sit outside that timeframe requirement but inside the API one: by January 1, 2027, impacted payers must run production FHIR R4 Provider Access, Payer-to-Payer, and Prior Authorization APIs, and add prior-authorization data to the Patient Access API they already operate. CMS recommends, but doesn't mandate, the Da Vinci CRD, DTR, and PAS guides for that last API.
  3. HIPAA Security Rule (45 CFR 164.312): Under 45 CFR Part 164 Subpart C, both HL7 v2 MLLP sockets (inside IPSec/TLS tunnels) and FHIR HTTPS calls need access controls, unique user identification, audit controls, and transmission security. Encryption is an addressable specification there, not a flat requirement. We keep audit logs for six years as a design choice that matches HIPAA's documentation retention period in 164.316(b)(2) (more in our HIPAA compliant software development guide).
  4. European Health Data Space (EHDS, Regulation (EU) 2025/327): The European Health Data Space Regulation (Regulation (EU) 2025/327, applying from 26 March 2027) requires EHR systems to support the European electronic health record exchange format (EEHRxF) for priority categories: patient summaries, ePrescriptions and eDispensations, medical images and reports, lab results, and discharge reports. HL7 Europe FHIR Implementation Guides are the expected technical basis, but the law doesn't mandate them by name, so check each Commission implementing act.
Unsure whether your hospital targets require SMART on FHIR R4, HL7 v2 MLLP, or both?
Share your clinical workflow and target EHR list (Epic, Oracle Health, MEDITECH, athenahealth, or EU EHRs). Our interoperability architects will verify certified (g)(10) endpoints and scope the fastest path through hospital InfoSec.
Audit your EHR integration path

HL7 v2 vs FHIR R4 integration cost and effort matrix (2026)

A single SMART on FHIR sprint costs from $15,000, an HL7 v2 MLLP interface $18,000 to $38,000 per site, and a hybrid adapter $40,000 to $75,000. We benchmark HL7 FHIR integration cost at two rate anchors: a senior CEE healthtech squad at $70/hr blended ($2,800/wk) and a US onshore clinical integration agency at $165/hr blended ($6,600/wk), in line with Idealogic's healthtech pricing bands:

Integration or sidecar scopeHoursWorked midpointCEE squad ($70/hr)US agency ($165/hr)Timeline & multi-site scaling
1. Single SMART on FHIR R4 Sprint (Epic, Oracle, athena)~215 to 400 hrs300 hrsFrom $15,000 ($15,000 to $28,000; worked: $21,000)$35,475 to $66,000 (worked: $49,500)4 to 8 weeks: OAuth2/OIDC launch, US Core read/write; scales near O(1)
2. Point-to-Point HL7 v2 MLLP (ADT+SIU+ORU + VPN)~260 to 540 hrs400 hrs$18,000 to $38,000 /site (worked: $28,000)$42,900 to $89,100 /site (worked: $66,000)5 to 9 weeks/site: Mirth channels, Z-segments & VPN; scales O(N)
3. Hybrid Dual-Rail Sidecar (SMART FHIR + HL7 v2 + $export)~570 to 1,070 hrs820 hrsFrom $40,000 ($40,000 to $75,000; worked: $57,400)$94,050 to $176,550 (worked: $135,300)8 to 14 weeks: Embedded EHR UI + Mirth event engine + canonical store
4. Telehealth & Care Platform (Web/mobile + HL7/FHIR)~930 to 1,800 hrs1,300 hrsFrom $65,000 ($65,000 to $126,000; worked: $91,000)$153,450 to $297,000 (worked: $214,500)12 to 20 weeks: Multi-role clinical platform + bidirectional EMR sync
5. Dedicated Healthtech SquadContinuous~260 hrs/moFrom $18,000/mo$42,900 to $55,000/moMonthly: Hospital rollouts, Da Vinci PAS & HIPAA/SOC 2 velocity

Path 1: Single SMART on FHIR R4 sprint (From $15,000 | 4 to 8 weeks)

When targeting ONC-certified hospitals on Epic, Oracle Health, or athenahealth for standalone patient access or clinician EHR launch, our AI and system integration team delivers a 4 to 8 week sprint from $15,000. Standardized .well-known/smart-configuration OAuth 2.0 PKCE flows and US Core profiles (unpacked step by step in our SMART on FHIR engineering guide) mean later certified hospital activations need minimal code changes.

Path 2: Point-to-point HL7 v2 MLLP interface ($18,000 to $38,000 per site | 5 to 9 weeks)

Connecting to community hospitals, diagnostic LIMS software platforms, or uncertified specialty EMRs over HL7 v2 MLLP (ADT, SIU, ORU) via Mirth Connect / NextGen Connect runs $18,000 to $38,000 per site in CEE. Every site requires its own IPSec VPN tunnel, MSH-4 facility routing, local OBX-3 vocabulary lookup tables, Z-segment mapping, and analyst sign-off.

Path 3: Hybrid dual-rail clinical sidecar and canonical adapter ($40,000 to $75,000 | 8 to 14 weeks)

For B2B startups and provider networks scaling across multiple health systems, a hybrid dual-rail sidecar and canonical adapter via Idea to Product ($40,000 to $75,000 in CEE) pairs embedded SMART on FHIR workflows with an HL7 v2 event engine (see EHR implementation cost and telemedicine app development cost for full platform budgets).

Worked example, assumptions stated in text: 820-hour ($57,400 CEE / $135,300 US) hybrid SMART on FHIR sidecar and HL7 v2 Mirth canonical adapter effort split

Inside those 820 hours ($57,400 CEE / $135,300 US):

  • SMART on FHIR R4 UI, OAuth2 & US Core (30% / 246 hrs / $17,220 CEE): Clinician iframe launch, Backend Services RS384 JWT auth, Bulk $export, and idempotent DocumentReference / Observation writes with Provenance.
  • HL7 v2 MLLP & Mirth / NextGen channels (25% / 205 hrs / $14,350 CEE): HA MLLP listeners, ACK/NAK handling, and transformers converting ADT, SIU, ORU, and Z-segments into internal JSON events; see legacy system modernization.
  • Canonical clinical map & dead-letter queues (20% / 164 hrs / $11,480 CEE): EMPI (system, value) resolution, LOINC/SNOMED/RxNorm normalization, durable retry queues, and drift checks; see api-integration and system integration.
  • HIPAA 164.312 audit logs, KMS & IPSec VPNs (15% / 123 hrs / $8,610 CEE): Automated IPSec/TLS tunnels, KMS encryption, RBAC, and WORM PHI logs kept for six years (our design choice, in line with HIPAA documentation retention).
  • Sandbox harnesses & hospital security QA (10% / 82 hrs / $5,740 CEE): Epic/Oracle sandbox test suites, MLLP disconnect chaos tests, and hospital InfoSec evidence packs.

3-year 5-hospital TCO: HL7 v2 vs FHIR hybrid adapter vs managed iPaaS

Over 36 months and five hospitals, an owned hybrid adapter built in CEE comes to about $124,000 in our model, roughly half the cost of per-site HL7 v2 builds or a managed iPaaS. Redox-style integration platforms and Health Gorilla-style data networks sell fast first connections at quote-based prices with no public list; our model assumes $5,500/month. Per-site HL7 v2 builds multiply maintenance linearly instead. Here's how 5 hospital deployments over 36 months add up:

Modeled 36-month TCO across 5 hospital deployments: owning a CEE-built Hybrid SMART on FHIR + Mirth canonical adapter ($124k) saves $111.4k vs per-site HL7 v2 P2P ($235.4k) and $118.4k vs managed iPaaS ($242.4k)
36-month 5-hospital cost lineHL7 v2 P2P (5 builds)Managed iPaaS (Broker)Owned Hybrid (US $165/hr)Owned Hybrid (CEE $70/hr)
Core build + Sites 1 to 5 setup$140,000 (5 x 400h x $70)$31,800 ($15k + 240h hook)$194,700 (820h + 4 x 90h)$82,600 ($57.4k + 4 x $6.3k)
36-month broker / API tolls$0 (direct VPNs)$198,000 ($5,500/mo x 36)$0 (no broker tolls; Mirth license excluded)$0 (no broker tolls; Mirth license excluded)
36-month BAA cloud, VPN & ops$95,400 ($2,650/mo VPN+ops)$12,600 ($350/mo cloud)$41,400 ($1,150/mo HA cloud)$41,400 ($1,150/mo HA cloud)
Modeled 3-year 5-site TCO$235,400$242,400$236,100$124,000 (Saves $111.4k+)

One caveat on the $0 toll line: it excludes any Mirth license. Mirth Connect 4.5.2 was the last open-source release, and version 4.6 and later are commercially licensed, so add a NextGen quote to this model if you run a current version.

A managed integration platform gets your first hospital live quickly, and by the fifth hospital its monthly fee is a real line in your gross margin. Owning a canonical FHIR R4 domain layer paired with a Mirth/NextGen Connect HL7 v2 adapter lets you onboard certified Epic sites over SMART on FHIR without a new build per site, and absorb legacy MLLP feeds without the $66,000 annual broker bill in our model.

Decision framework and shipped Idealogic HL7 + FHIR proof

Four rules cover most HL7 vs FHIR selection calls in discovery:

  1. Pure SMART on FHIR R4 (From $15,000): Patient-authorized mobile apps, clinician-launched tools inside Epic/Oracle Health, and CMS-0057-F payer prior-authorization workflows.
  2. HL7 v2 MLLP ($18,000 to $38,000/site): Single uncertified EMRs lacking FHIR APIs, or inpatient workflows that need ADT/SIU/ORU broadcasts pushed in well under a second where FHIR Subscriptions aren't available.
  3. C-CDA / Facilitated FHIR over TEFCA: Direct-treatment providers pulling nationwide longitudinal summaries across HIEs without bilateral VPNs.
  4. Hybrid Dual-Rail Canonical Adapter ($40,000 to $75,000): Multi-hospital B2B products using HL7 v2 ADT/SIU events to trigger background workers that hydrate structured state via FHIR R4 REST APIs.

AddMed runs both rails in regulated clinical production, and Chaindoc covers the audit-trail side:

  • Bidirectional HL7 v2 and FHIR R4 EMR sync (AddMed): Engineered end to end for our healthtech practice, AddMed pairs an elderly-accessible patient medication app with a clinician adherence dashboard and predictive drift alerts. AddMed imports and writes back medication schedules across both HL7 v2 streams and FHIR R4 REST APIs using durable retry queues, idempotent external keys (preventing duplicate medication orders), and full audit logs across HIPAA and GDPR clinical pilots with zero data incidents.
  • Regulated e-signatures & SHA-256 healthcare audit trails (Chaindoc): Shipped in 22 weeks via custom software development, delivering eIDAS/ESIGN-qualified consent signatures and tamper-evident audit timelines across 10,000+ signed agreements at 99.9% uptime.

Teams scaling across more hospital networks, Da Vinci PAS endpoints, or EU EHDS profiles can also embed a HIPAA-trained Idealogic dedicated development team from $18,000/month. Whichever way your FHIR vs HL7 decision lands, verify (g)(10) CHPL certification on day one and freeze your minimum USCDI data classes. Then wrap every vendor edge behind a canonical FHIR/Mirth adapter, so a hospital upgrade is less likely to stall your clinical roadmap. For the wider product picture, see our guide to medical practice management software.

Ready to scope your SMART on FHIR sprint, HL7 v2 Mirth engine, or hybrid clinical sidecar?
Bring us your data classes, write-back requirements, and target EHR vendors. Our senior healthcare engineers will return a fixed-milestone architecture and TCO estimate.
Get a fixed HL7 & FHIR integration estimate

Occasional field notes on building software, no spam

Protected by Cloudflare Turnstile · Privacy · Terms

Artem Zaitsev
Artem ZaitsevCTO · Idealogic Development OÜ

CTO and Co-founder at Idealogic. Directing engineering, systems architecture, security, and full-stack delivery across web, mobile, and blockchain.

Frequently asked questions

  • HL7 is the standards organization (Health Level Seven International), and FHIR is one of the standards it publishes. In practice, the difference between HL7 and FHIR comes down to HL7 v2 versus FHIR: HL7 v2 pushes pipe-delimited event messages over MLLP sockets inside a VPN, while FHIR exposes JSON resources through REST APIs over HTTPS with OAuth 2.0. Most hospitals run both.

  • All three standards are published by Health Level Seven International (HL7) for different clinical paradigms. HL7 v2 transmits event-driven, pipe-delimited ASCII segments (such as MSH, PID, PV1, and OBX) over persistent TCP sockets framed with Minimal Lower Layer Protocol (MLLP) inside IPSec VPN tunnels. HL7 C-CDA packages longitudinal clinical summaries as XML documents exchanged over SOAP or Direct secure messaging. HL7 FHIR R4 exposes modular JSON or XML clinical resources over RESTful HTTPS endpoints secured by OAuth 2.0 and OpenID Connect SMART on FHIR.

  • FHIR R4 excels at synchronous request-and-response queries and third-party app launches, whereas hospital floors rely on sub-second internal event broadcasts whenever a patient is admitted (ADT A01), discharged (ADT A03), scheduled (SIU S12), or resulted by an analyzer (ORU R01). Because decades of laboratory, radiology, pharmacy, and billing engines subscribe reliably to existing HL7 v2 MLLP feeds and FHIR R5 Topic-Based Subscriptions are only gradually entering certified EHRs, hospitals operate both rails in parallel.

  • With a senior Central and Eastern European healthtech squad billing $70 per hour, a single read-and-launch SMART on FHIR R4 integration sprint against Epic, Oracle Health, or athenahealth starts from $15,000 ($15,000 to $28,000 over 4 to 8 weeks; worked 300-hour midpoint: $21,000 CEE versus $49,500 at $165 per hour in the US). A point-to-point HL7 v2 MLLP interface (ADT, SIU, and ORU via Mirth/NextGen Connect plus site-to-site VPN) runs $18,000 to $38,000 per health-system site over 5 to 9 weeks (worked 400-hour midpoint: $28,000 CEE versus $66,000 US).

  • HL7 v2 gives hospitals wide flexibility over optional fields, local vocabulary pickup codes, and custom Z-segments, and every connection requires a dedicated IPSec VPN tunnel plus analyst mapping at each health system, making rollout cost scale linearly at O(N) per hospital. Standardized FHIR R4 endpoints certified under ONC 45 CFR 170.315(g)(10) enforce HL7 US Core profiles, LOINC/SNOMED/RxNorm terminologies, and OAuth 2.0 SMART App Launch over TLS, letting one adapter scale near O(1) across certified EHRs after app-gallery listing.

  • ONC/ASTP 45 CFR 170.315(g)(10) and HTI-1 require certified US EHRs to expose standardized HL7 FHIR R4.0.1 APIs, HL7 US Core profiles, SMART App Launch v2, and Bulk Data NDJSON $export mapped to USCDI. The CMS Interoperability and Prior Authorization Final Rule (CMS-0057-F) sets 72-hour expedited and 7-calendar-day standard prior-authorization decision timeframes from January 1, 2026 for Medicare Advantage, Medicaid, and CHIP plans (medical items and services, not drugs). By January 1, 2027, impacted payers, including QHP issuers on the federal exchanges, must run FHIR R4 Provider Access, Payer-to-Payer, and Prior Authorization APIs and add prior-authorization data to the Patient Access API they already operate.

  • Commercial healthcare integration platforms are quote-based and publish no price list. Our model assumes $5,500 per month, which comes to about $242,400 over 36 months across five hospital customers once setup and cloud costs are added. An owned canonical adapter that combines SMART on FHIR R4 queries with a Mirth/NextGen Connect HL7 v2 event engine runs $40,000 to $75,000 in CEE ($57,400 worked 820-hour core build) and totals about $124,000 over three years across the same five hospitals. That's $118,400 less, and the vendor mappings stay yours. Budget separately for a NextGen Connect license if you run version 4.6 or later.

  • In HL7 v2, any segment beginning with the letter Z (such as ZPV or ZIN) holds custom site-specific fields with no machine-readable schema, forcing engineers to parse PDF implementation guides per hospital. In FHIR R4, custom attributes use structured Extension objects pointing to a canonical StructureDefinition URL while preserving every standard US Core element intact, allowing parsers to validate payloads automatically without breaking downstream consumers.

  • Building a HIPAA-aware hybrid clinical sidecar or middleware platform combining an embedded SMART on FHIR clinician UI, HL7 v2 MLLP event ingestion, and Bulk FHIR $export runs $40,000 to $75,000 over 8 to 14 weeks in CEE (worked 820-hour midpoint: $57,400 CEE versus $135,300 US). Ongoing BAA cloud infrastructure, high-availability Mirth/NextGen clusters, and security maintenance run $900 to $2,200 per month, or teams can retain a dedicated Idealogic healthtech squad starting from $18,000 per month.

Still unanswered
Ask us directly

A senior engineer replies under 4 hours.