description: Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. package_name: fhir.r4.spirecore derivation: constraint name: SpireCoreAllergyIntolerance type: AllergyIntolerance elements: extension: index: 0 slicing: slices: evidence: match: {} schema: index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-DiagnosticReport'] index: 3 value[x]: elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 4 identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 5 elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 6 patient: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Patient'] index: 7 elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 8 encounter: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Encounter'] index: 9 elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 10 recorder: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Patient', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Practitioner', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-PractitionerRole', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-RelatedPerson'] index: 11 elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 12 asserter: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Patient', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Practitioner', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-PractitionerRole', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-RelatedPerson'] index: 13 elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 14 note: elements: author: choices: [authorReference, authorString] index: 16 authorReference: type: Reference choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Patient', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Practitioner', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-RelatedPerson'] index: 17 authorString: {type: string, choiceOf: author, index: 18} reaction: elements: note: elements: author: choices: [authorReference, authorString] index: 20 authorReference: type: Reference choiceOf: author refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Patient', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Practitioner', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-RelatedPerson'] index: 21 authorString: {type: string, choiceOf: author, index: 22} package_version: 0.1.0-alpha extensions: evidence: url: null index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-DiagnosticReport'] index: 3 value[x]: elements: identifier: elements: assigner: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-Organization'] index: 4 class: profile kind: resource url: https://www.spirehealthcare.com/fhir/StructureDefinition/SpireCore-AllergyIntolerance base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance version: null