Interface: X12EligibilitySubscriber
One subscriber (Loop 2000C / 2100C). Holds the enclosing information source (Loop 2100A payer) and information receiver (Loop 2100B provider) resolved from the HL tree, the verbatim echoed TRN traces, the subscriber name + demographics, and the eligibility/benefit lines. Non-subscriber patients hang off dependents.
Example
import type { X12EligibilitySubscriber } from "@cosyte/x12";
declare const s: X12EligibilitySubscriber;
s.informationSource?.name; // "MEDPAY INSURANCE"
s.name?.lastName; // "DOE"
s.dependents.length; // 0
Properties
benefits
readonlybenefits: readonlyX12EligibilityBenefit[]
dates
readonlydates: readonlyX12EligibilityDate[]
dependents
readonlydependents: readonlyX12EligibilityDependent[]
hierarchy
readonlyhierarchy:X12Hl|undefined
informationReceiver
readonlyinformationReceiver:X12EligibilityEntity|undefined
informationSource
readonlyinformationSource:X12EligibilityEntity|undefined
name
readonlyname:X12EligibilityMember|undefined
references
readonlyreferences: readonlyX12EligibilityReference[]
traces
readonlytraces: readonlyX12EligibilityTrace[]