Skip to main content
Version: v0.0.3

Variable: SEGMENT_NAMES

const SEGMENT_NAMES: ReadonlyMap<string, string>

Segment Identification (111-AM) codes modeled by this parser, mapped to our own paraphrased names. Codes are factual identifiers from the NCPDP Telecommunication standard; the names are ours (no redistributed NCPDP prose). A code outside this set is preserved verbatim with an undefined name.

Example

import { SEGMENT_NAMES } from "@cosyte/ncpdp/telecom";
SEGMENT_NAMES.get("07"); // "Claim"
SEGMENT_NAMES.get("99"); // undefined: preserved verbatim, just not labeled