Replacing Mirth Connect or Corepoint HL7 interfaces with Medplum

Replacing Mirth Connect or Corepoint with Medplum means rebuilding each HL7 v2 channel as a Bot-based flow, not converting one configuration file. The effort depends on the channel count, the message types involved and how each receiver acknowledges messages.

On this page

What a Mirth Connect to Medplum migration involves

Moving Mirth Connect or Corepoint HL7 interfaces to Medplum is a channel-by-channel rebuild, not a file transfer. Each channel's routing, transformation and acknowledgment behavior has to be re-expressed as Medplum Bots, Subscriptions and, where the source system sits on-premises, the Medplum Agent, then proven against live traffic one interface at a time. Effort scales with three things: the number of channels, the number of distinct HL7 message types and trigger events each channel handles, and the number of downstream receivers that depend on each feed. A team with a dozen simple ADT feeds to one billing system has a very different project from a team with ORU results flowing to several laboratory, imaging and analytics consumers.

Before planning dates, confirm the most important unknown with Medplum. The sources supplied for this page describe Medplum's Bot-based HL7 interfacing engine as an alternative to Mirth or Corepoint, but they do not document an importer that reads existing Mirth channel definitions or Corepoint configurations. Ask Medplum directly whether any channel export can be converted, and if not, plan for every channel to be redesigned by hand. Ask the same question about any custom JavaScript transformers, lookup tables and filters your channels use, because those are the logic most likely to be undocumented and most expensive to rediscover.

Start the channel inventory by recording, for each interface, its source and destination systems, message types and trigger events, acknowledgment behavior, error and retry handling, and the owner who signs off on changes. The inventory is also the input to the parallel-running plan: a channel that receives high volume and waits on application acknowledgments will behave differently under Medplum than one that sends fire-and-forget feeds, so note which senders run in Original Acknowledgement Mode. Medplum's high-throughput HL7 guide explains why receiver processing time sets throughput in that mode, which should inform how you size and test each rebuilt channel before it carries live messages.

Plan each interface as its own cutover unit with a defined rollback trigger and a named owner on both the clinical and technical side. Run the rebuilt channel in parallel with the existing engine, compare message counts, acknowledgments and downstream results, and move only the interfaces that pass. Retire the legacy channel only after the parallel period has closed without unexplained differences, and keep the legacy engine available until then.

What maps cleanly from Mirth or Corepoint to Medplum

This table compares the core capabilities of a Mirth Connect or Corepoint interface engine with their closest Medplum equivalents and marks where each one needs redesign. Read the Medplum column as the target design, and treat every item marked for confirmation as a question to answer from your own channel exports before you commit to a build plan. Medplum documents HL7 interfacing as an alternative to these engines, but the detailed mapping of your channels is your team's work.

CapabilitySource engine (Mirth or Corepoint)Medplum equivalent and redesign note
Inbound MLLP listenerChannel source listening on a TCP port for HL7 v2 messages from EHR, LIS or RIS sendersMedplum HL7 server and Medplum Agent receive MLLP traffic. Confirm port, TLS and sender allow-lists against your interface specifications.
Outbound MLLP senderChannel destination pushing HL7 to a receiving system over MLLPMedplum HL7 client and Bots send outbound feeds. Confirm connection handling and reconnect behavior for each receiver.
Message filtersFilter logic on message type, trigger event or segment valuesBot logic or Subscription criteria select resources to send. Redesign: filters usually move from HL7 segment tests to FHIR resource criteria.
TransformersMapping scripts converting HL7 segments to other formats or to a canonical modelBots map HL7 fields to FHIR R4 resources. Redesign is required for every mapping, since field paths and code systems change.
RoutingRouting one message to several destinations based on rulesSubscriptions and Bots fan out from stored FHIR resources. Confirm ordering and duplicate behavior for each destination.
Lookup tablesCode and identifier translation tables kept in the engineTerminology and identifier mapping live in FHIR resources or Bot configuration. Confirm where each table is maintained and who owns changes.
Acknowledgment handlingApplication ACK generated or consumed per channel, with mode settingsMedplum documents Original Acknowledgement Mode, where the sender blocks until an ACK returns. Confirm which ACK mode each partner requires.
Retry and queueingEngine-managed queues and retry settings per destinationMedplum delivery and retry behavior must be verified for each interface. Plan for queue depth and failed-message review as a separate design item.
Logging and message auditPer-message logs and message browsers in the engineAudit and message tracing depend on your deployment logging and Medplum audit events. Confirm what your compliance team needs to retain.

