Skip to main content
Version: v0.0.3

Interface: Allergy

An Allergy-Intolerance Observation. allergen is the offending substance (RxNorm / UNII / SNOMED) from the playing entity; type is the propensity type (the observation value). noKnownAllergy is the negationInd="true" "no known allergies" assertion, distinct from nullFlavor (substance unknown). criticality is the propensity criticality; per-reaction severity lives on each AllergyReaction.

Example

import type { Allergy } from "@cosyte/ccda";
function allergenCode(a: Allergy): string | undefined {
return a.noKnownAllergy ? undefined : a.allergen?.code;
}

Properties

allergen?

readonly optional allergen?: CD


allergenLevelSuspect?

readonly optional allergenLevelSuspect?: boolean


criticality?

readonly optional criticality?: CD


ids

readonly ids: readonly II[]


narrative?

readonly optional narrative?: string


negated?

readonly optional negated?: boolean


noKnownAllergy

readonly noKnownAllergy: boolean


nullFlavor?

readonly optional nullFlavor?: string


reactions

readonly reactions: readonly AllergyReaction[]


type?

readonly optional type?: CD