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: rs/hl7.fhir.us.qicore derivation: constraint name: QICoreAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference short: (QI-Core)(USCDI) Who the sensitivity is for refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient'] index: 4 onset: mustSupport: false choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange] index: 6 category: {short: (QI-Core) food | medication | environment | biologic, index: 2} criticality: {short: (QI-Core) low | high | unable-to-assess, index: 3} onsetRange: {type: Range, mustSupport: false, choiceOf: onset, index: 10} onsetAge: {type: Age, mustSupport: false, choiceOf: onset, index: 8} onsetPeriod: {type: Period, mustSupport: false, choiceOf: onset, index: 9} type: {short: (QI-Core) allergy | intolerance - Underlying mechanism (if known), index: 1} 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-Core) Date first version of the resource instance was recorded, index: 11} onsetDateTime: {type: dateTime, mustSupport: false, choiceOf: onset, index: 7} reaction: short: (QI-Core)(USCDI) Adverse Reaction Events linked to exposure to substance index: 12 elements: severity: {short: (QI-Core) mild | moderate | severe (of event as a whole), index: 13} package_version: 6.0.0 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: 6.0.0 required: [patient]