Skip to main content
Version: v0.0.4

Variable: profiles

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

readonly athena: Profile

cerner

readonly cerner: Profile

epic

readonly epic: Profile

genericLab

readonly genericLab: Profile

meditech

readonly meditech: Profile

philips

readonly philips: Profile

va

readonly va: Profile

visage

readonly visage: Profile

Example

import { parseHL7, profiles } from "@cosyte/hl7";
const msg = parseHL7(raw, profiles.epic);
console.log(msg.profile?.name); // "epic"