Variable: profiles
constprofiles:object
Namespace object exposing the 8 shipped built-in vendor profiles (epic,
cerner, meditech, athena, genericLab, visage, philips, va). Each is authored
via the public defineProfile() API (BIP-01..09).
Type Declaration
athena
readonlyathena:Profile
cerner
readonlycerner:Profile
epic
readonlyepic:Profile
genericLab
readonlygenericLab:Profile
meditech
readonlymeditech:Profile
philips
readonlyphilips:Profile
va
readonlyva:Profile
visage
readonlyvisage:Profile
Example
import { parseHL7, profiles } from "@cosyte/hl7";
const msg = parseHL7(raw, profiles.epic);
console.log(msg.profile?.name); // "epic"