EDI 5010 Documentation–837 GS – Functional Group Header

GS – Functional Group Header


        

A Functional Group is a group of one or more related Transaction Sets sharing the same Functional Group ID. Functional Groups start with a GS Functional Group Header segment and end with a GE Functional Group Trailer segment.


Loop Seg ID Segment Name Format Length Ref# Req Value
Header GS Functional Group Header 2 R GS
Element Separator AN 1 *
GS01 Functional Identifier Code ID 2/2 479 R HC
Element Separator AN 1 *
GS02 Application Sender’s Code AN 2/15 142 R Same as IS06
Element Separator AN 1 *
GS03 Application Receiver’s ode AN 2/15 124 R Same as ISA08
Element Separator AN 1 *
GS04 Date DT 8/8 373 R Current date in YYYYMMDDD format
Element Separator AN 1 *
GS05 Time TM 4/8 337 R Print time in HHMM Format
Element Separator AN 1 *
GS06 Group Control Number NO 1/9 28 R See below for more information
Element Separator AN 1 *
GS07 Responsible Agency Code ID 1/2 455 R x
Element Separator AN 1 *
GS08 Version/Release/ No AN 1/12 480 R 005010X222A1
Segment Terminator ~
 
 
Sample:
GS*HC*S32433*Zirmed*20120921*2210*246*X*005010X222A1~

 
image
 

GS06 – Group Control Number
Just for tracking purpose, Software should generate unique EDI File Batch Number.
 
 
 

        

 
Questions or feedback are always welcome. You can email me at vbsenthilinnet@gmail.com