EDI CONTRLSyntax and control message

Transaction set

Segments

Position
Segment
Name
Max use
10
UNH
Message header
To end and check the completeness of an interchange
Mandatory
AtMax 1
20
UCI
Interchange response
This segment is used to identify the interchange being acknowledged
Mandatory
AtMax 1
30LOOPOpt
AtMax 999999
40
UCM
Message/package response
To identify a message or package in the subject interchange, and to indicate that message's or package's acknowledgement or rejection (action taken), and to identify any error related to the unh, unt, uno, and unp segments
Mandatory
AtMax 1
50LOOPOpt
AtMax 999
60
UCS
Segment error indication
To identify either a segment containing an error or a missing segment, and to identify any error related to the complete segment.
Mandatory
AtMax 1
70
UCD
Data element error indication
To identify an erroneous stand-alone, composite or component data element, and to identify the nature of the error.
Opt
AtMax 99
80LOOPOpt
AtMax 999999
90
UCF
Group response
To identify a group in the subject interchange and to indicate acknowledgement or rejection (action taken) of the ung and une segments, and to identify any error related to these segments.
Mandatory
AtMax 1
100LOOPOpt
AtMax 999
110
UCM
Message/package response
To identify a message or package in the subject interchange, and to indicate that message's or package's acknowledgement or rejection (action taken), and to identify any error related to the unh, unt, uno, and unp segments
Mandatory
AtMax 1
120LOOPOpt
AtMax 99
130
UCS
Segment error indication
To identify either a segment containing an error or a missing segment, and to identify any error related to the complete segment.
Mandatory
AtMax 1
140
UCD
Data element error indication
To identify an erroneous stand-alone, composite or component data element, and to identify the nature of the error.
Opt
AtMax 1
150
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