Skip to content
Reference

Engine parity with Mirth and Rhapsody

Where MedHook already covers what teams use in Mirth Connect and Rhapsody, and what is being built next.

In progressThis page describes what's coming, not working steps.

On this page

MedHook is built to replace Mirth Connect and Rhapsody with a modern, self-hosted engine. This page says what a migrating team can rely on today and what is being built next. It is a roadmap, not a schedule: it has no dates.

Where MedHook is at parity

The core HL7v2 and MLLP, FHIR, X12, routing, replay, audit and clustering surface is at or near parity. These are the items a migrating team uses most, each implemented on the current engine:

  • Message search across stored messages by date, status, type and content.
  • Reprocess a message, edited or not, to all or chosen destinations.
  • Reprocess search results: replay every message a search matches, through the same or another workflow, with an optional overwrite. See Reprocess a search.
  • Keep failed messages when pruning: a workflow can keep its failed executions longer than the rest, set in its Settings tab under Data. See Retention.
  • Error queue with view, replay and discard.
  • Duplicate suppression on a resent MSH-10, Idempotency-Key or ISA13.
  • HL7 batch processing on MLLP and HTTP intake: a batch becomes one execution per message, deduplicated and kept in order, and MLLP answers with an acknowledgment batch. See Batches.
  • Character sets on MLLP and HTTP intake and on the MLLP sender: UTF-8, ISO-8859-1, Windows-1252, ASCII, or the message's MSH-18. See Character sets.
  • Deploy with a gate: validation, a passing test and an approval.
  • Versions, diff and rollback, and promotion between workspaces.
  • Code tables shared across workflows.
  • Workspace variables, shared libraries and a per-workflow global map: the Mirth configuration map, code template libraries and global map. See Workspace variables and Shared libraries.
  • Preprocessor and postprocessor scripts, the channel's and the server's global ones, imported as JavaScript steps: the preprocessor first, on the raw message, with its return value replacing it, and the postprocessor after every destination, with their responses in responseMap. The Mirth export writes a channel's back. See Migrate from Mirth Connect.
  • Roles per workspace and a tamper-evident audit log.
  • Queue backlog and inactivity alerts, and error alerts filtered by error type, failing step, adapter or strings the error text contains. See Engine alert rules.
  • HL7 v2 conformance validation as a workflow step: required segments and order, field cardinality, required fields and datatypes against built-in or custom profiles, with reject or annotate on failure and an AE/AR acknowledgment. See HL7 v2 conformance.
  • SQL database reader, writer and lookup on PostgreSQL, SQL Server, MySQL (and MariaDB) and Oracle. See SQL database adapter.
  • Destination queues that keep retrying until the endpoint returns, in order, with pause, resume and retry now, and up to 32 threads per destination with a thread key that keeps one patient's or one facility's messages in order. See Queue until delivered, and watch them on Messages › Queues.
  • Respond after workflow: an MLLP trigger answers with the ACK the workflow's Respond step builds (custom MSA and ERR segments, or a whole ACK), the way Mirth's Respond from a destination and Rhapsody's custom ACK do. See ACK from a Respond step.
  • Collector step: buffer messages and pass them on as one list per count, time window or schedule, per key, for daily payer files, batch HL7 files and aggregated JSON. See Collector.
  • Sink destination that records what it received and delivers nothing, the Rhapsody Sink communication point. See Sink.
  • Rhapsody communication points become triggers and steps: TCP (MLLP and raw), HTTP, web service, FHIR, database, file transfer, Directory, Sink, JMS, Email (sending), Timer (a cron trigger), Google Cloud Storage and Google Pub/Sub. An HTTP Client poll reads incrementally, carrying a cursor between polls, where its URL asks for changes since a time. See Communication points.
  • HTTP calls from scripts with http.request in JavaScript steps, shared libraries and JavaScript Writers, through a Generic REST profile. See HTTP from scripts.
  • Append to a file over SFTP, FTP, SMB, WebDAV and mounted folders (writeMode: "append" or "error-if-exists"), imported from a Mirth File Writer.
  • Mirth channel import and export. See Migrating from Mirth Connect.
  • Mirth Mapper and Message Builder steps import as data maps on HL7 v2 channels where they can, and otherwise as the JavaScript Mirth generates for them, with validate(), every scope, JavaScript mappings and regular-expression replacements, on HL7 v2, XML, JSON and delimited channels, with tmp built from the outbound template, and in destinations after an XML or delimited source. Both export back as the same steps, with an HL7 v2 or JSON outbound template. See Transformers and scripts.
  • Mirth's msg and tmp message tree in JavaScript steps and filters, for HL7 v2 and XML: reads, writes, repetitions, length(), delete, new XML() and createSegment work as in Mirth, and await works in a JavaScript step. See Mirth msg and tmp.
  • SMTP Sender, JavaScript Writer and Document Writer destinations (PDF or RTF), imported from and exported to the Mirth connectors of the same names. See SMTP, JavaScript Writer and Document Writer.
  • CSV and XML data types: parse and generate delimited text, and read XML with XPath in steps and filters. See Transforms.
  • Fixed-width and NCPDP data types: parse and generate fixed-width files (multi-record layouts, header and footer lines) and NCPDP Telecommunication D.0 claims; the Mirth import maps both. See Transforms.
  • XSLT step: XSLT 1.0 stylesheets over the message, a field or a channel map variable, with parameters from the channel map and sender settings. Mirth XSLT steps and Rhapsody XSLT filters import with their stylesheet, and Mirth's export back. See XSLT.
  • File pickup and delivery over SFTP, FTP and FTPS, SMB, WebDAV, S3 and mounted folders, with a filename filter, a file-age check, size limits, subfolders, and move, delete or error folders, one run per file or per CSV row, imported from a Mirth File Reader or File Writer. See SFTP pickup and File pickup.
  • SOAP web service sender with WSDL import, SOAPAction and a WS-Security UsernameToken, imported from a Mirth Web Service Sender. See SOAP adapter.
  • DICOM listener and sender: a C-STORE listener and a dicom trigger, and a DICOM send step with C-ECHO and DICOM TLS, imported from and exported to a Mirth DICOM Listener and DICOM Sender. See DICOM trigger and DICOM adapter.
  • JMS and SOAP web service listener: a jms trigger and send step on ActiveMQ, Artemis, IBM MQ and other AMQP 1.0 brokers (acknowledged once the run is recorded, durable subscriptions, TLS), and a soap trigger that serves a Mirth-compatible WSDL with WS-Security, imported from and exported to a Mirth JMS Listener, JMS Sender and Web Service Listener. See JMS trigger, SOAP trigger and JMS adapter.
  • Outbound connection options: a client certificate for mutual TLS, a custom CA, a minimum TLS version and an HTTP proxy on REST, FHIR and EHR senders. See Connection options.
  • Encrypt stored messages per workflow, the Mirth "Encrypt message content" setting. See Encryption at rest.
  • Single sign-on over OIDC or SAML 2.0, with roles from the identity provider's groups, and LDAP or Active Directory through an identity provider. See Single sign-on.
  • Archive before purge and a configuration backup of every workflow, alert rule and setting in one file. See Execution archive and Configuration backup.
  • Parallel runs beside a live Mirth or Rhapsody engine: shadow mode, a field-by-field comparison of every destination, and a cutover that recommends enough messages, days and message types compared first, with an audited override. See Parallel runs.

