EDI GESMESGeneric statistical message

Transaction set

This specification provides the definition of the generic statistical message (gesmes) to be used in electronic data interchange (edi) between trading partners involved in administration, commerce and transport.

Segments

Position
Segment
Name
Max use
10
UNH
Message header
To end and check the completeness of an interchange
Mandatory
AtMax 1
20
BGM
Beginning of message
To indicate the type and function of a message and to transmit the identifying number.
Opt
AtMax 1
30
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9
1LOOPOpt
AtMax 9999
50
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
60
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
2LOOPOpt
AtMax 9
80
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
90
IDE
Identity
To identify an object.
Opt
AtMax 1
3LOOPOpt
AtMax 5
110
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
120
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
4LOOPOpt
AtMax 99
140
VLI
Value list identification
To identify a coded or non coded value list.
Mandatory
AtMax 1
150
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9999
160
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
5LOOPOpt
AtMax 9
180
IDE
Identity
To identify an object.
Mandatory
AtMax 1
190
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9
6LOOPOpt
AtMax 5
210
GIR
Related identification numbers
To specify a related set of identification numbers.
Mandatory
AtMax 1
220
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
7LOOPOpt
AtMax 9999
240
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
250
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 999
8LOOPOpt
AtMax 9
270
IDE
Identity
To identify an object.
Mandatory
AtMax 1
280
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9
9LOOPOpt
AtMax 999
300
STC
Statistical concept
To specify a statistical concept.
Mandatory
AtMax 1
310
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
320
IDE
Identity
To identify an object.
Opt
AtMax 5
10LOOPOpt
AtMax 9999
340
ASI
Array structure identification
To identify the structure of an array.
Mandatory
AtMax 1
350
GEI
Processing information
To identify processing information.
Opt
AtMax 5
360
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
370
IDE
Identity
To identify an object.
Opt
AtMax 5
11LOOPOpt
AtMax 999
390
SCD
Structure component definition
To specify a component of a data structure (e.g. an array or table).
Mandatory
AtMax 1
400
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 99
12LOOPOpt
AtMax 9999
420
IDE
Identity
To identify an object.
Mandatory
AtMax 1
430
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 99
440
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
13LOOPOpt
AtMax 999
460
DSI
Data set identification
To identify a data set.
Mandatory
AtMax 1
470
STS
Status
To specify the status of an object or service, including its category and the reason(s) for the status.
Opt
AtMax 9
480
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
490
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
500
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 2
14LOOPOpt
AtMax 99
520
IDE
Identity
To identify an object.
Mandatory
AtMax 1
530
GEI
Processing information
To identify processing information.
Opt
AtMax 5
540
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
15LOOPOpt
AtMax 999
560
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
570
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
16LOOPOpt
AtMax 999
590
SCD
Structure component definition
To specify a component of a data structure (e.g. an array or table).
Mandatory
AtMax 1
600
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
610
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9999
17LOOPOpt
AtMax 9999
630
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
640
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
650
ARR
Array information
To contain the data in an array.
Opt
AtMax 999999
18LOOPOpt
AtMax 5
670
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
680
IDE
Identity
To identify an object.
Opt
AtMax 1
19LOOPOpt
AtMax 5
700
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
710
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
20LOOPOpt
AtMax 999
730
FNS
Footnote set
To identify a set of footnotes.
Mandatory
AtMax 1
21LOOPOpt
AtMax 9999
750
REL
Relationship
To identify relationships between objects.
Mandatory
AtMax 1
22LOOPOpt
AtMax 9999
770
ARR
Array information
To contain the data in an array.
Mandatory
AtMax 1
780
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
23LOOPOpt
AtMax 9999
800
IDE
Identity
To identify an object.
Mandatory
AtMax 1
810
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
24LOOPOpt
AtMax 9999
830
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
840
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
25LOOPOpt
AtMax 9999
860
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
870
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
880
UNT
Message trailer
To end and check the completeness of a message.
Mandatory
AtMax 1

Elements

PositionElementNameRequirementTypeMin/MaxRepeat
10
Message reference numberMandatoryAlphanumeric1/1AtMax 1
20
Message identifierMandatoryAtMax 1
10
Message type identifierMandatoryAlphanumeric1/1Exact 1
20
Message type version numberMandatoryAlphanumeric1/3Exact 1
30
Message type release numberMandatoryAlphanumeric1/3Exact 1
40
Controlling agencyMandatoryAlphanumeric1/3Exact 1
50
Association assigned codeOptAlphanumeric1/6Exact 1
60
Code list directory version numberOptAlphanumeric1/6Exact 1
70
Message type sub-function identificationOptAlphanumeric1/6Exact 1
30
Common access referenceOptAlphanumeric1/35AtMax 1
40
Status of the transferOptAtMax 1
10
Sequence of transfersMandatoryNumber1/2Exact 1
20
First and last transferOptAlphabet1/1Exact 1
50
Message subset identificationOptAtMax 1
10
Message subset identificationMandatoryAlphanumeric1/14Exact 1
20
Message subset version numberOptAlphanumeric1/3Exact 1
30
Message subset release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1
60
Message implementation guideline identificationOptAtMax 1
10
Message implementation guideline identificationMandatoryAlphanumeric1/14Exact 1
20
Message implementation guideline release numberOptAlphanumeric1/3Exact 1
30
Message implementation guideline release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1
70
Scenario identificationOptAtMax 1
10
Scenario identificationMandatoryAlphanumeric1/14Exact 1
20
Scenario release numberOptAlphanumeric1/3Exact 1
30
Scenario release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1