HL7Online

HL7 v2 Segment Reference

Field-by-field documentation for the most common HL7 v2.5.1 segments

HL7 v2 messages are built from segments — three-letter blocks like MSH, PID, and OBX, each carrying a specific slice of clinical or administrative data. This reference documents every field of the segments you meet most often in real-world interface traffic, with data types, requirement levels, and realistic examples.

Decode a real message — free, no sign-up

Paste any HL7 v2 message into the free HL7 Online parser and see every segment and field decoded, validated, and explained — right in your browser.

Open the HL7 Online parser →

Documented segments