How HL7 traffic flows through the Medplum Agent and Bots

The flow starts at the EHR, LIS, RIS/PACS or billing system on the hospital network, which sends HL7 v2 messages to the Medplum Agent inside the client boundary. The Agent hands each message to a Medplum Bot, and the Bot writes FHIR resources to the Medplum server. Outbound feeds reverse the path: a Bot builds the HL7 message and the Agent delivers it to the receiving system. Check where each sender's application ACK is returned, because the sender's throughput depends on it.

Inbound HL7 v2 reaches Bots through the Agent, with outbound feeds returning the same way.

How ADT and ORU messages map to FHIR

ADT messages (admit, discharge, transfer and registration updates) carry the patient identity and encounter state that most downstream systems depend on. In a FHIR target model, the patient demographics usually land on Patient, the visit lifecycle on Encounter, and bed, room or ward moves on Location, with the encounter's location history updated as each transfer arrives. The fields that matter most are the patient identifiers in PID, the visit number and patient class in PV1, and the event type in MSH-9 that tells the channel whether to create, update or close an encounter.

  • Identity fields: PID-3 (patient identifier list) and PID-5 (name) decide which Patient resource is matched or created, so the matching rule must be written down before the first feed is replayed.
  • Encounter state: PV1-2 (patient class), PV1-3 (assigned location), PV1-19 (visit number) and PV1-44 and PV1-45 (admit and discharge timestamps) drive Encounter status and period.
  • Event handling: Map each trigger event (such as A01, A02, A03, A04 and A08) to a defined action, including merges and cancellations, which are often the riskiest cases.
  • Location updates: Decide whether bed moves are stored as Location references on Encounter or as a separate history, since this affects bed board reporting.
  • Sign-off items: Patient matching, merge handling and how cancelled admissions are represented need approval from registration and data owners.

Confirm the ADT version and any Z-segments in your own feeds, because local extensions often carry facility codes and custom visit attributes that the standard mapping does not cover.

Why acknowledgment mode sets interface throughput

In Original Acknowledgement Mode, the sender holds each HL7 message until it receives an application ACK, so the receiver's processing time sets the interface's throughput. Medplum's high-throughput HL7 guide describes this blocking behavior. When a Medplum Bot performs FHIR writes before it returns the ACK, every FHIR round trip, validation step and downstream Subscription call adds to the wait the sending EHR, LIS or billing system experiences. Mirth or Corepoint may have acknowledged after a fast local persist, so the new timing can change how long a sender stalls on a busy ADT or ORU feed. Decide ACK timing per interface rather than copying one setting across the estate: for each feed, record whether the sender expects an immediate ACK, whether a delayed ACK is acceptable, and what the sender does if no ACK arrives in time.

Build the decision into the interface inventory. Feeds that must confirm receipt quickly, such as admission events that a bed board depends on, usually need the Bot to acknowledge after a durable write to a queue or message store, with FHIR writes completed asynchronously. Feeds where the sender can tolerate a slower ACK, such as some batch results, may allow synchronous writes. Confirm the behavior with each vendor and with your own interface team, since the sender's retry logic and timeout settings determine what is safe. Also confirm which acknowledgment modes each source system supports before you assume a mode is available.

