Skip to content
Industry reportsAll articles

EHR vs EMR: The Architectural Difference for Health Tech

An EMR is a single clinic's digital chart; an EHR is a longitudinal patient record engineered to travel across institutions. Here is how ONC certification, USCDI, HL7 v2, and FHIR R4 separate the two and shape your integration architecture.

Artem Zaitsev
Artem ZaitsevCTO · Idealogic
Author: Artem ZaitsevPublished: Updated: Reading time: 26 minHow we write →
On this page
Idealogic, EHR vs EMR: records taxonomy in healthcare software

The EHR vs EMR distinction comes down to a single architectural boundary: an electronic medical record (EMR) is a digital chart built to stay inside one clinic, while an electronic health record (EHR) is a longitudinal clinical system engineered to exchange patient data across independent healthcare organizations. Clinicians and vendor marketing teams use the two acronyms interchangeably. Engineers can't. For a digital health product, EMR vs EHR decides whether you connect through a standardized REST API or stall on custom database bridges.

If you are scoping a patient-facing mobile application, a clinical decision support tool, or a specialty care platform, find out first whether your target customers run an ONC-certified EHR or an isolated specialty EMR. The answer sets your authentication protocol, your terminology mapping workload, and your rights under federal Information Blocking regulations. It also tells you whether one integration adapter can serve fifty hospitals or only one practice.

The short version

  • EMR (Electronic Medical Record) is an intra-organizational digital chart: it records diagnoses, encounter notes, and treatment inside a single practice and rarely exposes standardized external APIs.
  • EHR (Electronic Health Record) is an inter-organizational longitudinal record: it aggregates clinical history across hospitals, labs, pharmacies, and specialists using standardized data models and national exchange networks.
  • Regulatory certification is the practical dividing line: in the United States, what engineers call a true EHR is a health IT module certified under the ONC Health IT Certification Program (45 CFR Part 170). It captures USCDI data classes and exposes a SMART on FHIR R4 API under 45 CFR § 170.315(g)(10). The HTI-5 final rule revises that criterion from December 28, 2026.
  • Vocabulary binding separates the data models: an EMR can store local picklist codes and free-text notes, whereas an interoperable EHR binds clinical entities to SNOMED CT, LOINC, RxNorm, and ICD-10-CM so external systems can compute over them safely.
  • Information Blocking rules (45 CFR Part 171) protect app connections: health systems and certified EHR vendors cannot arbitrarily refuse patient-authorized SMART on FHIR connections, backed by Office of Inspector General (OIG) penalties up to $1 million per violation for certified developers.
  • Build vs integrate follows the same boundary: integrate with Epic, Oracle Health, and athenahealth when selling software to established health systems; build a focused clinical module or practice management layer only when you run a captive care model or serve a workflow legacy charts can't represent.

EMR vs EHR: what each term means

An EMR (electronic medical record) is the digital chart one practice keeps about its own patients. An EHR (electronic health record) is a longitudinal record built to be shared, so hospitals, labs, pharmacies, and the patient can all read and add to it.

Most EMR systems on the market do the first job well and stop there. One caveat: US regulations don't define "EMR" and "EHR" as separate legal categories. ASTP/ONC certifies health IT modules against specific criteria, and the EMR vs EHR split is shorthand for whether a product holds the interoperability ones.

The architectural boundary: single-organization EMR vs interoperable EHR

An EMR and an EHR start with the same local job. Both record who the patient is, what the clinician observed, what was ordered, and what treatment was delivered. They diverge five seconds after the encounter note is signed.

In a traditional single-organization EMR, the database schema is designed around the internal workflow of one clinic or specialty group. A dermatology practice, an independent infusion center, or a cash-pay clinic might run an EMR whose tables track local chart numbers, provider schedules, SOAP notes, and local billing codes. When a patient is referred to an outside cardiologist or admitted to a regional hospital, the EMR exports a PDF summary or triggers an outbound fax. The database never expects an external clinical system to query its records programmatically in real time, and it does not maintain foreign patient identifiers from outside institutions.

Four engineering boundaries that separate a single-organization EMR chart from a Cures Act certified EHR.

