Interface: CcdaProfile
A frozen, immutable vendor/conformance profile. Produced by
defineCcdaProfile; consumers pass it to parseCcda(raw, { profile })
(or register it as the process default). Hand-authoring the object literal is
supported but discouraged, the factory validates the safety rules and
attaches describe().
Example
import { parseCcda, ccdaProfiles } from "@cosyte/ccda";
const doc = parseCcda(xml, { profile: ccdaProfiles.smartScorecard });
console.log(doc.profile?.name); // "smartScorecard"
Properties
describe?
readonlyoptionaldescribe?: () =>string
Multi-line human-readable summary; always present on factory-built profiles.
Returns
string
description?
readonlyoptionaldescription?:string
Optional human-readable description.
lineage
readonlylineage: readonlystring[]
Resolved lineage, [...parents, name], first-occurrence deduped.
name
readonlyname:string
The profile's unique name (registry key / attribution label).
provenance?
readonlyoptionalprovenance?:ProfileProvenance
The cited public grounding for this profile's quirks (absent for default).
tolerate
readonlytolerate: readonlyQuirkTolerance[]
The expected, non-safety-critical deviations this profile tolerates.