In preview

  • Rhapsody configuration import into disabled draft workflows, with a report per route. Built from Rhapsody's documented format and public example files. During onboarding we validate the import against your own export with you. It reads the .rlc the Rhapsody IDE saves (File › Save, Save Configuration Locally), and the REST configuration export (GET /admin/config, which leaves out lookup tables and variables). Shared JavaScript becomes shared libraries, pinned on the steps whose JavaScript filters call them, and every JavaScript filter runs as written for review. Check every draft against its route in Rhapsody before you enable it. Mapper (.mdf) and message definitions, conditional connectors (they fail closed until reviewed), message properties, multi-input routes, error and retry connections, tracking schemes, watchlists, schedules, REST clients and hosted web services are not imported. See Migrating from Rhapsody.

What's coming

Current engine work, grouped by intent:

  • Migration fidelity. Convert more of a Mirth channel without manual work: literal E4X syntax (XML literals, .., .@), deploy scripts beyond their literal global map puts, and response transformers (each is named in a REVIEW finding today). Read more of a Rhapsody export.
  • Connector breadth. Amazon SQS and SNS and Azure Service Bus (Google Cloud Pub/Sub and JMS are available); Azure Blob Storage.
  • Delivery under failure. Queue rotation and regenerating the message before each retry.
  • Message store. Custom metadata columns, per-workflow storage modes, and exporting messages that match a search.
  • Parallel run to cutover. A readiness verdict per interface, and stopping the incumbent's channel from MedHook as one audited cutover with a rollback.
  • Access control. Custom roles, an idle sign-out, a configurable password policy and automatic deprovisioning from the directory.
  • AWS and Azure install paths. Bring them level with the Google Cloud (GKE) path.
  • Attestations. SOC 2 Type II and HITRUST reports are planned. There is no date for them.

A capability moves to Available in these docs only when the engine on that release implements it.

Reference