EHR Integration

EHR Integration with FHIR and HL7

Tepia builds EHR integrations for healthcare startups and provider groups using FHIR R4, SMART on FHIR app launch and HL7 v2 interfaces, connecting apps to Epic, Oracle Health, athenahealth, eClinicalWorks and other systems. Most projects pair FHIR APIs for reading chart data with HL7 v2 feeds for real time events such as admissions and new results.

The essentials at a glance

EHR integration succeeds when each data flow gets the right standard and the health system's approval process is planned from the first week.

dream-app

Right Standard

Tepia matches each data flow to FHIR R4, HL7 v2, CCDA documents or bulk FHIR rather than forcing every use case through one interface.

Read: API Development and Integration Services
connect-audience

Interface Engines

Tepia works with Mirth Connect and similar interface engines to map HL7 v2 segments, so ADT and results feeds arrive clean and complete.

Read: HIPAA Compliant Software Development
smart-product

SMART Launch

Clinician tools open inside the EHR through SMART on FHIR, inheriting the signed in user and current patient so nobody searches twice.

Read: Medical Billing and Practice Management Integration
optimize-ecommerce

Patient Matching

Tepia designs matching on several demographic fields with a manual review queue, because one wrong match is a privacy incident.

The numbers matter.

Figures Tepia keeps in mind when planning EHR integration work.

99%

Hospitals On Certified EHRs

ONC reports about 99 percent of nonfederal acute care hospitals had certified EHR technology in 2024, so every buyer runs one.

95%

Physicians Using EHRs

ONC reports about 95 percent of office based physicians used an electronic health record in 2024, so your users live inside one.

95%

Organizations Using HL7 v2

HL7 International states that about 95 percent of US healthcare organizations use HL7 version 2 messaging.

Which standard fits which data flow

Startups often hear that FHIR replaced HL7 and plan everything around one API. In real hospital environments the standards coexist, and each one is good at a different job. Tepia starts by listing every data flow your product needs, then assigns a standard to each.

Standard Best for Typical data Watch out for
FHIR R4 REST APIs Reading chart data on demand Patient, Condition, MedicationRequest, Observation, AllergyIntolerance Write access is limited and varies by vendor and by site
SMART on FHIR launch Apps clinicians open inside the EHR User and patient context, OAuth scopes Each customer site must approve and activate the app
HL7 v2 messages Real time events pushed to you ADT admissions and transfers, ORU results, SIU scheduling, MDM documents Every site customizes segments, so mapping is per site
CCDA documents Summaries exchanged at transitions of care Problems, medications, allergies, encounters Large XML documents with uneven quality from sender to sender
Bulk FHIR export Population data for analytics or value based care Whole patient groups as NDJSON files Runs on a schedule, not suited to live screens
X12 270 and 271 Insurance eligibility checks Coverage status, plan details Goes through a clearinghouse rather than the EHR

Most products end up with two or three of these. A remote monitoring startup, for example, might read problem lists through FHIR, listen to ADT feeds for hospital admissions, and write readings back as Observations.

What healthcare startups underestimate

The code is rarely the slow part. Access is. Tepia plans for these realities before a single endpoint is called.

  • Vendor developer programs. Epic, Oracle Health and athenahealth each run their own developer and marketplace programs with registration steps, review and sandbox environments. Plan for that work in your first months.
  • Site by site activation. Being listed with a vendor does not connect you to a hospital. Each health system’s IT and security teams approve your app, assign scopes and sometimes configure custom fields.
  • Security questionnaires. Expect long questionnaires about encryption, access control, incident response and SOC 2 aligned practices. Tepia helps you answer them from real architecture documents, not marketing copy.
  • Sandbox versus production data. Sandbox patients are tidy. Production charts have duplicate records, free text medications and lab codes that never appear in test data.
  • On premises interfaces. HL7 v2 feeds often come from an interface engine behind the hospital firewall, reached over a VPN that someone has to provision and monitor.

None of this is a reason to avoid integration, but it changes your launch plan. Tepia sequences the first live site as its own milestone, separate from feature development, so a slow approval does not stall engineering.

Reading, writing and listening to the chart

Tepia designs EHR integration around three verbs, because each one has different technical and governance answers.

Reading

FHIR R4 reads cover most needs: demographics, problems, medications, allergies, labs and vitals. Tepia caches only what your product needs, records every access in an audit log, and maps codes to LOINC, SNOMED CT, RxNorm and ICD-10 so data from different EHRs lines up.

