HL
Hierarchical Level .
Pos: 010 Max: 1
Detail - Mandatory
Loop: HL Elements: 4
.

To identify dependencies among and the content of hierarchically related groups of data segments Element Summary:

                     
  _Ref_ Id _________Element Name__________ Req Type Min/Max ___Usage___  
  HL01 628 Hierarchical ID Number M AN 1/12 Must use  
      Description: A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
      All valid standard codes are used.
  HL02 734 Hierarchical Parent ID Number O AN 1/12 Used  
      Description: Identification number of the next higher hierarchical data segment that the data segment being described is subordinate to
  HL03 735 Hierarchical Level Code M ID 1/2 Must use  
      Description: Code defining the characteristic of a level in a hierarchical structure
      All valid standard codes are used.
  HL04 736 Hierarchical Child Code O ID 1/1 Used  
      Description: Code indicating if there are hierarchical child data segments subordinate to the level being described

Comments:
00 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.
00 The HL segment defines a top-down/left-right ordered structure.
01 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.
02 HL02 identifies the hierarchical ID number of the HL segment to which the current HL segment is subordinate.
03 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.
04 HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment.

 


Transaction Set
Previous... Next...