A health tech startup lands its first hospital customer, and the hospital asks for an HL7 feed. Someone on the team suggests Mirth Connect because every integration engineer seems to know it. Someone else suggests writing a small service instead. A third person has seen a vendor that offers connections as a service.
This post is for founders and technical leads making that call. It compares the three options, explains what Mirth's licence and operating model mean for a small team, and sets out when to revisit the decision.
When does Mirth Connect make sense for a startup?
Weighing Mirth for your product?
Our Mirth Connect team builds and runs channels for digital health companies and helps decide whether an engine fits.
Mirth Connect makes sense for a startup when it must exchange HL7 v2 feeds with several hospitals or labs and has engineers willing to run the engine every day. Agnotic Technologies recommends it to fewer startups than ask, because one or two FHIR API connections rarely need an engine.
The question is not whether Mirth is good. It is whether your interfaces, your team and your customers' demands justify running one more platform.
What does an interface engine do that code does not?
An interface engine gives you ready-made parts that code-only teams must build: MLLP listeners, queues, retries, message storage you can search, and a console where support staff can see and resend messages.
- Transport: MLLP, file, database and web service connectors without new code.
- Queues and retries: messages held and resent when a destination is down.
- Message history: each message and its transformed versions stored for troubleshooting.
- Operations console: support staff can see errors and reprocess without a deployment.
Mirth channels also keep each interface's logic in one place that an integration engineer can read without knowing your product's codebase. For a startup that may hire contractors for interfaces, that separation can matter.
None of the parts listed above is hard to write once. The work is in writing them well, testing them and keeping them running for years, which is what the engine already does.
Three options for a startup
A startup has three realistic options: run Mirth Connect, write interfaces as code inside its own services, or pay a managed integration service to run the connections.
- Mirth Connect: run by your team or hosted by NextGen, licensed per server, best for many HL7 v2 feeds, and needs engine skills and someone on call.
- Code only: runs inside your own services, costs engineering time, suits a few FHIR APIs, and you build queues and retries yourself.
- Managed service: run by the vendor under its contract terms, good for fast first connections, and needs a BAA and an exit plan.
Decide by the type and number of interfaces, the skills on your team, who answers the pager at night and what it would cost to switch later.
How many interfaces justify an engine?
An engine starts to pay off when you have several HL7 v2 partners, each with its own quirks, rather than any fixed count. FHIR API connections to EHRs usually fit well in code, because they are ordinary HTTPS calls.
Check what each customer's EHR offers before choosing. Many hospitals now expose FHIR APIs for reads, while real-time event feeds and result delivery still often run over HL7 v2 through the hospital's own interface team.
A useful test is variety. Five hospitals sending the same well-behaved ADT feed are easier in code than two partners with different message versions, custom segments and file drops. Variety is what the engine's connectors and per-channel transforms are built for.
What does Mirth licensing mean for a startup?
Mirth licensing means a fixed yearly cost per server, so cost grows with the number of servers you run rather than the number of interfaces. Count production, test and any standby servers when you price it.
NextGen Healthcare describes Mirth Connect licensing as a flat annual fee for each server, with no charge per interface or data source, in three tiers that each include a set of extensions and support cases.
New Mirth releases are commercial only, so a startup planning to stay current should budget for a licence from the start. Ask NextGen or a reseller for current pricing and tier contents rather than relying on older forum posts.
Who will run the engine?
Someone on your team will run the engine, even with a hosted licence. Channels, transforms and responses to partner problems remain your work.
NextGen Healthcare describes Mirth Connect as a licensed integration engine that the customer's organization is responsible for maintaining and operating, with interfaces built and supported in house, and it also sells a licence hosted by NextGen Healthcare for which it sets up the server infrastructure.
- Channel skills: JavaScript transforms, filters and code templates inside Mirth.
- Platform skills: the Java runtime, the database and server updates, unless hosted.
- On-call: someone who can respond when a hospital feed stops overnight.
- Partner skills: reading interface specifications and testing with hospital analysts.
In a small team these skills often sit with one person. Plan for holidays and departures from the start: channel files in source control, a runbook, and a second engineer who has deployed a change at least once.
When is code-only the better choice?
Code-only is better when your interfaces are mostly FHIR APIs, you have few partners and your team wants every change tested and deployed through the same pipeline as the product.
Use well-maintained libraries for HL7 v2 parsing and FHIR clients, and build the operational parts on purpose: a queue, retries with limits, a dead-letter store, message search for support and alerts. Skipping those parts is how code-only integrations fail.
When does a managed integration service fit?
A managed integration service fits when speed to the first connections matters more than control, and the team has no integration engineers yet. The vendor runs the connections and you consume a cleaner API.
A HIPAA covered entity may share protected health information with a business associate, such as a software vendor, only under a business associate agreement that commits the vendor to safeguard it.
Check the BAA, where data is stored, what happens to your message history if you leave, and whether the hospital accepts the vendor in the data path. Plan an exit before you sign, because moving connections later means retesting with every partner.
Decision mistakes
Startups tend to get this decision wrong in a few familiar ways.
- Engine for one API: adopting Mirth to call a single FHIR endpoint.
- Home-grown engine: building a general-purpose engine instead of the few interfaces needed.
- No exit plan: signing with a managed service without a way to take connections back.
- No on-call: running Mirth with nobody responsible when a feed stops.
- Price only: choosing by licence cost and ignoring the time the team spends running it.
A worked example: a remote monitoring startup's first three hospitals
A remote monitoring startup signs three hospitals. Two want results delivered as HL7 v2 ORU over MLLP through their own interface teams, and the third offers FHIR APIs for patient lookup and result write-back.
The team writes the FHIR connection in code inside its platform. For the two HL7 v2 hospitals, it compares a small code service with a hosted Mirth licence, and picks code because the two feeds share one message design and the team has strong test practices.
A year later, a lab network and two more hospitals with different message versions join. The variety now justifies an engine, and the team moves its HL7 v2 traffic to Mirth with the FHIR code untouched.
Who owns what?
Whatever the option, name owners before the first go-live.
- Technical lead: the option chosen, the reasons and when to revisit it.
- Integration engineer: channels or code, testing with partners and runbooks.
- Operations: monitoring, on-call and incident communication with hospitals.
- Compliance: BAAs with hospitals and vendors, and where message data is kept.
Write the choice and its reasons in a short decision record. When a new technical lead or investor asks why the startup runs, or does not run, an engine, the answer should take a page, not a meeting.
How do you revisit the decision?
Revisit the decision when something structural changes, not on a whim. Write down the triggers when you make the first choice.
- Partner mix: new partners bring message versions or transports your current setup handles badly.
- Team change: the person who knew the engine or the code leaves.
- Support load: engineers spend more time on interface incidents than on the product.
- Customer demand: hospitals ask for features your current option cannot provide.
Track a few numbers that make the triggers visible: interfaces by type, partner message variants, interface incidents per month and engineering hours spent on them. Moving from code to an engine, or back, is easier when those numbers explain why.
What are integration engine decision best practices?
Choose by interface type, variety and team skills, not by what is popular. Keep FHIR API connections in code, consider Mirth when HL7 v2 variety grows, and price an engine by servers and people, not just licence fees.
Name an on-call owner for any option, plan an exit from managed services, and write down the triggers that would make you change course.
How Agnotic can help
Agnotic helps startups make and carry out this decision: assessing the interfaces customers ask for, building them in code or in Mirth, and running them with your team. We will also tell you when an engine is not yet worth it.
Plan integrations for your startup
We help early teams scope, build and support the interfaces their first customers ask for.
Related reading on Agnotic
Engines, HL7 and startup integration.


