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. HL01 must begin with “1" and be incremented by one each time an HL is used in the transaction. Only numeric values are allowed in HL01.
Loop | Seg ID | Segment Name | Format | Length | Ref# | Req | Value |
2000A | HL | Billing Hierarchical Level | 2 | R | HL | ||
Element Separator | AN | 1 | * | ||||
HL01 | Hierarchical ID Number | AN | 1/12 | 628 | R | 1 | |
Element Separator | AN | 1 | * | ||||
HL02 | Hierarchical Parent ID Number | 0 | 1/12 | 734 | Not Used | ||
Element Separator | AN | 1 | * | ||||
HL03 | Hierarchical Level Code | ID | 1/2 | 735 | R | 22 (Subscriber) | |
Segment Terminator | ~ | ||||||
HL04 | Hierarchical Child Code | ID | 1/1 | 736 | R | 1 | |
Segment End | ~ |
Sample :
HL*3*2*22*0
TRN Subscriber Trace Number
To uniquely identify a transaction to an application
Loop | Seg ID | Segment Name | Format | Length | Ref# | Req | Value |
2000C | TRN | Subscriber Trace Number | ID | 3 | R | TRN | |
Element Separator | AN | 1 | * | ||||
TRN01 | Trace Type Code | ID | 1 | 481 | R | See below for Set of values | |
Element Separator | AN | 1 | * | ||||
TRN02 | Reference Identification | AN | 1/50 | 127 | R | <Trace Number: Assigned by information receiver or information receiver’s clearing house> | |
Element Separator | AN | 1 | * | ||||
TRN03 | Originating Company Identifier | AN | 10 | 509 | R | <ID Number of the company that assigned the trace number> | |
Element Separator | * | ||||||
TRN04 | Reference Identification | AN | 1/50 | 127 | Trace Assigning Entity Additional Identifier. Required when it is necessary to further identify a specific component of | ||
Segment Terminator | ~ | ||||||
Code | Definition |
1 | (for Current Transaction Trace Numbers) – refers to trace or reference number assigned by the creator of the 271 transaction (the information source) |
2 | (for Referenced Transaction Trace Numbers) – refers to trace or reference numbers originally sent in the 270 transaction and returned in the 271 |
1. TRN02 provides unique identification for the transaction.
2. TRN03 identifies an organization.
3. TRN04 identifies a further subdivision within the organization.
TRN*1*98175-012547*8877281234*RADIOLOGY~
TRN*1*109834652831*WXYZCLEARH*REALTIME~
TRN*2*090919391*3030240928