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

18.8.167 SGT - segment group trailer (2.14.14)

The SGT segment is only used to provide information about the instantiated message structure to the parsing process to indicate that the segment group ends and subsequent segments SHOULD be interpreted accordingly. It does not contain any patient related data. The Segment Group Trailer is required if the segment group header exists.

HL7 Attribute Table - SGT - Segment Group Trailer

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
SGT
103394Set ID - SGT SHOULD[1..1] 
SI

Sequence ID

203395Segment Group Name
=

Truncation allowed.

MAY[0..1] 60
ST

String Data

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
SGT
103394Set ID - SGT SHALL[1..1] 
SI

Sequence ID

203395Segment Group Name
=

Truncation allowed.

MAY[0..1] 60
ST

String Data

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
SGT 
103394Set ID - SGT SHOULD[1..1] 
SI

Sequence ID

SHALL
203395Segment Group Name
=

Truncation allowed.

MAY[0..1] 60
ST

String Data

MAY
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
SGT  
1 03394 Set ID - SGT   O      
SI

Sequence ID

R  
2 03395 Segment Group Name   O     60#  
ST

String Data

   
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
SGT
1 03394 Set ID - SGT R      
SI

Sequence ID

2 03395 Segment Group Name O     60#  
ST

String Data

18.8.167.1 SGT field definitions (2.14.14.0)

18.8.167.2 SGT-1 Set ID – SGT (SI) 03394 (2.14.14.1)

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

18.8.167.3 SGT-2 Segement Group Name (ST) 03395 (2.14.14.2)

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