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?
readonlyoptionalallergen?:CD
allergenLevelSuspect?
readonlyoptionalallergenLevelSuspect?:boolean
criticality?
readonlyoptionalcriticality?:CD
ids
readonlyids: readonlyII[]
narrative?
readonlyoptionalnarrative?:string
negated?
readonlyoptionalnegated?:boolean
noKnownAllergy
readonlynoKnownAllergy:boolean
nullFlavor?
readonlyoptionalnullFlavor?:string
reactions
readonlyreactions: readonlyAllergyReaction[]
type?
readonlyoptionaltype?:CD