Variable: profiles
constprofiles:object
Namespace object exposing the shipped built-in profiles, one per NCPDP
standard. Each is authored via the public defineProfile() API and grounded
in a real Tier-2 fixture.
Type Declaration
pbm
readonlypbm:NcpdpProfile
surescripts
readonlysurescripts:NcpdpProfile
Example
import { parseTelecom } from "@cosyte/ncpdp/telecom";
import { profiles } from "@cosyte/ncpdp/profiles";
const tx = parseTelecom(raw, { profile: profiles.pbm });
tx.profile?.name; // "pbm"