inX12 Release 004040
HL Hierarchical Level
To identify dependencies among and the content of hierarchically related groups of data segments
Hierarchical ID Number
A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example, HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment and would be incremented by one in each subsequent HL segment within the transaction.
Hierarchical Parent ID Number
Identification number of the next higher hierarchical data segment that the data segment being described is subordinate to
HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate.
Hierarchical Level Code
Code defining the characteristic of a level in a hierarchical structure
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order, or item-level information.
Hierarchical Child Code
Code indicating if there are hierarchical child data segments subordinate to the level being described
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.