Test rejected and error ACKs as deliberately as accepted ones. Send malformed messages, duplicate message control IDs, messages referencing unknown patients and FHIR write failures, then confirm that the ACK code, the error text and the sender's retry behavior match what the source system expects. Measure throughput for each feed in a test environment that mirrors production message volume, peak bursts and Bot configuration before setting cutover targets. Record the sustained rate, the ACK latency distribution and the backlog recovery time, then compare them with the sender's timeout values. Ask your Medplum partner and your interface engineers to sign off these figures in the cutover plan, because a throughput number measured on an idle test server does not predict behavior under production load.

Which Medplum components replace the interface engine

Medplum does not ship a Mirth Connect or Corepoint channel importer, so each channel is rebuilt from its own design. The components below cover how HL7 messages arrive, get transformed, get written as FHIR, and leave again. Each one replaces a part of the engine, and each leaves design work with your team.

Medplum HL7 interfacing engine

Medplum describes its Bot-based HL7 interfacing engine as an alternative to Mirth or Corepoint for producing and consuming HL7 feeds from EHRs, LIS, RIS/PACS and billing systems. It replaces the engine's channel model with Bots and Agent-hosted listeners. Your team must still decide which feeds become inbound channels, which become outbound, and which message types each one handles, because the channel inventory does not carry over automatically.

HL7 interfacing docs

Medplum Agent for on-premises connectivity

The Agent sits inside your network and connects on-premises devices and systems to Medplum, which replaces the engine's listener and sender ports on the hospital side. Your team must confirm which systems can reach the Agent host, how the Agent is patched and monitored, and whose network team owns firewall rules for each source. Plan the Agent host as production infrastructure, since every inbound HL7 feed depends on it.

Bots for transformation and FHIR writes

Bots hold the logic that the engine's transformers and filters used to hold. They parse each HL7 v2 message, map segments to FHIR resources, and write them through the API. The team must design mapping code, error handling, and retry behavior for each message type, and must test every Bot against sample messages before any live feed is connected.

High throughput HL7 channel configuration

Medplum's high-throughput guide explains that in Original Acknowledgement Mode a sender blocks on each message until it receives an application ACK, so receiver processing time sets throughput. This replaces the engine's queue and ACK tuning. Your team must measure Bot processing time per message type, decide the acknowledgment mode each sending system supports, and confirm the sender's timeout settings before cutover.

High throughput HL7 guide

Subscriptions for outbound triggers

Subscriptions fire when FHIR resources change, which replaces the engine's routing rules that sent outbound HL7 when an event occurred. Outbound feeds to billing, lab, or imaging systems can be driven from these triggers. Your team must define which resource changes produce which outbound message, how duplicate triggers are suppressed, and what happens when a receiver is down for an extended period.

FHIR REST API for reads and writes

The FHIR R4 REST API is the target store that replaces the engine's direct database writes and reads. Bots, the Agent, and other systems all call it, so access control is part of the design. Your team must map each HL7 field to a FHIR element, decide how identifiers are matched to existing patients, and assign the access policies and client credentials each integration uses.

Sequence: inventory, pilot, parallel run and cutover per interface

