EDI DIRDEFDirectory definition message

Transaction set

This specification provides the definition of the directory definition message (dirdef) 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
DII
Directory identification
To identify a directory and to give its release, status, controlling agency, language and maintenance operation.
Mandatory
AtMax 1
40
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9
50
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
1LOOPOpt
AtMax 9
70
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
2LOOPOpt
AtMax 9
90
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
100
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 9
3LOOPOpt
AtMax 9999
120
MSG
Message type identification
To identify a message type and to give its class and maintenance operation.
Mandatory
AtMax 1
130
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 999
140
DTM
Date/time/period
To specify date, and/or time, or period.
Mandatory
AtMax 1
4LOOPOpt
AtMax 999
160
SGU
Segment usage details
To specify the details of the usage of a segment within a message type structure.
Mandatory
AtMax 1
170
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
5LOOPOpt
AtMax 1
190
GRU
Segment group usage details
To specify the usage of a segment group within a message type structure and its maintenance operation.
Mandatory
AtMax 1
200
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
6LOOPOpt
AtMax 9999
220
SEG
Segment identification
To identify a segment and give its class and maintenance operation.
Mandatory
AtMax 1
230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
240
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
250
REL
Relationship
To identify the direct relationship between the data/information contained in one segment and the data/information contained in one or more other segments.
Opt
AtMax 99
7LOOPOpt
AtMax 9999
270
CMP
Composite data element identification
To identify a composite data element and to give its class and maintenance operation.
Mandatory
AtMax 1
280
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
290
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
8LOOPOpt
AtMax 9999
310
ELM
Simple data element details
To identify a simple data element and give related details.
Mandatory
AtMax 1
320
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
9LOOPOpt
AtMax 9999
340
CDS
Code set identification
To identify a code set and to give its class and maintenance operation.
Mandatory
AtMax 1
350
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
10LOOPOpt
AtMax 9999
370
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
380
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
390
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