Hashlogics
Answers

Mirth Connect, HL7 and FHIR: what a real interface build involves

A real HL7 or FHIR build pairs an engine like Mirth Connect for HL7 v2 feeds with FHIR APIs, and we build and monitor both.

Answered in short

5 things that decide this

  1. 01A real HL7 or FHIR interface build pairs an interface engine such as Mirth Connect for HL7 v2 feeds (ADT, ORM, ORU) with FHIR APIs where the EHR offers them, and Hashlogics builds and monitors both for clinics and health-tech teams.
  2. 02HL7 v2 still carries most real-time clinical events: ADT for patient updates, ORM for orders and ORU for results.
  3. 03Mirth Connect is an interface engine owned by NextGen Healthcare, whose site now describes commercial, flat-fee annual licensing per server.
  4. 04FHIR R4 is enough for on-demand reads and some writes on Epic, athenahealth and eClinicalWorks, each with its own app approval.
  5. 05Every interface needs alerts, a message log and replays after go-live, and someone named to own them.
Why the obvious answer is incomplete

Hasn't FHIR replaced HL7 v2?

Not yet, and not everywhere. FHIR is the newer, web-style standard, and most US EHRs now offer FHIR R4 APIs. But a lot of real-time clinical traffic still moves as HL7 v2 messages: admissions, orders and results.

So most real builds use both. The engineering question is which feed carries the data you need, how fast, and who on the other side has to switch it on.

A typical interface pathLive
  1. EHRSends ADT, ORM and ORU messages
  2. Mirth ConnectFilters, transforms, queues, retries
  3. FHIR APIOn-demand reads and writes
  4. Target systemLab, app or reporting database
  5. MonitoringAlerts, logs and replays

Your EHR, network and partners decide the final shape, confirmed in the Blueprint.

HL7 v2

Which HL7 v2 messages does a clinic actually see?

Three message families do most of the work. Each arrives as a pipe-delimited message, and each sending system fills it a little differently.

  • 01ADT: admissions, discharges, transfers and patient updates. This is how a new patient or a changed address reaches other systems.
  • 02ORM (or OML): orders, such as a lab or imaging order leaving the EHR.
  • 03ORU: results coming back, such as lab values or a radiology report.
  • 04SIU and DFT also show up: scheduling and billing detail, depending on your setup.
Mirth Connect

What does Mirth Connect do, and what changed with its licensing?

Mirth Connect is an interface engine. You build channels that receive a message, filter and transform it, and send it on to another system, a database or an API. It handles queues and retries so a brief outage doesn't lose messages.

NextGen Healthcare owns Mirth Connect. Its site now describes commercial, flat-fee annual licensing per server, with extensions available only as part of a Mirth Connect license. Teams on older open-source versions should check the current terms with NextGen before upgrading. Alternatives include other commercial engines and open-source options; the right one depends on your volume and who will run it.

FHIR R4

When is FHIR enough on its own?

FHIR R4 works well when you need to read or write a defined resource on demand: a patient, an appointment, a medication list. Epic, athenahealth and eClinicalWorks all offer FHIR APIs, each with its own app approval. We explain those routes in Epic, athenahealth and eClinicalWorks APIs.

FHIR is weaker when you need every event as it happens, across all patients, or data the EHR doesn't expose as a resource. That's still HL7 v2 territory, usually through an interface engine.

Monitoring and replays

Who watches the interface after go-live?

This is where most interface projects fail quietly. A sending system changes a field, a certificate expires, or a queue backs up overnight. Nobody notices until a result is missing from a chart.

A real build includes alerts on queue depth and errors, a log of every message, and a way to replay failed messages once the cause is fixed. Someone has to own those alerts. If it's us, we say so in writing; if it's your team, we train them before handover.

Side by side

HL7 v2, Mirth Connect and FHIR side by side

Where each fits in a clinic or health-tech build.

