Variable: ccdaProfiles
constccdaProfiles:object
Namespace object exposing the built-in profiles: the conservative default
baseline plus the two evidence-backed conformance profiles (smartScorecard,
legacyR11), each authored via the public defineCcdaProfile() API and
carrying its cited public provenance.
Type Declaration
default
readonlydefault:CcdaProfile
legacyR11
readonlylegacyR11:CcdaProfile
smartScorecard
readonlysmartScorecard:CcdaProfile
Example
import { parseCcda, ccdaProfiles } from "@cosyte/ccda";
const doc = parseCcda(raw, { profile: ccdaProfiles.smartScorecard });
console.log(doc.profile?.name); // "smartScorecard"