Skip to main content
Version: v0.0.3

Variable: ccdaProfiles

const ccdaProfiles: 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

readonly default: CcdaProfile

legacyR11

readonly legacyR11: CcdaProfile

smartScorecard

readonly smartScorecard: CcdaProfile

Example

import { parseCcda, ccdaProfiles } from "@cosyte/ccda";
const doc = parseCcda(raw, { profile: ccdaProfiles.smartScorecard });
console.log(doc.profile?.name); // "smartScorecard"