An editor that speaks HL7
Segment names, delimiters and escape sequences are highlighted using each message's own MSH delimiters. Every other field is shaded, and hovering a value shows its path, name, type and decoded value.
V2Lens is a desktop tool for HL7 v2 messages. Browse and edit message files, search them by text or HL7 path, send them over MLLP and anonymize them. One portable program for Windows, macOS and Linux, with nothing to install.
Batch files, odd encodings, Z segments and versions from 2.1 to 2.8.1. V2Lens reads them as they are and saves them byte for byte.
Segment names, delimiters and escape sequences are highlighted using each message's own MSH delimiters. Every other field is shaded, and hovering a value shows its path, name, type and decoded value.
Definitions for HL7 2.1 to 2.8.1: segments, fields, data types, message structures and trigger events. Each message is described with the version in its MSH-12.
See the canonical path of the value under the cursor, its definition and warnings for empty required fields or values that are too long. The structure tree flags missing and unknown segments.
Find PID-8=F or OBX[2]-5 in the open file or across every folder at once. The folder search runs in the background and streams results as it goes.
Saved endpoints with optional TLS, a fresh control ID and timestamp on every send, and parsed acknowledgments that flag a mismatched MSA-2. Send one message, a file or a whole folder, in the order you pick.
Rules hash, fake, shift, replace or remove values, with a live preview. Send a message anonymized with one shortcut, or anonymize whole folders into a new one.
Byte order marks, UTF-8, windows-1252 and ISO-8859-1 are detected, double-encoded text such as Müller is repaired, and files are saved in their original encoding and separators.
Define variables like {{patient_lastname}} in environments and use them in any message. They are filled in when you send, so your files stay templates. How it works
Everything lives in a v2lens-data folder next to the program. V2Lens only connects to the endpoints you configure and, if you allow update checks, to this site.
Define variables like {{patient_lastname}} and use them anywhere in your messages. V2Lens fills them in from the active environment when it sends, so your files stay reusable templates.
{{obx}} can hold any number of OBX segments.{{ suggests variables, hovering shows the value, and undefined ones are flagged before anything is sent.The inspector shows the path of the value under the cursor. Copy it, and use it to search, to jump or to write an anonymizer rule.
Auto mode treats your input as a path when it parses as one and as text otherwise. Repetition indexes are 0-based, and groups are addressed by their anchor segment.
PID-5 # whole field, all repetitions PID-5.1 # component 1 in every repetition PID-3[1].1 # component 1 of the second repetition OBX[2]-5 # field 5 of the third OBX ORDER_OBSERVATION[1]/OBX-3.1 # groups, by anchor segment PID-8=F # only values equal to F PID-5.1~=mül # contains, case-insensitive
A rule is a path and an action. The built-in Default preset covers identifiers, names, dates, addresses and phone numbers in PID, MRG, NK1, PV1, GT1 and IN1.
Results come from an HMAC with a per-install key, so a patient is anonymized the same way in every file, and other machines can share the key.
On macOS, use ⌘ instead of Ctrl.
No installer and no runtime. Extract the zip to a folder you can write to and start V2Lens. Each zip includes a SETUP.md for its system.
C:\Tools\V2Lens. Not Program Files.v2lens.exe.Windows 10/11 · uses the built-in WebView2 runtime
V2Lens.app to its final folder. Its data folder is created next to it.xattr -dr com.apple.quarantine V2Lens.app.Apple Silicon and Intel builds · native WebKit window
~/Apps/V2Lens. With a Snap browser, not a hidden folder../v2lens.Opens as an app window of Chrome, Edge, Chromium, Brave or Vivaldi, or in Firefox and its relatives
Loading…
V2Lens can check for new versions on start and update itself, if you turn that on in Settings.