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) 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: 0} 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} 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} verificationStatus: short: (QI) unconfirmed | confirmed | refuted | entered-in-error type: CodeableConcept mustSupport: true binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-verification'} base: {max: '1', min: 0, path: AllergyIntolerance.verificationStatus} index: 1 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 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 required: [patient]