This sequence moves HL7 v2 interfaces off Mirth Connect or Corepoint one feed at a time, so each receiver switches to Medplum only after its messages have been checked against the legacy output.

  1. Inventory channels and assign owners

    List every channel in the legacy engine, including its message types (such as ADT, ORU, ORM and SIU), senders, receivers, filters, transforms, acknowledgment settings and scheduled jobs. Record the clinical or operational owner of each channel and the person who can approve its cutover. The step is done when every channel has a row in a shared register with an owner, a receiver list and a named approver, and when channels with no known owner are escalated before any build work starts.

  2. Select a low-risk pilot interface

    Choose one interface with a single receiver, moderate volume and a clear validation path, such as a one-way lab result feed or a non-urgent demographic update. Avoid channels with complex routing or downstream systems that cannot tolerate duplicates until the team has worked through the process once. The output is a short pilot record that names the interface, its receiver, the acceptance criteria and the people who will watch it during parallel running.

  3. Build the Bot and Agent flow

    Configure the Medplum Agent on the network segment that can reach the source or receiver, define the HL7 channel, and write the Bot that maps each inbound message to FHIR resources or builds the outbound HL7 message from Medplum data. Document the mapping rules alongside the code, including how segment fields and codes map to resources and how unsupported fields are handled. The step is complete when the flow runs in a non-production project and the mapping document matches the code.

  4. Test replay against sample messages

    Replay a labeled set of historical messages through the new flow, including normal cases, edge cases such as missing optional segments, repeated messages and corrected results, and malformed input. Compare the output with what the legacy engine produced for the same input, field by field, and log every difference as either an approved change or a defect. The step closes when the team signs off on each difference and no unexplained mismatches remain for the pilot message types.

  5. Run in parallel with legacy still authoritative

    Send live traffic to both engines while the legacy channel remains the only one whose output reaches the receiver. Compare the two output streams daily, track message counts, acknowledgment outcomes and error queues, and review discrepancies with the channel owner. Record the acknowledgment mode in use for each leg, because in Original Acknowledgement Mode a sender waits for each application ACK, so receiver processing time limits throughput. The parallel run ends when the agreed comparison criteria have held for the period set in the written plan.

  6. Cut over each receiver with a rollback path

    Switch one receiver at a time from the legacy channel to the Medplum flow, with the cutover window, the approver and the rollback steps written down before the switch. Rollback means re-enabling the legacy channel for that receiver and documenting how messages received during the window are reconciled, so no message is lost or sent twice. The step is complete when the receiver confirms it is receiving the expected traffic and the first post-cutover reconciliation shows no unresolved gaps.

  7. Decommission the legacy channel

    After the receiver has run on Medplum through an agreed stable period, disable the legacy channel, keep its configuration and message archive for the retention period your policies require, and remove the channel from scheduled jobs and monitoring. Update the register so that the interface shows as migrated with its owner, the date of cutover and the location of the archived configuration. The step is complete when the legacy channel is disabled, the archive is verified and the register reflects the final state.

  8. Repeat for each remaining interface

    Apply the same sequence to each remaining interface in the order agreed in the inventory, adjusting the parallel-run period to the risk and volume of each feed. Lessons from the pilot, such as mapping gaps or agent network rules, feed into a shared checklist used for later interfaces. Durations for the full program depend on the team's own measured throughput and channel count, so ask the partner for a dated plan in the written scope that shows each interface, its owner and its cutover checkpoint.

What drives the cost and duration of an interface migration

This table lists the factors that change the effort of moving HL7 v2 channels from Mirth Connect or Corepoint to Medplum, with the cost component each one affects. Use it to see which inputs a quote should be built from. The main takeaway is that channel count and custom logic usually matter more than the hosting choice, which mainly changes recurring costs.

DriverWhy it changes cost or effortHow to keep it down
Channel count and inventoryEach channel needs its own mapping, test cases, cutover step and owner sign-off, so effort grows with the number of channels.Retire unused channels during inventory and group similar feeds into shared mapping patterns.
Message types and versionsADT, ORU, ORM and other trigger events vary by HL7 v2 version and by sending system, and each variant adds mapping and test work.Confirm the versions each sender actually emits before scoping, and limit the first phase to the trigger events in use.
Downstream receiversEach receiver may need its own format, endpoint and acknowledgment handling, multiplying build and test effort.List every receiver per channel during discovery and confirm which ones still depend on the old engine.
Custom JavaScript and transformer logicLogic embedded in Mirth channels or Corepoint scripts must be re-read, re-expressed as Medplum Bot code and re-tested, which is often the largest unplanned effort.Document what each script does, separate business rules from plumbing, and remove logic that no longer serves a purpose.
Acknowledgment requirementsOriginal Acknowledgement Mode makes the sender wait for each application ACK, so receiver speed sets throughput and receivers may need timing tests.Agree acknowledgment mode per interface with the sending and receiving teams before building the flow.
Volume and peak throughputPeak message rates determine whether the Agent and server need tuning, load testing and capacity planning before cutover.Measure peak volume from existing engine logs and test against that figure, not average load.
Clinical and LIS or RIS owners who must testEach interface needs sign-off from the clinical, laboratory or radiology team that consumes it, and their availability sets the testing calendar.Name approvers per interface and schedule their parallel-run review windows at the start of the plan.
Hosting model (one-time)Medplum's hosted plan prices are listed on its pricing page, and self-hosting is offered as a free Community option or custom-priced Enterprise Self-Hosted, so the build and infrastructure work differs by model.Ask for the hosting option in writing and confirm which infrastructure, Agent and on-call work is included.
Hosting model (recurring)Hosted plans carry recurring subscription fees, while self-hosting moves upgrades, backups, monitoring and on-call to your team or partner on a recurring basis.Compare recurring fees with the staffing and operations time self-hosting adds, and request both as separate line items.

