Interface: X12Profile
A readonly, frozen profile produced by defineProfile(). Mirrors the
locked hl7 Profile shape (name / description / lineage) plus X12's
quirks axis and a structured describe().
Example
import { parseX12, profiles } from "@cosyte/x12";
const ix = parseX12(raw, { profile: profiles.availity });
ix.profile?.name; // "availity"
ix.profile?.describe().adds.length;
Properties
describe
readonlydescribe: () =>X12ProfileDescription
Returns
description?
readonlyoptionaldescription?:string
lineage
readonlylineage: readonlystring[]
name
readonlyname:string
quirks
readonlyquirks: readonlyX12ProfileQuirk[]