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?
readonlyoptionalcode?:CWE
AL1-3 allergen code.
onsetDate?
readonlyoptionalonsetDate?:DtmParts
AL1-6 onset date as the fidelity TS.
reaction?
readonlyoptionalreaction?:string
AL1-5 allergy reaction description (first value).
severity?
readonlyoptionalseverity?:string
AL1-4 severity (SV=severe, MO=moderate, MI=mild).
type?
readonlyoptionaltype?:string
AL1-2 allergy type (DA=drug, FA=food, EA=environmental, ...).