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.qicore derivation: constraint name: QICoreAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference short: (QI) Who the sensitivity is for refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient'] index: 6 onset: short: (QI) When allergy or intolerance was identified mustSupport: false choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange] index: 8 category: {short: (QI) food | medication | environment | biologic, index: 3} criticality: {short: (QI) low | high | unable-to-assess, index: 4} clinicalStatus: {short: (QI) active | inactive | resolved, index: 1} onsetRange: {type: Range, short: (QI) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 12} onsetAge: {type: Age, short: (QI) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 10} onsetPeriod: {type: Period, short: (QI) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 11} type: {short: (QI) allergy | intolerance - Underlying mechanism (if known), index: 2} extension: type: Extension mustSupport: false url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge index: 0 slicing: slices: resolutionAge: match: {} schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge', index: 0} min: 0 max: 1 recordedDate: {type: dateTime, short: (QI) Date first version of the resource instance was recorded, index: 13} code: {type: CodeableConcept, short: (QI) Code that identifies the allergy or intolerance, index: 5} onsetDateTime: {type: dateTime, short: (QI) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 9} lastOccurrence: {short: (QI) Date(/time) of last known occurrence of a reaction, index: 14} reaction: short: (QI) Adverse Reaction Events linked to exposure to substance index: 15 elements: severity: {short: (QI) mild | moderate | severe (of event as a whole), index: 16} package_version: 7.0.0-ballot extensions: resolutionAge: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge', min: 0, max: 1, type: Extension, mustSupport: false, index: 0} class: profile kind: resource url: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance version: 7.0.0-ballot required: [patient]