Mirth Connect bridge
Run MedHook beside a live Mirth Connect server, exchange messages with it, read its channels through its API, and compare the two engines' output before you cut over.
In progressThis page describes what's coming, not working steps.
On this page
The Mirth Connect bridge lets MedHook and a live Mirth Connect server work side by side during a migration. MedHook exchanges messages with Mirth in both directions, reads Mirth's channels and message history through the Mirth REST API, and compares what both engines produce for the same message until you are confident enough to move each interface.
The comparison, the API connection and the channel status view are in the engine on this release: see Parallel runs and the guide Run beside Mirth or Rhapsody, then cut over. The connection is read-only. Controlling Mirth's channels and a one-step cutover are still to come. This is a parallel run, not a live configuration sync: channels still move by import, and the export back to Mirth stays the escape hatch.
sequenceDiagram
participant Sender as Sending system
participant Engine as MedHook engine
participant Mirth as Mirth Connect
participant Dest as Destination
Sender->>Engine: ADT^A01 over MLLP
Engine->>Mirth: Same message, unchanged
Mirth->>Dest: Production delivery
Mirth-->>Engine: Mirth's output for the message
Engine->>Engine: Run the new workflow, deliver nothing
Engine->>Engine: Compare both outputs field by fieldWhat works today
These pieces are in the engine on this release.
| Piece | What it does | Where |
|---|---|---|
| Channel import | Turns a Mirth channel or server export into disabled draft workflows with a review report. | Migrate from Mirth Connect |
| Channel export | Turns a MedHook workflow back into a Mirth channel with a fidelity report, for a rollback or a parallel run. | Export a workflow to Mirth |
| Front-door passthrough | MedHook receives every message, answers the ACK and forwards it to Mirth unchanged, then takes interfaces over one at a time. | Cut over one interface at a time |
| Messages from Mirth | A Mirth TCP Sender reaches the MedHook MLLP listener, and an HTTP Sender reaches a webhook trigger. | MLLP and ACKs, Triggers |
| Messages to Mirth | The MLLP Outbound adapter sends to a Mirth TCP Listener and waits for its ACK. | MLLP adapter |
| One-time output comparison | Replays a batch exported from Mirth through a saved workflow and diffs each message against an expected output file. | Replay a batch |
| Mirth API connection | A read-only connection to the Mirth REST API (HTTP Basic or a session login), with the password stored encrypted. | Parallel runs |
| Channel status | Every Mirth channel with its state and statistics, beside the MedHook workflow that replaces it. | Parallel runs |
| Parallel run | Runs the workflow in shadow mode on the same messages (a copy, or Mirth's message history by sync) and diffs it with Mirth's output, HL7-aware. | Run beside Mirth or Rhapsody |
| Cutover report | Match rate, the fields that differ and every differing message, with CSV and JSON export, masked for viewers. | Parallel runs |
What's coming
- Channel control. Deploy, undeploy, start, stop and pause a Mirth channel from MedHook, each action recorded in the audit log. The connection is read-only today.
- Cutover readiness. A per-interface verdict built from the comparison (for example, the number of days and messages without a difference), and a cutover that undeploys the Mirth channel and stops the passthrough forwarding that interface in one audited change, with a one-step rollback.
- Import gaps the bridge depends on. Loading a Mirth message export into message history, importing more Mirth connector types, and a channel-to-channel route that counts as a delivery.
- Two-way message exchange by channel. Hand a message to a named Mirth channel and take one back from a Mirth Channel Writer, for topologies that stay split across both engines for a while.