description: Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. package_name: ca.on.ehr.r4 derivation: constraint name: AllergyIntoleranceEHR type: AllergyIntolerance elements: patient: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 5 elements: reference: {mustSupport: true, index: 6} required: [reference] onset: mustSupport: true choices: [onsetString] index: 15 slicing: slices: onsetString: match: {} schema: mustSupport: true choices: [onsetString] index: 15 category: {mustSupport: true, index: 1} encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter'] index: 7 elements: reference: {mustSupport: true, index: 8} required: [reference] extension: type: Extension url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement index: 0 slicing: slices: abatement: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', index: 0} recordedDate: {mustSupport: true, index: 17} onsetString: type: string mustSupport: true choiceOf: onset index: 16 slicing: slices: onsetString: match: {} schema: {type: string, mustSupport: true, choiceOf: onset, index: 16} recorder: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/proifle-relatedPerson'] index: 18 code: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode'} mustSupport: true index: 2 elements: coding: elements: display: extensions: translation: url: null index: 3 extensions: {} elements: extension: {array: true, min: 2, index: 4} elements: extension: index: 3 slicing: slices: translation: match: {} schema: index: 3 extensions: {} elements: extension: {array: true, min: 2, index: 4} onsetDateTime: type: dateTime mustSupport: true choiceOf: onset index: 13 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 13} lastOccurrence: {mustSupport: true, index: 19} reaction: mustSupport: true index: 20 elements: manifestation: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'} mustSupport: true index: 21 elements: coding: elements: display: extensions: translation: url: null index: 22 extensions: {} elements: extension: {array: true, min: 2, index: 23} elements: extension: index: 22 slicing: slices: translation: match: {} schema: index: 22 extensions: {} elements: extension: {array: true, min: 2, index: 23} severity: {mustSupport: true, index: 24} package_version: 1.0.0-snapshot12 extensions: abatement: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', type: Extension, index: 0} class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-allergyIntolerance base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 1.0.0 required: [code]