SEGMENT DETAIL 
 HL - INFORMATION SOURCE LEVEL
X12 Name:Hierarchical Level
X12 Purpose:To identify dependencies among and the content of hierarchically related groups of data segments
X12 Comments:
1.The HL segment is used to identify levels of detail information using a hierarchical structure, such as relating line-item data to shipment data, and packaging data to line-item data.
2.The HL segment defines a top-down/left-right ordered structure.
Loop:
2000A — INFORMATION SOURCE LEVEL
Loop Repeat: >1
Segment Repeat:
1
Usage:
REQUIRED
TR3 Notes:
1.This entity is the payer who has the current status information for the specified claims.
TR3 Example:
HL1201~
DIAGRAM 
 
 
HL
 
HL01628
Hierarch
ID Number
M 1AN1/12
HL02734
Hierarch
Parent ID
O 1AN1/12
HL03735
Hierarch
Level Code
M 1ID1/2
HL04736
Hierarch
Child Code
O 1ID1/1
 
 
 
ELEMENT DETAIL 
USAGEREF. DES.D.E. NUM.NAMEATTRIBUTES
REQUIRED        
HL01
628
Hierarchical ID Number
M 1AN1/12
A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
COMMENT: 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.
HL01 must begin with "1" within each ST/SE envelope and be incremented by one each time an HL is used in the transaction. Only numeric values are allowed in HL01.
NOT USED
HL02
734
Hierarchical Parent ID Number
O 1AN1/12
REQUIRED        
HL03
735
Hierarchical Level Code
M 1ID1/2
Code defining the characteristic of a level in a hierarchical structure
COMMENT: 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.
CODE      DEFINITION
20Information Source
REQUIRED        
HL04
736
Hierarchical Child Code
O 1ID1/1
Code indicating if there are hierarchical child data segments subordinate to the level being described
COMMENT: HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment.
CODE      DEFINITION
1Additional Subordinate HL Data Segment in This Hierarchical Structure.