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: fhir.onc.us-quality-core derivation: constraint name: USQualityCoreAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference short: (USCDI) Who the sensitivity is for refers: ['http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-patient'] index: 5 onset: short: (USCDI+ Quality) When allergy or intolerance was identified mustSupport: false choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange] index: 7 category: {short: food | medication | environment | biologic, index: 2} criticality: {short: low | high | unable-to-assess, index: 3} onsetRange: {type: Range, short: (USCDI+ Quality) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 11} onsetAge: {type: Age, short: (USCDI+ Quality) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 9} onsetPeriod: {type: Period, short: (USCDI+ Quality) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 10} type: {short: 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: (USCDI+ Quality) Date first version of the resource instance was recorded, index: 12} code: {short: (USCDI+ Quality) (USCDI) Code that identifies the allergy or intolerance, index: 4} onsetDateTime: {type: dateTime, short: (USCDI+ Quality) When allergy or intolerance was identified, mustSupport: false, choiceOf: onset, index: 8} lastOccurrence: {short: (USCDI+ Quality) Date(/time) of last known occurrence of a reaction, index: 13} reaction: short: (USCDI+ Quality) (USCDI) Adverse Reaction Events linked to exposure to substance index: 14 elements: manifestation: {short: (USCDI) Clinical symptoms/signs associated with the Event, index: 15} severity: {short: mild | moderate | severe (of event as a whole), index: 16} package_version: 0.5.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://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-allergyintolerance base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|6.1.0 version: 0.5.0 required: [patient]