An EHR is architected from the ground up as a node in a distributed clinical data network. Instead of assuming the local clinic is the entire clinical world, an EHR assumes the patient will visit multiple hospitals, national laboratories (Quest, LabCorp), retail pharmacies via Surescripts, and competing ambulatory clinics. To prevent a patient's record from fragmenting across those stops, the EHR implements four structural layers that a basic EMR omits:

  1. Cross-organizational identity management: An Enterprise Master Patient Index (EMPI) that links a local medical record number (MRN) with external organizational identifiers using demographic traits and probabilistic matching.
  2. Standardized clinical ontologies: Strict binding of clinical rows to federally mandated vocabularies defined in the United States Core Data for Interoperability (USCDI) so that an allergy, lab value, or active medication retains exact semantic meaning across systems.
  3. Document and resource exchange engines: Built-in support for event-driven HL7 v2 streams, Consolidated Clinical Document Architecture (C-CDA) clinical summaries, and RESTful HL7 FHIR R4 resources.
  4. Trust framework participation: Native connectors to national health information networks, including the Trusted Exchange Framework and Common Agreement (TEFCA), Carequality, and CommonWell Health Alliance.

How HITECH and the 21st Century Cures Act codified the difference

The reason "EHR" carries specific technical guarantees in the United States is regulatory. Before 2009, software vendors called any computerized chart an EMR or an EHR interchangeably. The HITECH Act of 2009 changed that by tying roughly $35 billion in Medicare and Medicaid incentive payments to the adoption of Certified EHR Technology (CEHRT).

A decade later, Congress and the Office of the National Coordinator for Health Information Technology (ONC, renamed ASTP/ONC in 2025 when it became the Assistant Secretary for Technology Policy) closed the loopholes left by early certification. Under the ONC 21st Century Cures Act Final Rule, codified at 45 CFR Part 170, a Health IT Module certified to the 170.315(g)(10) criterion must expose standardized, non-proprietary APIs for patient and population services. Certification attaches to the module and the criterion, not to the word "EHR" on a sales page. The HTI-5 final rule, effective December 28, 2026, revises (g)(10) and several other criteria, so read the current text before you quote a requirement to a customer.

When an engineering team asks whether a clinic uses an "EMR" or an "EHR," the actionable question is: Is this system listed on the ONC Certified Health IT Product List (CHPL) with active 170.315(g)(10) standardized API certification? If yes, the vendor must provide documented FHIR R4 endpoints and SMART on FHIR authorization. If no, you're dealing with an uncertified EMR and whatever custom export that vendor offers.

10-dimension engineering comparison: EMR vs EHR

For software architects and technical due-diligence teams, high-level definitions don't size an integration backlog. The table below maps the ten engineering dimensions that separate a single-clinic EMR from an ONC-certified EHR.

Engineering dimensionSingle-organization EMRInteroperable ONC-certified EHRImpact on third-party software builders
1. Data model & record scopeEpisodic tables scoped to one clinic.Longitudinal graph separating local and external records.EHR integrations must distinguish local records from outside imports to avoid sync loops.
2. Patient identity resolutionLocal integer chart ID or clinic MRN.Enterprise Master Patient Index (EMPI) storing (system, value) tuples.Apps query EHRs by OID/URI namespace and identifier value rather than a single integer ID.
3. Clinical terminology bindingCustom clinic picklists or free-text notes.Enforces USCDI v3 baseline bindings (newer USCDI versions via SVAP): SNOMED CT, LOINC, RxNorm, CVX, ICD-10-CM.EMRs require per-clinic lookup tables; EHRs let you compute directly over standard codes.
4. Core exchange standardsProprietary CSV/JSON exports, PDF, efax, or basic HL7 v2.Mandatory HL7 FHIR R4.0.1 (US Core), HL7 C-CDA R2.1, and HL7 v2.5.1+ streams.About seven in ten hospitals report using standards-based APIs such as FHIR for patient access (ASTP/ONC data brief); uncertified EMRs need bespoke connectors.
5. API architecture & authVendor API keys, basic auth over VPN, or no API.SMART on FHIR App Launch using OAuth 2.0, OIDC, PKCE, and RS384/ES384 JWTs.SMART on FHIR enables single sign-on and active patient/encounter context inside the chart.
6. HIE & network connectivityDisconnected from national networks; uses portal lookups or fax.Connects to TEFCA QHINs, Carequality, and CommonWell via IHE XCA and FHIR.Apps on an HIE or QHIN pull longitudinal history nationwide; isolated EMR data stays hidden.
7. Patient portal & app accessOptional portal; rarely supports third-party OAuth apps.Mandatory patient portal plus third-party FHIR API access under 170.315(g)(10).Patient apps self-register and let patients pull records via MyChart or equivalent logins.
8. Information Blocking rulesProvider is covered by 45 CFR Part 171, but uncertified vendor is exempt from IT fines.Both provider and certified EHR vendor are regulated under 45 CFR Part 171.Fees for a patient's electronic access to their own EHI fall outside the Fees exception; OIG fines reach $1M per violation.
9. Provenance & audit loggingBasic local login and edit logs for HIPAA §164.312(b).Granular tracking via FHIR Provenance and AuditEvent resources.External apps writing to an EHR must attach provenance metadata identifying the source.
10. Bulk population exportCustom SQL queries or nightly CSV SFTP dumps.Standardized FHIR Bulk Data Access ($export NDJSON files) under 170.315(g)(10).Population health platforms ingest cohort data across EHRs with one NDJSON pipeline.

