Skip to main content
Version: v0.0.3

Interface: Allergy

AL1-derived allergy entry (HELPERS-06). onsetDate is the fidelity TS.

Example

import type { Allergy } from "@cosyte/hl7";
const al: Allergy = {
type: "DA",
code: { identifier: "PEN", text: "Penicillin" },
severity: "SV",
reaction: "Hives",
};

Properties

code?

readonly optional code?: CWE

AL1-3 allergen code.


onsetDate?

readonly optional onsetDate?: DtmParts

AL1-6 onset date as the fidelity TS.


reaction?

readonly optional reaction?: string

AL1-5 allergy reaction description (first value).


severity?

readonly optional severity?: string

AL1-4 severity (SV=severe, MO=moderate, MI=mild).


type?

readonly optional type?: string

AL1-2 allergy type (DA=drug, FA=food, EA=environmental, ...).