Skip to main content
Version: v0.0.2

Interface: X12Hl

One HL segment captured during an eligibility / claim-status walk. The hierarchy is the structural safety primitive - see the module doc. The verbatim declared parentHlId is always preserved even when it fails validation (the parser never re-numbers).

Example

import type { X12Hl } from "@cosyte/x12";
declare const hl: X12Hl;
hl.hlId; // "3"
hl.parentHlId; // "2" (undefined at the information-source top level)
hl.levelCode; // "22" (Subscriber)
hl.hasChild; // "1"

Properties

hasChild

readonly hasChild: string


hlId

readonly hlId: string


levelCode

readonly levelCode: string


parentHlId

readonly parentHlId: string | undefined