Resources

Rhapsody site logo

HL7 resources

HL7 Segments

HL7 segments are a group of fields that then contain varying types of data. Each segment exists independently and can be utilized in multiple messages, in varying sequences, throughout the HL7 standard. Segments may be required for a particular message or they may be optional.

Optimize resource productivity with the most trusted and flexible HL7 and API integration tools in the market

A unique three-character code called the “Segment ID” identifies each segment. Segment ID codes beginning with the letter Z are reserved for locally defined Z-segments that are not part of the HL7 standard.

You can remove one or more segments from a message if desired. But because HL7 rules state that unexpected or unused segments should be ignored, most systems will ignore the unexpected segments without issue (therefore, manually removing these segments is not necessary). You might wish to remove segments only if one of your trading partners’ systems might have problems when unexpected segments are received.

The most commonly utilized segments in real-world HL7 processing include:

For a full list of all HL7 segments, refer to Appendix A of the HL7 standard.

Want to learn more about HL7? Enroll in the Academy’s HL7 training course here!

You might also like

HL7 resources

HL7 Data Types

HL7 data types define the kind of data included in a field used in the HL7 message structure. Examples include a string, text, timestamp, address, or coded element.

Read more >

HL7 resources

RIM-Reference Information Model

The HL7 Reference Information Model (RIM) represents a static model of healthcare workflows as viewed by the HL7 standards development group.

Read more >

HL7 resources

Minimum Layer Protocol – MLP

MLP is how an application should wrap an HL7 message to ensure HL7 compliant applications know where a message starts and stops, and where the next message begins.

Read more >