Interface: NcpdpProfile
A readonly, frozen profile produced by defineProfile(). Mirrors the locked
x12/hl7 shape (name / description / lineage) plus NCPDP's standard-tagged
quirks axis and a structured describe().
Example
import { parseTelecom } from "@cosyte/ncpdp/telecom";
import { profiles } from "@cosyte/ncpdp/profiles";
const tx = parseTelecom(raw, { profile: profiles.pbm });
tx.profile?.name; // "pbm"
tx.profile?.describe().requires.length;
Properties
describe
readonlydescribe: () =>NcpdpProfileDescription
Returns
description?
readonlyoptionaldescription?:string
lineage
readonlylineage: readonlystring[]
name
readonlyname:string
quirks
readonlyquirks: readonlyNcpdpProfileQuirk[]