Skip to main content
Version: v0.0.3

Interface: TelecomPosition

Positional context attached to NCPDP Telecommunication-standard warnings and fatal errors.

The Telecommunication standard is a byte-oriented, control-character-framed format, so position is a byte offset into the raw message: optionally narrowed to the 2-character field identifier where the condition was detected. It never carries a field value: a consumer learns where a problem is without the library echoing cardholder, patient, or drug data, keeping diagnostics PHI-safe.

Properties

byteOffset

readonly byteOffset: number

Zero-based byte offset into the raw message.


fieldId?

readonly optional fieldId?: string

The 2-character field identifier in scope, when known. Never a value.