HL7 v2.x message comparator

Compare two HL7 v2.x messages and visualize differences at the segment, field, component and sub-component levels.

Submitted messages and comparison results are stored in your session. They are not logged, shared, or transmitted to third-party services.

How it works

  1. Paste the original HL7 message in Message 1.
  2. Paste the modified HL7 message in Message 2.
  3. Optionally define ignore rules.
  4. Click Compare messages.
  5. Review added, removed and changed values.

Ignore rule syntax

Rule Description
MSH-7 Ignore field MSH-7 (Date/Time Of Message)
MSH-10 Ignore field MSH-10 (Message Control ID)
PID-3 Ignore field PID-3 and all repetitions/components/sub-components
PID-3.4 Ignore component PID-3.4 and all sub-components
PID-3.4.1 Ignore sub-component PID-3.4.1
PID[*]-3[*].4 Ignore component PID-3.4 and all its sub-components for all segment indexes and repetitions
PID[2]-3[0].4.1 Ignore only a specific path