Skip to main content
Version: v0.1.6

@cosyte/ncpdp/telecom

@cosyte/ncpdp/telecom: NCPDP Telecommunication-standard (vD.0) claim parsing. The zero-dependency claim side. Reading: validates the FS/GS/RS control-character framing, decodes the fixed request or response Transaction Header, tokenizes the field-id-keyed variable segments, and lifts the B1/B2/B3 request view, the response adjudication (status, pricing, DUR), and the request-side depth (compound, coordination of benefits, DUR, prior authorization). Emitting: serializes a transaction back to spec-clean wire form and builds one from scratch. Liberal on parse (quirks become stable-coded warnings with byte-offset context); only structurally unrecoverable input throws a Telecom fatal. Conservative on emit.

References​

adjudication​

Re-exports adjudication


buildTelecomRequest​

Re-exports buildTelecomRequest


claim​

Re-exports claim


claimView​

Re-exports claimView


cobOtherPayments​

Re-exports cobOtherPayments


collectCobWarnings​

Re-exports collectCobWarnings


collectCompoundWarnings​

Re-exports collectCompoundWarnings


collectDurWarnings​

Re-exports collectDurWarnings


collectResponseWarnings​

Re-exports collectResponseWarnings


compound​

Re-exports compound


D0_HEADER_LENGTH​

Re-exports D0_HEADER_LENGTH


decodeD0Header​

Re-exports decodeD0Header


decodeResponseHeader​

Re-exports decodeResponseHeader


detectVersion​

Re-exports detectVersion


Disposition​

Re-exports Disposition


DUR_REASON_MEANINGS​

Re-exports DUR_REASON_MEANINGS


FIELD_NAMES​

Re-exports FIELD_NAMES


FIELD_SEPARATOR​

Re-exports FIELD_SEPARATOR


fieldValue​

Re-exports fieldValue


fieldValues​

Re-exports fieldValues


findSegment​

Re-exports findSegment


GROUP_SEPARATOR​

Re-exports GROUP_SEPARATOR


impliedThreeDecimal​

Re-exports impliedThreeDecimal


NcpdpTelecomBuildError​

Re-exports NcpdpTelecomBuildError


NcpdpTelecomParseError​

Re-exports NcpdpTelecomParseError


NcpdpTelecomWarning​

Re-exports NcpdpTelecomWarning


parseTelecom​

Re-exports parseTelecom


priorAuthorization​

Re-exports priorAuthorization


requestDur​

Re-exports requestDur


RESPONSE_HEADER_MIN_LENGTH​

Re-exports RESPONSE_HEADER_MIN_LENGTH


RESPONSE_STATUS_MEANINGS​

Re-exports RESPONSE_STATUS_MEANINGS


responseCob​

Re-exports responseCob


responseDur​

Re-exports responseDur


responsePricing​

Re-exports responsePricing


responseStatus​

Re-exports responseStatus


SEGMENT_ABSENCES​

Re-exports SEGMENT_ABSENCES


SEGMENT_CODE_RANGES​

Re-exports SEGMENT_CODE_RANGES


SEGMENT_ID_LENGTH​

Re-exports SEGMENT_ID_LENGTH


SEGMENT_NAMES​

Re-exports SEGMENT_NAMES


SEGMENT_SEPARATOR​

Re-exports SEGMENT_SEPARATOR


SegmentAbsence​

Re-exports SegmentAbsence


SegmentAbsenceReason​

Re-exports SegmentAbsenceReason


SegmentCodeRange​

Re-exports SegmentCodeRange


SegmentGroup​

Re-exports SegmentGroup


serializeTelecom​

Re-exports serializeTelecom


splitWithOffsets​

Re-exports splitWithOffsets


TELECOM_BUILD_CODES​

Re-exports TELECOM_BUILD_CODES


TELECOM_BUILD_MESSAGES​

Re-exports TELECOM_BUILD_MESSAGES


TELECOM_FATAL_CODES​

Re-exports TELECOM_FATAL_CODES


TELECOM_FATAL_MESSAGES​

Re-exports TELECOM_FATAL_MESSAGES


TELECOM_WARNING_CODES​

Re-exports TELECOM_WARNING_CODES


TELECOM_WARNING_MESSAGES​

Re-exports TELECOM_WARNING_MESSAGES


TelecomAdjudication​

Re-exports TelecomAdjudication


TelecomBuildCode​

Re-exports TelecomBuildCode


TelecomClaim​

Re-exports TelecomClaim


TelecomCompound​

Re-exports TelecomCompound


TelecomCompoundIngredient​

Re-exports TelecomCompoundIngredient


TelecomDecodedTransaction​

Re-exports TelecomDecodedTransaction


TelecomDecodedTransmission​

Re-exports TelecomDecodedTransmission


TelecomDurAlert​

Re-exports TelecomDurAlert


TelecomDurRequest​

Re-exports TelecomDurRequest


TelecomFatalCode​

Re-exports TelecomFatalCode


TelecomField​

Re-exports TelecomField


TelecomFieldInput​

Re-exports TelecomFieldInput


TelecomHeader​

Re-exports TelecomHeader


TelecomHeaderInput​

Re-exports TelecomHeaderInput


telecomMoney​

Re-exports telecomMoney


TelecomMoney​

Re-exports TelecomMoney


TelecomOtherPayer​

Re-exports TelecomOtherPayer


TelecomOtherPayerAmount​

Re-exports TelecomOtherPayerAmount


TelecomParseOptions​

Re-exports TelecomParseOptions


telecomPosition​

Re-exports telecomPosition


TelecomPosition​

Re-exports TelecomPosition


TelecomPricing​

Re-exports TelecomPricing


TelecomPriorAuthorization​

Re-exports TelecomPriorAuthorization


TelecomProductCode​

Re-exports TelecomProductCode


telecomQuantity​

Re-exports telecomQuantity


TelecomQuantity​

Re-exports TelecomQuantity


TelecomRejectCode​

Re-exports TelecomRejectCode


TelecomRequestInput​

Re-exports TelecomRequestInput


TelecomResponseHeader​

Re-exports TelecomResponseHeader


TelecomResponseOtherPayer​

Re-exports TelecomResponseOtherPayer


TelecomResponseStatus​

Re-exports TelecomResponseStatus


TelecomSegment​

Re-exports TelecomSegment


TelecomSegmentInput​

Re-exports TelecomSegmentInput


TelecomTransaction​

Re-exports TelecomTransaction


TelecomVersion​

Re-exports TelecomVersion


telecomWarning​

Re-exports telecomWarning


TelecomWarningCode​

Re-exports TelecomWarningCode


tokenizeBody​

Re-exports tokenizeBody


tokenizeTransactions​

Re-exports tokenizeTransactions


tokenizeTransmission​

Re-exports tokenizeTransmission


undecodedHeader​

Re-exports undecodedHeader