Healthcare Interoperability Blog

interfaceware.com
  • Iguana Integration Engine
  • Resource Center
  • Blog
Home What is an HL7 Segment Group?

What is an HL7 Segment Group?

HL7 Segment Groups

Some message types support segment groups. An HL7 segment group is a collection of segments that always appear together. Depending on the scenario, some segment groups can be optional or repeating. 

In this article, we will explore a typical sample HL7 message, and describe HL7 segments groups in detail.

Sample HL7 Message

MSH|^~\&|MESA_RPT_MGR|EAST_RADIOLOGY|REPOSITORY|XYZ|||ORU^R01|MESA3b781ae8|P|2.5||||||||
PID|||CR3^^^ADT1||CRTHREE^PAUL|||||||||||||PatientAcct||||||||||||
OBR||||4550|||20010501141500.0000||||||||||||||||||F||||||||||||||||||
OBX|1|HD|SR Instance UID||1.113654.1.2001.30.2.1||||||F||||||
OBX|2|TX|SR Text||Lungs expanded and clear. Conclusions Normal PA chest x-ray.||||||F||||||
OBR||||4551|||20010501141500||||||||||||||||||F||||||||||||||||||
OBX|1|HD|SR Instance UID||1.113654.1.2001.10.2.1.603||||||F||||||
OBX|2|HD|Study Instance UID|1|1.113654.1.2001.10||||||F||||||
OBX|3|HD|Series Instance UID|1|1.113654.1.2001.10.1||||||F||||||

 
For example, as seen in the sample message above, messages of type ORU^R01 (Lab Result) can have one or more Result Group segment groups defined.
 
Each Result Group consists of one OBR (Observation Request) segment and one or more OBX (Observation/Result) segments. In this case, the message includes two Result Group segment groups.
 
The first result group is OBR, OBX, OBX:
 

OBR||||4550|||20010501141500.0000||||||||||||||||||F|||||||||||||||||| OBX|1|HD|SR Instance UID||1.113654.1.2001.30.2.1||||||F|||||| OBX|2|TX|SR Text||Lungs expanded and clear. Conclusions Normal PA chest x-ray.||||||F||||||

While the second result group is OBR, OBX, OBX, OBX:

OBR||||4551|||20010501141500||||||||||||||||||F|||||||||||||||||| OBX|1|HD|SR Instance UID||1.113654.1.2001.10.2.1.603||||||F|||||| OBX|2|HD|Study Instance UID|1|1.113654.1.2001.10||||||F|||||| OBX|3|HD|Series Instance UID|1|1.113654.1.2001.10.1||||||F||||||

 
HL7 segment groups are one of the main components of HL7 messages. For a more in-depth review of HL7 message components, we suggest reading this article.
 
Looking for professional advice? Contact an HL7 integration specialist today.

Additional Resources:

5 Ways to Speed Up HL7 Integration

 

Aug 20, 2021iNTERFACEWARE
  • Email
  • LinkedIn
  • More
  • Facebook
  • Twitter

Related

HL7 Message Components: Everything You Need to KnowHL7 Overview: Health Leven Seven Explained
August 20, 2021 HL7 InformationHL7, hl7 segment groups, hl7 segments
Enjoying this blog?

Sign up to receive healthcare integration news, just like this, from iNTERFACEWARE Inc.

iNTERFACEWARE needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Privacy Policy.

Resources

Integration Resources & Guides

HL7 Resources

Iguana Case Studies

Iguana Integration Engine

Overview: Integration Engine

Features: Building HL7 Interfaces

Benefits: Why Choose Iguana

Company

About Us

Integration Services

Contact Us

Connect

LinkedIn

Twitter

YouTube

© - iNTERFACEWARE Inc.