Interface: X12ProfileDescription
Structured describe() output - the "what this profile relaxes / adds /
requires" record published with the package. Returned as DATA (not a
formatted string, unlike hl7) so downstream tooling - docs generators,
the pathways engine - can consume it programmatically.
Example
import { profiles } from "@cosyte/x12";
const d = profiles.availity.describe();
d.adds.map((q) => q.id); // ["payer-loop-ref-2u", "service-line-ref-f8"]
d.expectedWarnings; // readonly X12WarningCode[]
Properties
adds
readonlyadds: readonlyX12ProfileQuirk[]
description?
readonlyoptionaldescription?:string
expectedWarnings
readonlyexpectedWarnings: readonlyX12WarningCode[]
Sorted, de-duplicated union of every quirk's expectedWarnings.
lineage
readonlylineage: readonlystring[]
name
readonlyname:string
relaxes
readonlyrelaxes: readonlyX12ProfileQuirk[]
requires
readonlyrequires: readonlyX12ProfileQuirk[]