What usually goes wrong in HL7 interface cutovers

Most failed HL7 cutovers do not fail on the first message. They fail on behavior nobody wrote down: logic buried in the old engine, timing changes that alter sender behavior, and events that arrive out of order during parallel running. Each risk below has a prevention step, and the detail differs for every interface on the list.

Undocumented channel logic

Mirth Connect and Corepoint channels often carry filters, segment rewrites, lookup tables, default values and custom scripts that no current document describes. Medplum Bots will not reproduce that logic unless someone finds it first. Inventory each channel's filters, transformers, destinations and scripts, then list which behaviors the receiving clinical or billing team depends on. Treat any rule nobody can explain as an open item before cutover.

Medplum HL7 docs

Sender retry behavior after ACK changes

Sending systems decide when to resend based on how quickly and how reliably they receive an application acknowledgment. If the new receiver acknowledges later, or sends an error where the old engine accepted the message, the sender may retry and create duplicates. Confirm each sender's acknowledgment mode and timeout settings, and test how it behaves when the receiver is slow, down or returns a negative ACK. Original Acknowledgement Mode blocks the sender until the ACK arrives, so receiver processing time directly sets throughput.

High throughput HL7 guide

Duplicate or out-of-order events in parallel

During parallel running, the same ADT or ORU event may reach both the legacy engine and Medplum, and events for one patient can arrive in a different order than the sender intended. An A03 discharge processed before its A01 admission, or a result correction applied before the original, can leave Medplum records in a state the legacy system never produced. Check message control IDs, event sequencing and idempotent handling of repeats with replay tests before any write authority moves.

Patient matching differences

The old engine may match patients on MRN alone, while a new pipeline matches on a combination of identifiers, name, date of birth or account number. The same inbound ADT message can then update a different Patient resource, or create a duplicate. Document the matching rule each legacy channel effectively uses, including its tie-breakers and merge handling, and run both rules against a sample of real traffic. Record every disagreement as an exception with a named owner.

Unhandled error queues

Interface engines usually hold failed messages in queues that operators watch daily, so failures are visible even when nobody has written a runbook. A new interface may reject bad messages with an error returned to the sender and no queue, which means failures disappear from view. Decide where rejected and failed messages go, who reviews them, how they are replayed after a fix, and how long they are kept. Confirm the retention and replay behavior in your own Medplum deployment before cutover.

Missing monitoring after cutover

Once a channel is retired, the dashboards and alerts that came with it often go too. Teams then learn about a stopped feed from a clinician or a billing backlog rather than from an alert. Before cutover, define per-interface health signals such as message volume against an expected baseline, ACK error rates, queue depth and time since the last message from each sender. Assign alerts to an on-call owner and rehearse what happens when one fires.

How long does a Mirth or Corepoint migration to Medplum take and what does it cost?

What does a Mirth or Corepoint migration to Medplum cost?

The cost is set by the number and complexity of the channels being moved, not by a single platform fee. Medplum publishes no price for interface migration work, and DeployOpen does not publish a price list, so a quote follows from a written scope. The main cost components are the channel inventory, the mapping of each message type to FHIR, building Bots and Agent configuration, testing against your sending and receiving systems, parallel running, and cutover support. Ask each quote to split one-time build effort from any recurring run costs, and to list which interfaces are in and out of scope.