OptionBest forHow it moves dataWatch for
HL7 v2 feedReal-time events: ADT, orders, resultsMessages pushed by the sending systemEach site fills fields differently
Mirth ConnectRouting and transforming many feedsChannels with queues and retriesCurrent NextGen licensing terms
FHIR R4 APIOn-demand reads and some writesREST calls under an approved appApp approval per EHR and site
MonitoringKeeping interfaces honest after launchAlerts, logs and replaysSomeone has to own the alerts
What a real build connects

Which data flows do clinics and health-tech teams ask for?

Most requests fall into four flows.

  • 01Patient sync: ADT messages keep a scheduling, billing or outreach tool in step with the EHR.
  • 02Orders out, results back: ORM and ORU between the EHR and a lab or imaging partner.
  • 03App data in: a health-tech product writes appointments or documents through FHIR where the EHR allows.
  • 04Reporting: a copy of selected events in a database your team can query, without touching the EHR.
Where AI fits

Where does AI help, and what does a person keep?

AI is useful beside an interface, not inside it. It can flag a message that looks wrong, summarise a result for a clinician, or help map fields from a new sender. The interface itself should stay rule-based and predictable.

A person keeps every clinical decision. On TrialTriage, our AI trial-matching build, a nurse signs off every match, and the platform launched HIPAA-aligned with a 23-action audit trail. Interface work follows the same rule: log every step, and keep clinicians in charge.

How we work

What does Hashlogics do on an interface build?

We start with a short call about the data you need to move. Then comes the fixed-fee Blueprint. An engineer reads your real message samples, EHR access and network setup before anyone quotes a build. The fee is credited in full against the build, and if the plan isn't one you'd act on, you don't pay for it.

Your IT team provides the VPN or network route, test messages and a contact on the EHR side. For the wider picture of how we sell and scope this work, see EHR and practice system integration.

The build is priced per milestone and accepted against written criteria, never billed by the hour. After go-live we monitor the interface, replay what fails and keep the logs, or hand it over with training.

Questions, answered
01Which development firms build HL7 and FHIR interfaces with Mirth Connect?+

Hashlogics builds and monitors HL7 v2 interfaces on Mirth Connect and FHIR R4 integrations for clinics and health-tech teams. We start with a fixed-fee Blueprint, credited in full against the build, that reads your real message samples and EHR access.

02Is HL7 v2 still needed if the EHR has FHIR?+

Often, yes. FHIR is good for on-demand reads and some writes, but real-time events such as admissions, orders and results still usually arrive as HL7 v2 messages. Most real builds use both.

03Is Mirth Connect still open source?+

NextGen Healthcare's site now describes commercial, flat-fee annual licensing per server for Mirth Connect, with extensions only as part of a license. Teams on older open-source versions should check current terms with NextGen before upgrading.

04Who monitors interfaces after go-live?+

Someone has to own alerts on queue depth and errors, a log of every message, and replays of failed messages. We can run that for you after launch, or train your team and hand it over.

05What does Hashlogics do on an interface build?+

We run a fixed-fee Blueprint first, credited in full against the build, that maps each feed and API. Then we build in fixed-price milestones accepted against written criteria, and monitor the interface after go-live or hand it over with training.

By , CEO, HashlogicsUpdated
Start

Let’s deploy working AI into your business.

We build AI agents and automation, ship them into the tools you already run, then stay on under an agreed service level. A senior engineer reads every brief, and your call gets scheduled within 24 hours.

What happens next

  1. 01

    You send a brief or book a call

    Two minutes, whichever you prefer.

  2. 02

    A senior engineer replies within 24 hours

    Not a sales rep.

  3. 03

    Honest scoping, in writing

    And if we’re not the right fit, we say so.

Abdul Basit, CEO of Hashlogics

“I started Hashlogics because too many teams ship a demo, get paid, and disappear. We build to a standard we’d run ourselves — and we stay to keep it running.”

Abdul Basit · CEO · a direct line

Not ready to talk? Take the checklist.

12 questions to ask any AI agency before you sign. They separate a demo shop from a team that ships to production.

Get the checklist

Free · no newsletter