EMR vs EHR data traps: terminology binding and provenance

Teams entering health tech from fintech or B2B SaaS often focus on transport protocols (REST vs HL7 v2 sockets) and underestimate semantics. A standalone clinic EMR might store blood pressure in two custom columns (bp_sys, bp_dia) or an unvalidated JSON blob. In a certified EHR on the USCDI v3 baseline (vendors can adopt newer USCDI versions approved through SVAP), blood pressure is an HL7 FHIR Observation profiled by the HL7 US Core Implementation Guide using the LOINC panel code 85354-9, systolic 8480-6, and diastolic 8462-4 in UCUM mm[Hg] units. Active problems use SNOMED CT, medications use RxNorm, and immunizations use CVX.

Data lineage is equally strict. When an EHR imports a medication list from a pharmacy network or remote monitoring app, it stages external items alongside a FHIR Provenance resource recording the originating organization, software agent, and timestamp. A clinician then reconciles verified items into the active chart, a boundary you must design for in any EHR integration that writes back to the chart.

How external digital health applications exchange data with an EHR

When your software integrates with a modern EHR (Epic, Oracle Health, Meditech Expanse, or athenahealth), the exchange follows a standardized stack anchored by HL7 FHIR R4 and the SMART App Launch specification. For a head-to-head architectural breakdown of the two largest US acute care vendors, see our 2026 Epic vs Cerner (Oracle Health) CTO and integration guide.

End-to-end SMART on FHIR clinical data exchange between an external digital health app and a certified EHR.

Step 1: SMART on FHIR OAuth 2.0 and OpenID Connect launch

