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
4LOOPOpt
AtMax 999
150
SGU
Segment usage details
To specify the details of the usage of a segment within a message type structure.
Mandatory
AtMax 1
160
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
5LOOPOpt
AtMax 1
180
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
190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
6LOOPOpt
AtMax 9999
210
SEG
Segment identification
To identify a segment and give its class and maintenance operation.
Mandatory
AtMax 1
220
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
230
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
7LOOPOpt
AtMax 9999
250
CMP
Composite data element identification
To identify a composite data element and to give its class and maintenance operation.
Mandatory
AtMax 1
260
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
270
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
8LOOPOpt
AtMax 9999
290
ELM
Simple data element details
To identify a simple data element and give related details.
Mandatory
AtMax 1
300
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
9LOOPOpt
AtMax 9999
320
CDS
Code set identification
To identify a code set and to give its class and maintenance operation.
Mandatory
AtMax 1
330
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
10LOOPOpt
AtMax 9999
350
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
360
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
370
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/1Exact 1
30
Message type release numberMandatoryAlphanumeric1/1Exact 1
40
Controlling agencyMandatoryAlphanumeric1/1Exact 1
50
Association assigned codeOptAlphanumeric1/1Exact 1
30
Common access referenceOptAlphanumeric1/1AtMax 1
40
Status of the transferOptAtMax 1