Interface: TelecomClaim
A B1/B2/B3 request view over a decoded Telecom transaction: the safety-relevant
fields a biller needs, lifted from their field-id-keyed segments and preserved
verbatim. Every field is optional: a missing segment or field yields
undefined rather than a throw, in keeping with the lenient parse contract.
Properties
cardholderId?
readonlyoptionalcardholderId?:string
Cardholder ID (302-C2) from the Insurance segment. PHI.
dateOfBirth?
readonlyoptionaldateOfBirth?:string
Date of Birth (304-C4) from the Patient segment, verbatim (CCYYMMDD). PHI.
daysSupply?
readonlyoptionaldaysSupply?:DecimalValue
Days Supply (405-D5), preserved as a decimal-safe value.
dispenseAsWritten?
readonlyoptionaldispenseAsWritten?:string
Dispense As Written / Product Selection Code (408-D8), verbatim.
fillNumber?
readonlyoptionalfillNumber?:string
Fill Number (403-D3) from the Claim segment.
genderCode?
readonlyoptionalgenderCode?:string
Patient Gender Code (305-C5) from the Patient segment.
groupId?
readonlyoptionalgroupId?:string
Group ID (301-C1) from the Insurance segment.
personCode?
readonlyoptionalpersonCode?:string
Person Code (303-C3) from the Insurance segment.
prescriberId?
readonlyoptionalprescriberId?:string
Prescriber ID (411-DB) from the Prescriber segment.
prescriberIdQualifier?
readonlyoptionalprescriberIdQualifier?:string
Prescriber ID Qualifier (466-EZ) from the Prescriber segment.
prescriptionReferenceNumber?
readonlyoptionalprescriptionReferenceNumber?:string
Prescription/Service Reference Number (402-D2) from the Claim segment.
prescriptionReferenceQualifier?
readonlyoptionalprescriptionReferenceQualifier?:string
Prescription/Service Reference Number Qualifier (455-EM).
product?
readonlyoptionalproduct?:TelecomProductCode
Product/Service ID + qualifier (407-D7 / 436-E1), when present.
quantityDispensed?
readonlyoptionalquantityDispensed?:TelecomQuantity
Quantity Dispensed (442-E7) with its implied 3-place decimal.
transactionCode
readonlytransactionCode:string
Transaction Code (103-A3) from the header, e.g. "B1".