description: Defines the UK Core constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information. package_name: fhir.r4.ukcore.stu1 derivation: constraint name: UKCoreAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient'] index: 6 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 7 clinicalStatus: extensions: allergyIntoleranceEnd: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd', min: 0, max: 1, type: Extension, isModifier: false, index: 4} elements: extension: index: 3 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: allergyIntoleranceEnd: match: {url: null} schema: {type: Extension, isModifier: false, url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd', index: 4} min: 0 max: 1 encounter: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter'] index: 8 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 9 asserter: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 12 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 13 note: elements: author: choices: [authorReference, authorString] index: 15 authorReference: type: Reference choiceOf: author refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 16 authorString: {type: string, choiceOf: author, index: 17} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: evidence: match: {url: null} schema: {type: Extension, short: A reference to results of investigations that confirmed the certainty of the diagnosis., url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence', index: 1} min: 0 recorder: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 10 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 11 code: binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-AllergyCode'} index: 5 identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 2 reaction: elements: substance: binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-AllergySubstance'} index: 18 manifestation: binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-AllergyManifestation'} index: 19 exposureRoute: binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute'} index: 20 note: elements: author: choices: [authorReference, authorString] index: 22 authorReference: type: Reference choiceOf: author refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 23 authorString: {type: string, choiceOf: author, index: 24} package_version: 1.0.0 extensions: evidence: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence', min: 0, type: Extension, short: A reference to results of investigations that confirmed the certainty of the diagnosis., index: 1} class: profile kind: resource url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 2.3.0 required: [code]