SMART on FHIR defines two interactive launch modes plus a headless backend service profile:

  • EHR Launch (clinician-facing): A doctor clicks a button inside Epic Hyperspace or Oracle Health PowerChart. The EHR opens your app inside an iframe or tab, passing an iss FHIR server URL and a launch token. Your app queries .well-known/smart-configuration, executes OAuth 2.0 with PKCE, and receives an access token plus patient, encounter, and fhirUser context with no secondary login.
  • Standalone Launch (patient-facing): A patient selects their health system in your mobile app and signs into their patient portal (such as Epic MyChart). Once they approve scopes (patient/MedicationRequest.read, patient/Observation.read), the EHR returns a scoped OAuth 2.0 token and Patient.id.
  • Backend Services (system-to-system): For background syncs or healthcare data analytics pipelines, your server registers a JSON Web Key Set (JWKS) URL, signs an RS384 or ES384 JWT assertion, and exchanges it for system/*.read or system/*.write tokens.

Step 2: Scoped USCDI v3 FHIR R4 resource queries

With a bearer token, your app queries RESTful endpoints (GET [base]/Observation?patient=[id]&category=vital-signs or GET [base]/Condition?patient=[id]&clinical-status=active). US Core guarantees predictable JSON structures across certified vendors for labs, clinical notes (DocumentReference), allergies, immunizations, and encounter diagnoses.

Step 3: Local clinical workflow and terminology normalization

Real-world EHR payloads still include hospital-specific codes alongside standard terminologies in CodeableConcept.coding. Production apps never bind UI components directly to raw vendor JSON; an anti-corruption adapter extracts canonical LOINC, SNOMED CT, or RxNorm codes into your internal domain schema.

Step 4: Idempotent FHIR write-back and provenance audit logging

Every write back to an EHR (Observation, DocumentReference, MedicationRequest) must be idempotent (using deterministic identifiers or If-None-Exist headers so retries never duplicate clinical records), provenance-tagged (Provenance resource identifying app, user, and timestamp), and audited in a tamper-evident log under the HHS HIPAA Security Rule (45 CFR § 164.312(b)).

By contrast, when a customer runs an uncertified single-clinic EMR, there is no SMART on FHIR endpoint. Your team must use point-to-point HL7 v2 over MLLP/VPN via an interface engine like Mirth Connect, nightly SFTP CSV flat-file batching, or paid proprietary vendor APIs (compare wire-level MLLP segments, JSON resources, and per-site integration budgets in our HL7 vs FHIR guide).

When a founder tells us their app needs to "integrate with the clinic's EMR," our first thirty minutes of discovery go to looking up the exact product version on the ONC Certified Health IT Product List. If it holds 170.315(g)(10) certification, we are building a standard SMART on FHIR adapter. If it does not, we are scoping a custom data bridge and negotiating with a vendor gatekeeper.

National exchange networks: TEFCA, Carequality, and CommonWell

A single SMART on FHIR connection links your app to one institution. What makes an EHR longitudinal across competing hospitals is its connection to national interoperability frameworks. Under the 21st Century Cures Act, ONC/ASTP and the Recognized Coordinating Entity (The Sequoia Project RCE) launched the Trusted Exchange Framework and Common Agreement (TEFCA) across designated Qualified Health Information Networks (QHINs). After the August 2025 expansion there were seven: eHealth Exchange, Epic Nexus, Health Gorilla, KONZA, MedAllies, CommonWell Health Alliance, and Kno2. The list changes, so check the RCE site before you plan around a specific QHIN.

For clinical software builders, national networks offer three capabilities an isolated EMR cannot:

  • Treatment-purpose retrieval: Providers delivering direct care can query clinical summaries from thousands of hospitals and ambulatory EHRs nationwide through a QHIN or Carequality implementer without a separate bilateral data-sharing agreement with each hospital.
  • Individual Access Services (IAS): Consumer apps that verify patient identity (NIST IAL2) can pull longitudinal records across the QHIN network.
  • Facilitated FHIR: TEFCA pairs IHE SOAP document exchange (C-CDA) with Facilitated FHIR for cross-network resource queries.

Information blocking under 45 CFR Part 171: what builders can rely on

Federal Information Blocking regulations at 45 CFR Part 171 prohibit healthcare providers, HIEs/HINs, and developers of certified health IT from interfering with the access, exchange, or use of Electronic Health Information (EHI). EHI is defined at 45 CFR § 171.102 as electronic PHI that would sit in the HIPAA designated record set (45 CFR § 164.501), minus psychotherapy notes and information compiled for litigation. Certified health IT developers and HIEs face HHS Office of Inspector General (OIG) civil monetary penalties of up to $1 million per violation, while providers face CMS Medicare disincentives.

Regulated actors can only refuse or condition an EHI request under an exception in 45 CFR Part 171. These are the eight original ones. HTI-2 later added two more, Protecting Care Access (§ 171.206) and TEFCA Manner (§ 171.403), for ten in total:

  1. Preventing Harm (§ 171.201): Clinician determination that releasing EHI endangers life or physical safety.
  2. Privacy (§ 171.202): Disclosure would violate HIPAA, 42 CFR Part 2, or state consent law.
  3. Security (§ 171.203): Tailored response to a documented security risk, applied non-discriminatorily.
  4. Infeasibility (§ 171.204): Request is technically infeasible, explained in writing within ten business days.
  5. Health IT Performance (§ 171.205): Temporary maintenance windows or rate limits required for system stability.
  6. Manner (§ 171.301): Fulfil the request in the manner asked. If that fails, fall back in order: certified technology, then standard content and transport formats, then an agreed machine-readable format.
  7. Fees (§ 171.302): Cost-based fees are allowed for B2B integrations, but fees for an individual's electronic access to their own EHI don't qualify under this exception.
  8. Licensing (§ 171.303): Interoperability elements must be licensed on reasonable and non-discriminatory (RAND) terms.
Scoping an EHR or EMR integration for your health tech platform?
We audit your target institutions on the ONC CHPL, design the FHIR R4 and HL7 v2 adapter layer, and carry the architecture through institutional security review.
Explore our healthtech engineering practice

PHR vs EMR vs EHR: where consumer and wearable data fits

While EMRs and EHRs are maintained by providers, a Personal Health Record (PHR) is owned and controlled by the patient. Apple Health Records pulls clinical data from participating health systems over FHIR and stores it next to HealthKit data. Android Health Connect mainly aggregates Patient-Generated Health Data (PGHD) from wearables and fitness apps. A provider-run portal is a different product again, covered in our patient portal development guide.

The boundary between a PHR and an EHR determines which regulator governs your stack:

  • HIPAA Security Rule (45 CFR Part 164 Subpart C): Applies whenever your app is offered by or on behalf of a Covered Entity or Business Associate (45 CFR Part 164 Subpart C), requiring BAAs, KMS encryption, and immutable audit logs as detailed in HIPAA-compliant software development.
  • FTC Health Breach Notification Rule (16 CFR Part 318): Governs direct-to-consumer PHR apps with no hospital or health plan in the contract chain, penalizing unauthorized disclosures to analytics or ad trackers.
  • PGHD ingestion into the EHR is the third boundary. Clinicians can't review raw wearable streams. Production patient engagement software and remote monitoring apps store high-frequency telemetry in a cloud time-series database, compute validated daily baselines, and write structured summary Observation or DiagnosticReport resources into the EHR.

Integration vs custom build: when to integrate with Epic, Oracle Health, or athenahealth vs build a clinical module

If your customers are hospitals that already run an enterprise EHR, don't build a standalone EMR. They won't adopt a second chart. The opposite mistake is just as common: tech-enabled virtual clinics stall when they try to force a legacy hospital chart to run high-throughput asynchronous care.

Scenario 1: You sell B2B software to hospitals, health systems, or multi-specialty groups

Verdict: Integrate with the incumbent EHR.

In US acute care, Epic, Oracle Health, and Meditech hold most hospital systems of record. In ambulatory groups, athenahealth is one of the leading vendors. Launch inside the clinician workflow via SMART on FHIR EHR Launch and CDS Hooks, pull context via FHIR R4 US Core endpoints, and write structured outputs back via FHIR or HL7 v2. See our guides on EHR integration and EHR implementation cost for the full sandbox-to-production roadmap and sidecar vs custom build math.

Scenario 2: You operate a tech-enabled specialty clinic, D2C telehealth brand, or multi-site practice

Verdict: Combine a headless FHIR clinical core with a custom Practice Management System (PMS).

When your company is the healthcare provider, split the architecture across three domain boundaries:

  1. Custom Practice Management and Triage Spine: Build patient intake, multi-state licensure routing, and constraint-based scheduling yourself, following the patterns in medical practice management software.
  2. Headless FHIR R4 Clinical Backend or Embedded E-Prescribing: Back your custom clinician UI with an API-first FHIR store (Medplum, Canvas Medical, Zus Health) or embed an e-prescribing module (DoseSpot, DrFirst) for NCPDP SCRIPT and DEA EPCS. Confirm Surescripts certification for the exact product you pick.
  3. Automated Revenue Cycle Handoff: Connect encounter charge capture to an EDI X12 clearinghouse pipeline for 270/271 eligibility and 837P/835 claims, detailed in revenue cycle management software.
Product modelPrimary clinical system of recordRecommended engineering strategyKey standards & interfaces required
Clinical AI / CDS / Ambient ScribeCustomer's Epic, Oracle Health, or Meditech EHRPure integration: SMART on FHIR launch + CDS Hooks + FHIR DocumentReference write-back.SMART App Launch, FHIR R4 US Core, CDS Hooks, HL7 v2 MDM.
Remote Patient Monitoring (RPM) SaaSCustomer's ambulatory EHR (athenahealth, Epic)Hybrid: Patient mobile app + cloud telemetry store + summary FHIR/HL7 sync + CPT export.BLE GATT, HealthKit, FHIR Observation, HL7 v2 ORU, CPT 99453, 99454, 99457, 99458.
Tech-enabled virtual care / D2C telehealthCaptive clinical platform owned by the startupCustom patient app, scheduling PMS, and clinician console on top of a headless FHIR store + eRx SDK.FHIR R4, WebRTC DTLS-SRTP, NCPDP SCRIPT / EPCS, ASC X12 270/271 & 837P.
Multi-location specialty groupSpecialty EMR or custom clinical moduleCustom multi-site PMS, patient portal, and specialty charting; connect HIE/labs via FHIR & HL7 v2.EMPI, HL7 v2 ORM/ORU (Quest/LabCorp), FHIR R4, Carequality / TEFCA.

Engineering an adapter architecture that handles both EHRs and EMRs

When we architect custom software development platforms in our healthtech practice, we isolate the clinical record boundary behind a Canonical Clinical Adapter Pattern: core tables model patients, encounters, observations, and medications using strongly typed schemas indexed by SNOMED CT, LOINC, and RxNorm alongside a tenant-scoped external identity map; per-target ingress/egress adapters handle OAuth token refresh or MLLP framing; and durable dead-letter queues enforce idempotent retries and drift detection.

We put this architecture into production when building AddMed, a HIPAA- and GDPR-compliant medication management platform that synchronizes medication schedules and adherence data bidirectionally with clinic record systems via HL7 and FHIR, detailed in the AddMed case study.

EHR vs EMR cost: athenaOne, NextGen and Medplum over 36 months

Once collections scale, the EMR vs EHR choice turns into a finance question. A multi-site specialty group can stay on a legacy clinic EMR, move to a revenue-share ambulatory EHR, or pair a headless FHIR R4 clinical data repository (Medplum or Canvas Medical) with a clinical UI it owns.

Take a 35-provider multi-site specialty group with $12.0M a year in net collections ($36.0M over 36 months). athenaOne prices as a percentage of collections. The rate is negotiated and not published, so we model 4.5%: $540,000 a year, $1,620,000 over 36 months. Under that model the software bill grows with every new physician, whether or not the product gains a specialty workflow. The vendor prices below are illustrative budgeting assumptions, not quotes. For the implementation side of the math, see EHR implementation cost.

Evaluation DimensionathenaOne (athenahealth)NextGen Enterprise / eClinicalWorksCanvas Medical (Commercial Headless EHR)Medplum (Apache-2.0 FHIR R4 CDR) + Owned Specialty Clinical UX
Commercial Pricing ModelNegotiated percentage of net monthly collections (4.5% assumed on $12M/yr = $540k/yr) + Marketplace partner feesPer-provider seats ($450 to $650/provider/mo assumed) + paid HL7/FHIR lab/HIE interface add-onsActive-patient volume SaaS with unlimited provider seats ($8k to $15k/mo assumed at 35-provider patient volume)Medplum $2k/mo Production ($6k/mo Premium turnkey labs/HL7; $0 self-hosted Apache-2.0 core); you own the clinical and PMS code
Clinician Charting & Specialty UXFixed ambulatory browser chart; asynchronous or specialty protocols need workaroundsTemplate-driven desktop/cloud forms built for conventional visitsProgrammable Python plugin SDK inside Canvas clinician chart; custom patient appCustom Next.js / React clinician console and mobile patient app built around your specialty protocol
ONC HTI-1, USCDI v3 & FHIR R4 APIONC-certified SMART on FHIR (g)(10), but B2B write-back runs through a paid API partner programONC-certified core, yet custom HL7 v2 / FHIR bi-directional bridges incur per-interface feesAPI-first FHIR platform with the Canvas Medical Python workflow SDK (check its CHPL listing)Native HL7 FHIR R4 CDR aligned with ONC HTI-1 (45 CFR Part 170), USCDI v3 & SMART on FHIR
Security (HIPAA 164.312) & Co-Pay RailsVendor-hosted HIPAA BAA & locked patient portal checkoutVendor-hosted HIPAA BAA; rigid patient payment portalManaged HIPAA BAA; custom patient checkout integrationAWS KMS HIPAA Security Rule (45 CFR 164.312) audit logs + PCI DSS v4.0.1 patient co-pay (typically SAQ A when payment pages are fully outsourced) & X12 837P/835 EDI
  • When incumbent ambulatory EHRs win: Choose athenaOne for a traditional 3-to-8-provider primary-care clinic with under $2.5M/yr in collections that wants outsourced payer rules and no engineering headcount. eClinicalWorks or NextGen suit a conventional bricks-and-mortar practice that fits standard SOAP templates. Canvas Medical fits a venture-backed care startup that wants a ready chart UI before it builds custom clinician screens.
  • Where percentage-of-collections and per-interface fees hurt a $12M/yr specialty group: In this model you pay athenaOne 4.5% of $36.0M, or $1,620,000. NextGen or eClinicalWorks seats plus paid HL7/FHIR interface add-ons come to $846,000. Either way, clinicians still work around charting that wasn't built for the specialty. The alternative is headless Medplum FHIR R4 with a custom specialty charting UI, eRx/EPCS, and automated ASC X12 clearinghouse scrubbing. Its $195,000 CEE build cost is recovered in under five months against athenaOne's modeled fees.

Below is the worked 36-month EHR/EMR TCO matrix for a 35-provider multi-site specialty group ($12.0M/yr / $36.0M 36-month net collections) (in-house medical coding staff apply equally across columns; clearinghouse EDI pass-throughs are included in Line 3 where not bundled in Line 2):

36-Month TCO Line Item (35 providers, $12.0M/yr / $36.0M 36-mo net collections)athenaOne (4.5% of collections)NextGen Ent. / eClinicalWorksCanvas Medical + Custom Patient AppHeadless Medplum FHIR R4 + Owned Specialty UX & X12 Spine
1. Implementation, migration or build CapEx$45,000 (multi-site rollout, payer enrollment & chart import)$65,000 (specialty template config, migration & lab/HIE setup)$120,000 (1,600 hrs CEE patient app & SDK integration)$195,000 (2,600 hrs CEE @ $75/hr; $429,000 US @ $165/hr)
2. 36-mo EHR SaaS, % share & interface fees$1,620,000 (4.5% of $36.0M net collections [$540k/yr])$846,000 (35 prov. x $600/mo x 36 [$756k] + $2,500/mo HL7/FHIR add-ons [$90k])$414,000 ($11,500/mo active-patient headless EHR license x 36)$126,000 ($2,000/mo Medplum Prod base FHIR datastore + $1,500/mo direct DoseSpot eRx/lab bridges = $3,500/mo x 36; $0 % tax)
3. 36-mo clearinghouse EDI, cloud & clinical ops$126,000 ($3,500/mo Marketplace app & BI warehouse sync x 36)$162,000 ($4,500/mo X12 clearinghouse & template rework ops x 36)$144,000 ($4,000/mo clearinghouse EDI & clinical ops x 36)$151,200 ($1,500/mo HIPAA cloud/EDI + 36 hrs/mo CEE ops @ $75/hr [$2,700/mo] = $4,200/mo x 36)
Total 36-Month All-In Clinical TCO$1,791,000$1,073,000$678,000$472,200 (100% of $195k CapEx included; saves $205,800 to $1,318,800)

Over 36 months at $12.0M/yr in net collections, an owned specialty clinical console and X12 RCM spine on headless Medplum FHIR R4, built in CEE, saves $205,800 against a Canvas Medical hybrid, $600,800 against NextGen Enterprise / eClinicalWorks, and $1,318,800 against athenaOne. That's our model, and it only holds at this scale. A small practice on a plain EMR won't see these numbers.

Idealogic's 2026 build tiers for custom FHIR R4 integration, headless EHR, and specialty clinical software compare senior CEE healthtech, custom software development, SaaS development, and AI software development squads ($75/hr, anchored in the 2025 EU hourly labour cost benchmark for industry, construction and services (lc_lci_lev, EUR 34.9)) against domestic US agencies ($165/hr, 2.2x):

2026 Healthtech EHR / EMR Build TierONC HTI-1, SMART on FHIR, Headless CDR & HIPAA DeliverablesTimelineCEE Build (@ $75/hr)US Agency (@ $165/hr)
Tier 1: SMART on FHIR (170.315(g)(10)) Sidecar & Canonical Adapter MVPInteractive SMART App Launch (OAuth 2.0/PKCE) + Backend Services (RS384 JWT) for Epic/Oracle/athena, USCDI v3 LOINC/SNOMED/RxNorm mapper, HL7 v2 MLLP bridge & HIPAA 164.312 audit trail (1,040 to 1,440 hrs)12 to 16 weeks$78,000 to $108,000$171,600 to $237,600
Tier 2: Headless Medplum FHIR R4 Specialty Clinical UX, eRx & Multi-Site PMSCustom Next.js specialty charting UI over Medplum FHIR R4 CDR, multi-state licensure scheduling PMS, embedded Surescripts NCPDP SCRIPT / DEA EPCS (DoseSpot), Quest/LabCorp ORM/ORU & PCI DSS v4.0.1 SAQ-A co-pay portal (2,000 to 2,800 hrs)18 to 26 weeks$150,000 to $210,000$330,000 to $462,000
Tier 3: Enterprise Care Cloud, AI Governance, TEFCA & X12 RCMMulti-tenant EMPI, voluntary AI governance for predictive decision support (HTI-5 removes the HTI-1 source-attribute requirements of 45 CFR 170.315(b)(11) from December 28, 2026), TEFCA / Carequality longitudinal retrieval & automated ASC X12 270/271 + 837P/835 claim engine (3,000 to 4,200 hrs)26 to 36 weeks$225,000 to $315,000$495,000 to $693,000
Outgrowing athenaOne's % of collections tax or legacy EMR interface walls?
Talk directly with Idealogic's healthtech architects. Wherever your customers sit on the EHR vs EMR line, we will audit your ONC CHPL integration surface or model a 36-month headless Medplum FHIR R4 vs incumbent EHR build plan.
Scope your FHIR R4 or specialty EHR architecture

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

  • An electronic medical record (EMR) is a digital version of a paper chart confined to a single medical practice or clinic. An electronic health record (EHR) is a longitudinal clinical record engineered to travel with the patient across hospitals, specialists, laboratories, and pharmacies using standardized interfaces such as HL7 FHIR R4, Consolidated CDA, and national health information networks.

  • An EMR system is the software one practice uses to chart its patients: demographics, encounter notes, diagnoses, orders, prescriptions, and billing codes. It replaces the paper chart inside that single organization. Most EMR systems can export a PDF summary or send a fax, but they aren't built for outside systems to query records in real time.

  • Epic is an ONC-certified EHR. It maintains a comprehensive longitudinal patient record, exposes standardized HL7 FHIR R4 APIs, provides patient access through MyChart, and exchanges clinical documents nationwide through its Care Everywhere network and Epic Nexus, a designated TEFCA Qualified Health Information Network (QHIN). Clinicians still say 'check the EMR' out of habit, but architecturally Epic is a full enterprise EHR.

  • The regulations don't define EMR and EHR as legal categories. What the ONC Health IT Certification Program (45 CFR Part 170) certifies is a Health IT Module. A module certified to 45 CFR 170.315(g)(10) captures structured USCDI data, exports Consolidated CDA summaries, and exposes standardized SMART on FHIR R4 APIs. The HTI-5 final rule revises that criterion from December 28, 2026. An uncertified clinic EMR has no federal duty to offer standardized REST APIs or third-party app launch.

  • Providers own and govern both EMRs and EHRs under HIPAA, whereas a personal health record (PHR) is controlled by the patient. Apple Health Records pulls clinical data from participating health systems over FHIR, while Android Health Connect mainly aggregates wearable and fitness data. Unless a HIPAA covered entity offers it, a consumer PHR typically falls under FTC privacy rules.

  • With an ONC-certified EHR, your engineering team builds against documented FHIR R4 endpoints, US Core profiles, and OAuth 2.0 SMART on FHIR launch flows that transfer across hospitals. A standalone specialty EMR often needs custom SFTP flat-file parsers, proprietary database bridges, or point-to-point HL7 v2 VPN tunnels, and you rebuild them for every clinic.

  • Under 45 CFR Part 171, the federal Information Blocking Rule applies to healthcare providers, health information networks, and developers of ONC-certified health IT. A provider running an uncertified EMR is still barred from blocking patient access to electronic health information. A developer that offers no certified health IT at all doesn't face the civil monetary penalties of up to $1 million per violation that apply to certified developers, unless it also acts as a health information network.

  • Startups selling clinical workflow, remote patient monitoring, or decision support software to hospitals and medical groups should integrate with existing EHRs such as Epic, Oracle Health, and athenahealth. Clinicians won't work in a second chart. Building a lightweight custom EMR only makes sense when you run a captive telehealth or specialty care clinic whose workflow legacy vendors can't support.

  • HL7 FHIR Release 4.0.1, constrained by the HL7 US Core Implementation Guide and paired with the SMART App Launch specification for OAuth 2.0 and OpenID Connect authorization. Certified systems map clinical concepts to the vocabularies of the USCDI version they certify to (v3 is the baseline): SNOMED CT for problems, LOINC for laboratory observations, RxNorm for medications, and ICD-10-CM for billing diagnoses.

  • athenaOne (athenahealth) charges a percentage of net collections. The rate is negotiated, not published, so software fees rise as clinical revenue grows. NextGen Enterprise and eClinicalWorks sell per-provider seats plus paid HL7 or FHIR interface and portal add-ons; we budget $450 to $650 per provider per month as an illustrative assumption. API-first Canvas Medical (we assume $8,000 to $15,000 per month at this size) and open-source Apache 2.0 Medplum ($2,000 to $6,000 per month for the managed FHIR R4 CDR) let a specialty group own its clinician and patient UI with no revenue share.

  • In our model of a 35-provider specialty medical group collecting $12M per year ($36M over 36 months), athenaOne at an assumed 4.5% collection share totals roughly $1,791,000 over 36 months ($1.62M in percentage fees alone), NextGen or eClinicalWorks totals roughly $1,073,000, and a commercial Canvas Medical hybrid totals roughly $678,000. Engineering an owned specialty clinical UI and X12 clearinghouse spine in CEE on top of headless Medplum FHIR R4 totals $472,200 all-in including $195,000 of CapEx, saving $205,800 to $1,318,800.

Still unanswered
Ask us directly

A senior engineer replies under 4 hours.