description: The WHO SMART Guidelines AllergyIntolerance profile defines conformance requirements and exchange expectations for AllergyIntolerance resources in WHO Smart Guidelines content. package_name: smart.who.int.base-clinical derivation: constraint name: SGAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference mustSupport: true refers: ['http://smart.who.int/base-clinical/StructureDefinition/sg-patient'] index: 12 onset: mustSupport: false choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange] index: 15 category: {mustSupport: true, index: 9} criticality: {mustSupport: true, index: 10} clinicalStatus: {mustSupport: true, index: 6} onsetRange: {type: Range, mustSupport: false, choiceOf: onset, index: 19} onsetAge: {type: Age, mustSupport: false, choiceOf: onset, index: 17} encounter: type: Reference mustSupport: true refers: ['http://smart.who.int/base-clinical/StructureDefinition/sg-encounter'] index: 13 onsetPeriod: {type: Period, mustSupport: false, choiceOf: onset, index: 18} type: {mustSupport: true, index: 8} asserter: type: Reference mustSupport: true refers: ['http://smart.who.int/base-clinical/StructureDefinition/sg-patient', 'http://smart.who.int/base-clinical/StructureDefinition/sg-practitioner', 'http://smart.who.int/base-clinical/StructureDefinition/sg-practitionerrole', 'http://smart.who.int/base-clinical/StructureDefinition/sg-relatedperson'] index: 22 extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge index: 0 slicing: slices: resolutionAge: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge', index: 0} min: 0 max: 1 reasonRefuted: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted', index: 1} min: 0 max: 1 recordedDate: {type: dateTime, mustSupport: true, index: 20} recorder: type: Reference mustSupport: true refers: ['http://smart.who.int/base-clinical/StructureDefinition/sg-patient', 'http://smart.who.int/base-clinical/StructureDefinition/sg-practitioner', 'http://smart.who.int/base-clinical/StructureDefinition/sg-practitionerrole', 'http://smart.who.int/base-clinical/StructureDefinition/sg-relatedperson'] index: 21 code: {mustSupport: true, index: 11} identifier: mustSupport: true array: true min: 1 index: 2 elements: use: {mustSupport: true, index: 3} system: {mustSupport: true, index: 4} value: {mustSupport: true, index: 5} required: [value, system, use] onsetDateTime: {type: dateTime, mustSupport: false, choiceOf: onset, index: 16} verificationStatus: {mustSupport: true, index: 7} reaction: mustSupport: true index: 23 extensions: reaction-duration: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration', min: 0, max: 1, type: Extension, mustSupport: true, index: 24} elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration index: 24 slicing: slices: reaction-duration: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration', index: 24} min: 0 max: 1 manifestation: {mustSupport: true, index: 25} onset: {mustSupport: true, index: 26} severity: {mustSupport: true, index: 27} package_version: 1.0.0 extensions: resolutionAge: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge', min: 0, max: 1, type: Extension, mustSupport: true, index: 0} reasonRefuted: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://smart.who.int/base-clinical/StructureDefinition/sg-allergyintolerance base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 1.0.0 required: [identifier, patient, code]