The Demo site for our new HL7 Version 2+ (plus) Standard
visit the hl7 website

Draft Website - For Review Purposes Only

SGH - Segment Group Header Segment

The SGH segment is only used to provide information about the instantiated message structure to indicate that a new segment group begins and subsequent segments SHOULD be interpreted accordingly. It does not contain any patient related data.

It is expected that each SGH will be accompanied by an SGT, as depicted below in the abstract message diagram: WRP: Widget Reports

Segments

Description

Status

Chapter

MSH

Message Header

2

[{SFT}]

Software Segment

2

[UAC]

User Authentication Credential

2

MSA

Message Acknowledgment

2

[{ERR}]

Error Segment

2

{

---Widget begin

[SGH]

Segment Group Header

2

WDN

Widget Description

XX

WPN

Widget Portion

XX

[SGT}

Segment Group Trailer

2

}

---Widget end


HL7 Attribute Table - SGH - segment group header segment
Seq# Data Element Name DataType Usage Vocabulary Cardinality Item # Length C.LEN Flags
SGH
1 Set ID – SGH SI R [1..1] 03389 [4..*]
2 Segment Group Name ST O [0..1] 03390 60 #

SGH-1: Set ID – SGH (SI) 03389

Definition: For the first segment group transmitted, the sequence number SHALL be 1; for the second , it SHALL be 2; and so on.

SGH-2: Segment Group Name (ST) 03390

Definition: This field contains the name of the segment group.