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.
Mandatory
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 c082 only and/or unstructured by c058 or structured by c080 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
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 99
140
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 999
150
DTM
Date/time/period
To specify date, and/or time, or period.
Mandatory
AtMax 1
4LOOPOpt
AtMax 999
170
SGU
Segment usage details
To specify the details of the usage of a segment within a message type structure.
Mandatory
AtMax 1
180
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
5LOOPOpt
AtMax 1
210
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
220
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
6LOOPOpt
AtMax 99
250
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
260
REL
Relationship
To identify relationships between objects.
Opt
AtMax 1
270
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 9
280
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
290
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
7LOOPOpt
AtMax 9999
310
SEG
Segment identification
To identify a segment and give its class and maintenance operation.
Mandatory
AtMax 1
320
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
330
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
340
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
8LOOPOpt
AtMax 99
360
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
370
REL
Relationship
To identify relationships between objects.
Opt
AtMax 1
380
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 9
390
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
400
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
9LOOPOpt
AtMax 9999
420
CMP
Composite data element identification
To identify a composite data element and to give its class and maintenance operation.
Mandatory
AtMax 1
430
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
440
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
450
ELU
Data element usage details
To specify the usage of a data element.
Opt
AtMax 99
10LOOPOpt
AtMax 99
470
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
480
REL
Relationship
To identify relationships between objects.
Opt
AtMax 1
490
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 9
500
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
510
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
11LOOPOpt
AtMax 9999
530
ELM
Simple data element details
To identify a simple data element and give related details.
Mandatory
AtMax 1
540
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
550
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
12LOOPOpt
AtMax 9999
570
CDS
Code set identification
To identify a code set and to give its class and maintenance operation.
Mandatory
AtMax 1
580
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
13LOOPOpt
AtMax 9999
600
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
610
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
620
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
630
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