Skip to content
Reference

Rhapsody bridge

Run MedHook beside a live Rhapsody engine, exchange messages with it, read its routes 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 Rhapsody bridge lets MedHook and a live Rhapsody engine work side by side during a migration. MedHook exchanges messages with Rhapsody in both directions, reads Rhapsody's routes and communication points through its REST management 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, and Rhapsody's output reaches MedHook through an HTTP client communication point that posts a copy to the run. Controlling communication points and a one-step cutover are still to come.

sequenceDiagram
    participant Sender as Sending system
    participant Engine as MedHook engine
    participant Rhapsody as Rhapsody
    participant Dest as Destination

    Sender->>Engine: ORU^R01 over MLLP
    Engine->>Rhapsody: Same message, unchanged
    Rhapsody->>Dest: Production delivery
    Rhapsody-->>Engine: Rhapsody's output for the message
    Engine->>Engine: Run the new workflow, deliver nothing
    Engine->>Engine: Compare both outputs field by field

What works today

These pieces are in the engine on this release.

PieceWhat it doesWhere
Front-door passthroughMedHook receives every message, answers the ACK and forwards it to Rhapsody unchanged, then takes interfaces over one at a time.Cut over from Rhapsody
Messages from RhapsodyA Rhapsody TCP client communication point reaches the MedHook MLLP listener, and an HTTP client reaches a webhook trigger.MLLP and ACKs, Triggers
Messages to RhapsodyThe MLLP Outbound adapter sends to a Rhapsody TCP server communication point and waits for its ACK.MLLP adapter
One-time output comparisonReplays a batch exported from Rhapsody through a saved workflow and diffs each message against an expected output file.Replay a batch
Network reachA site-to-site tunnel to the network Rhapsody runs on.Site-to-site tunnels
Rhapsody API connectionA read-only connection to the Rhapsody REST API (HTTP Basic), with the password stored encrypted.Parallel runs
Channel statusEvery route and communication point with its state and counts, beside the MedHook workflow that replaces it.Parallel runs
Parallel runRuns the workflow in shadow mode on a copy of each message and diffs it with Rhapsody's captured output, HL7-aware.Run beside Mirth or Rhapsody
Cutover reportMatch rate, the fields that differ and every differing message, with CSV and JSON export, masked for viewers.Parallel runs
Configuration importTurns a Rhapsody configuration export into disabled draft workflows, with an estimate per route of how much converts on its own.Migrating from Rhapsody

What's coming

  • Communication point control. Start or stop a communication point from MedHook, each action recorded in the audit log. The connection is read-only today.
  • Pulling Rhapsody's output. Reading processed messages from Rhapsody's message search, so a run needs no extra communication point.
  • Cutover readiness. A per-interface verdict built from the comparison, and a cutover that stops the Rhapsody communication point and the passthrough forwarding for that interface in one audited change, with a one-step rollback.
  • Message history import. Loading a Rhapsody message export into message history, not only into a dry run.

Reference