← All SPoG micro-apps

HL7 v2 Segment Validator

Checks MSH essentials and required segment presence and order for ADT and ORU messages.

Clinical safety notice: Zero real patient data (PHI/PII) may be entered into this browser utility. Use synthetic test payloads only. Local-first deterministic processing; nothing leaves your browser.

How it works

Standard: HL7 v2.3 to v2.8 message structure

Formula: Required segments: ADT = MSH, EVN, PID, PV1; ORU = MSH, PID, OBR, OBX (in that order)

Checks: MSH-9 present; MSH-10 non-empty; MSH-12 version 2.3 to 2.8; required segments and their order

Calculated locally in browser memory; nothing leaves your browser.

Deterministic local-first client-side execution. Provided as-is without warranty.