How long does an HL7 interface migration take?

No duration should be promised before the channel inventory is complete. The number of channels, the message types they carry (ADT, ORU and others), the acknowledgment behavior each sender expects, and how many external systems must test against the new feed all drive the schedule. Each interface also needs its own parallel run and cutover window, and those windows depend on how often the sending system is changed and how much change control your organization requires. Ask for a schedule built from the inventory, with a parallel run and cutover window for each interface.

Can our own team migrate Mirth or Corepoint channels in-house?

Your team can do this if it has engineers who know HL7 v2 well, can read existing channel logic, and can run tests with the owners of each sending and receiving system. The work is less about writing code and more about proving that every message type, segment and acknowledgment still behaves the same way. Many teams keep ownership of the clinical rules and use an implementation partner for the Bot build, Agent setup and test harness. DeployOpen plans, implements and tests these interfaces inside your infrastructure under a written, fixed scope, so you can choose any split of work.

What does the migration need from our interface, clinical and LIS owners?

Each interface needs a named owner who can confirm what the channel does today, including filters, transformations, routing and any manual workarounds. Clinical owners must approve how patient, encounter and result data map to FHIR, and LIS or RIS owners must confirm result codes, specimen identifiers and reporting rules. Plan for their time during inventory, mapping review, parallel running and cutover sign-off. If those people are not available, the schedule will move, so confirm their availability before the scope is signed.

Can existing Mirth or Corepoint channels be imported automatically into Medplum?

Do not assume an automatic import. Channel definitions from Mirth Connect or Corepoint are built around each engine's own scripts, filters and destinations, and Medplum uses Bots and the Medplum Agent, so the logic must be reviewed and rebuilt. Any export or conversion tool you find should be tested against your real channels before you rely on it. Treat the inventory as the source of truth, and confirm with the vendor of your current engine what export formats it supports.

How do hosted and self-hosted Medplum options change the recurring cost?

Medplum lists Free, Production at $2,000 per month, Premium at $6,000 per month and custom-priced Enterprise plans for its hosted service, and self-hosting is offered as a free Community option or custom-priced Enterprise Self-Hosted, according to Medplum's pricing page. A hosted plan carries a recurring subscription, while self-hosting moves infrastructure, PostgreSQL and Redis operation, upgrades and on-call into your environment. Paid hosted plans include standard BAA and MSA agreements, and multiple external identity providers are listed as an enterprise feature. Confirm which plan includes the features your interfaces need, and price self-hosted run costs against your own cloud and staffing.

How DeployOpen scopes and delivers an interface migration

DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside your own infrastructure, so an HL7 interface move is scoped and delivered as a written, fixed-scope engagement. Each interface is inventoried, rebuilt on Medplum and tested in parallel before it takes over live traffic.

How we scope

  • Inventory every Mirth Connect or Corepoint channel, with its sender, receiver, message types and acknowledgment mode.
  • Agree in writing which ADT and ORU interfaces move, which stay on the legacy engine, and which are retired.
  • Confirm with your interface team the expected message volumes, peak periods and ACK behavior each receiving system requires.

How we build

  • Map each HL7 v2 segment and field to FHIR R4 resources, recording the mapping in a versioned register your team can review.
  • Build Medplum Bots and Agent channel configurations inside your network, with credentials held in your secrets store.
  • Test each interface against recorded sample messages and reject paths before any parallel run begins.

How we hand over

  • Deliver documentation for each interface, covering channel settings, mappings, acknowledgment modes and rollback steps.
  • Run parallel-running and cutover per interface with written go and no-go criteria agreed with your clinical and operations leads.
  • Train your team to monitor, replay and troubleshoot channels, and confirm the handover checklist is signed off before legacy channels are switched off.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the interfaces go live.
  • Plan Medplum server and Agent upgrades so interface behavior is retested after each release.
  • Review interface logs and error queues on a schedule agreed in your support scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.