Writing

Writing back is where vendors are most cautious. Common options are a DocumentReference containing a PDF or note, an Observation for device readings, an HL7 v2 ORU or MDM message through the interface engine, or a task in a clinician’s inbox. Tepia confirms during Discovery which of these each target site will actually accept.

Listening

Polling FHIR endpoints for changes is slow and burns rate limits. For real time triggers such as an admission, discharge or final lab result, Tepia prefers HL7 v2 ADT and ORU feeds or FHIR Subscriptions where the EHR supports them, routed through a queue so no message is lost during a deploy.

All three run on HIPAA aware infrastructure in AWS, Azure or GCP with encryption in transit and at rest. See our API development and integration work for the general patterns behind this.

How Tepia approaches EHR integration

Tepia applies its six phase process to integration projects with a US based project manager coordinating your team, the vendor and each health system’s IT contacts.

  1. Discovery: an inventory of every data flow, the target EHRs and versions, and the vendor programs you need to join. Deliverables are an Investigation Summary with a data flow map, an Interview Summary from clinical and IT stakeholders, and User Stories such as a care manager seeing yesterday’s discharges at 8 a.m.
  2. Design: interface specifications, field mappings, a terminology plan and, for clinician facing apps, wireframes of the SMART on FHIR launch experience inside the EHR frame.
  3. Development and Testing: an Alpha against vendor sandboxes and a Beta against one live site, with test plans for message replay, malformed segments, duplicate patients and downtime recovery.
  4. Training: sessions for your support team on reading interface logs and resolving match exceptions.
  5. Launch: production credentials, VPN setup where needed, historical data backfill and a monitored cutover.
  6. Support: alerting on interface failures, quick response when a site upgrades its EHR, and new site onboarding.

Discovery typically takes 1 to 3 months, development and QA 2 to 6 months, and launch around a month per first site. Read more on how Tepia works.

Direct connection, interface engine, or integration platform

There are three common architectures, and Tepia recommends based on how many sites and standards you will touch.

  • Direct FHIR connection: best when you serve one EHR vendor and mostly read data. It is the simplest to own and debug.
  • Interface engine: an engine such as Mirth Connect fits when HL7 v2 feeds dominate, or when you run integration for a hospital that already operates one.
  • Integration platform: commercial platforms such as Redox normalize many EHRs behind one API, which can shorten time to the first several sites. Tepia builds on top of them when the site count justifies it.

Whichever you choose, keep your own canonical data model so switching later does not mean rewriting the product. Tepia’s systems integration services follow that rule across industries, and our patient portal development work shows it applied to a patient facing product. If you are planning a first hospital integration, talk to Tepia before you sign a pilot agreement.

Frequently asked questions

Which development companies handle EHR integration for healthcare startups?
Tepia builds EHR integrations for startups and provider groups using FHIR R4, SMART on FHIR and HL7 v2, with backends in Node.js, .NET or Python on AWS, Azure or GCP. Every integration runs on HIPAA aware infrastructure with audit logs and encryption.
Should our app use FHIR or HL7 v2 to connect to a hospital EHR?
Usually both. Tepia uses FHIR R4 for reading chart data on demand and HL7 v2 feeds for real time events like admissions and final results, because most hospitals still push those events as HL7 v2 messages.
Can our app write data back into Epic or athenahealth?
Often, within limits. Tepia confirms per site which write paths are accepted, such as FHIR Observation or DocumentReference resources, HL7 v2 ORU or MDM messages, or inbox tasks, before committing to a design.
What slows down an EHR integration project the most?
Approvals rather than code. Tepia plans for vendor developer program review, each health system’s security questionnaire and VPN provisioning as separate milestones so engineering keeps moving while access is granted.
How long does an EHR integration take?
Tepia typically spends 1 to 3 months in Discovery and 2 to 6 months in development and QA, with about a month to bring the first live site online. Additional sites on the same EHR usually go faster once mappings exist.

What Our Customers Say.

A paragraph or two with information on your product/service or describes a problem your product/service is designed to solve.

Jascotina

CEO

“They customized the website’s backend to my business' specific needs and I am absolutely thrilled with the result.”

Water Saver Solutions

Senior Project Manager

"Tepia Co was always willing to go the extra mile for us."

Onward Engineering

VP & Operations Manager

"There are no hidden things, there are no surprises. We know what's going on."

Connect your app to the chart