description: Profile of AllergyIntolerance for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors. package_name: hl7.fhir.us.quality-core derivation: constraint name: USQualityCoreAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient'] index: 1 onset: short: (USCDI+ Quality) When allergy or intolerance was identified choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange] index: 3 onsetRange: {type: Range, short: (USCDI+ Quality) When allergy or intolerance was identified, choiceOf: onset, index: 7} onsetAge: {type: Age, short: (USCDI+ Quality) When allergy or intolerance was identified, choiceOf: onset, index: 5} onsetPeriod: {type: Period, short: (USCDI+ Quality) When allergy or intolerance was identified, choiceOf: onset, index: 6} recordedDate: {short: (USCDI+ Quality) Date first version of the resource instance was recorded, index: 8} recorder: {short: (USCDI+ Quality) Who recorded the sensitivity, index: 9} code: {short: (USCDI+ Quality) Code that identifies the allergy or intolerance, index: 0} onsetDateTime: {type: dateTime, short: (USCDI+ Quality) When allergy or intolerance was identified, choiceOf: onset, index: 4} lastOccurrence: {short: (USCDI+ Quality) Date(/time) of last known occurrence of a reaction, index: 10} reaction: {short: (USCDI+ Quality) Adverse Reaction Events linked to exposure to substance, index: 11} package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-allergyintolerance base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|9.0.0 version: 1.0.0-ballot