As many listeners as you need
Each on its own port, started and stopped on its own, with several clients at once and persistent connections. You see at a glance which is listening, connected or blocked by a port in use.
V2Mirror is an MLLP receiver for HL7 v2. It listens on as many ports as you need, answers every message with the acknowledgment you choose, and shows exactly what the sender put on the wire. One portable program for Windows, macOS and Linux, with nothing to install.
Test a sending application before the real receiver exists, reproduce a NAK or a timeout, or see exactly what a system sends. No old Windows-only tools, no one-off scripts, no integration engine set up just to listen.
Each on its own port, started and stopped on its own, with several clients at once and persistent connections. You see at a glance which is listening, connected or blocked by a port in use.
Sender and receiver swapped, MSA-2 set to the incoming MSH-10, version, processing ID and character set copied, the message's own delimiters kept. Original and enhanced mode (MSH-15/16) included.
Answer AE for an unknown patient, AR for orders, nothing at all, or a custom message, by message type, any HL7 path, sender or client IP. First match wins. How it works
Fixed or random delays to test timeouts, no reply, a dropped connection, or a rule that fires only on every Nth message or with a probability, to test retries against a flaky receiver.
Every message with its parsed segment tree and field names, the raw text, the ACK that went back, a hex view of the frame and the rule that decided. Rows are coloured by what the sender got.
Find PID-3.1 = 4711 across everything received, in the same path syntax as V2Lens, and filter by listener, ACK code, message type, client and time. 100,000 messages in well under a second.
Strict or tolerant MLLP framing. Missing 0x0D, LF endings and stray bytes are flagged with a hex view instead of silently dropped, and a size limit stops runaway senders.
Ports, ACK texts and rules take {{variables}} from the same environments as V2Lens and HTTPrism. ACK templates take any HL7 path of the incoming message. MLLP over TLS 1.2/1.3.
Everything, including received messages, stays in a v2mirror-data folder next to the program. Every message is stored before its ACK goes out. V2Mirror connects nowhere unless you allow update checks.
Rules are checked from top to bottom, and the first match decides the reply. A message that matches no rule gets the default AA.
ADT, ORU^R*), any HL7 path with equals, contains, regex or empty, the sending application or facility, and the client IP.Pause the live list without stopping the listeners, search everything received, and open any message parsed, raw, as the ACK it got, or byte by byte.
The log is limited by count or age (10,000 messages per listener by default) so it never fills the disk. Received messages can contain patient data: they stay on your disk, and Clear all data removes them.
PID-3.1 = 4711 # patient ID equals 4711 PID-5.1 ~= mül # contains, case-insensitive PV1-2 != I # everything but inpatients OBX[2]-5 # field 5 of the third OBX ORC-1 # messages with an order control Filters: listener · AA AE AR · no reply problems · type ADT^A0* · client · time
Point V2Lens at 127.0.0.1:2575 and test both ends of an interface on one machine: the message in V2Lens, the ACK you configured, and the log entry in V2Mirror.
{{variables}}A bad frame or a dropped client never stops a listener or affects other clients. Every message is written to the log before its ACK goes out, so nothing acknowledged is ever lost.
On macOS, use ⌘ instead of Ctrl.
No installer and no runtime. Extract the zip to a folder you can write to and start V2Mirror. It comes with one listener on port 2575 that answers every message with an AA. Each zip includes a SETUP.md for its system.
C:\Tools\V2Mirror. Not Program Files.v2mirror.exe. If SmartScreen appears, click More info → Run anyway.Windows 10/11 · uses the built-in WebView2 runtime
V2Mirror.app to its final folder. Its data folder is created next to it.xattr -dr com.apple.quarantine V2Mirror.app.Apple Silicon and Intel builds · native WebKit window
~/Apps/V2Mirror. With a Snap browser, not a hidden folder../v2mirror. Open the listener ports in your firewall; ports below 1024 need extra rights.Opens as an app window of Chrome, Edge, Chromium, Brave or Vivaldi, or in Firefox and its relatives
Loading…
V2Mirror can check for new versions and update itself, if you turn that on in Settings or choose Check for updates in the ⋯ menu.