Monday, 3 September 2012

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 ~


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


  1. Is there any identification for GS08 code - this is Dental or Professional or Institutional

    1. 005010X222A1 = Professional
      005010X223A1 = Institutional
      005010X224A1 = Dental

  2. Is there any list of Functional identifier code?


Passing Parameter between two files using MVVM

This examples shows how to pass parameter between two zul screens. In this example, we are passing some parameters from the parent vm to...