description: null package_name: fhir.r4.wales.stu1 derivation: constraint name: DataStandardsWalesAllergyList type: List elements: encounter: {mustSupport: true, index: 7} mode: {mustSupport: true, index: 4} source: type: Reference mustSupport: true refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole'] index: 8 note: elements: author: choices: [authorReference, authorString] index: 10 authorReference: type: Reference choiceOf: author refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner'] index: 11 authorString: {type: string, choiceOf: author, index: 12} extension: type: Extension short: A reference to the practitioner who confirmed the allergy list isModifier: false url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListConfirmedBy index: 0 slicing: slices: SingleRecordAllergiesListConfirmedBy: match: {} schema: {type: Extension, short: A reference to the practitioner who confirmed the allergy list, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListConfirmedBy', index: 0} max: 1 SingleRecordAllergiesListConfirmedDate: match: {} schema: {type: Extension, short: To capture the datetime that the allergy list was confirmed, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListConfirmedDate', index: 1} max: 1 SingleRecordAllergiesListUpdated: match: {} schema: {type: Extension, short: To capture if the allergy list was updated, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListUpdated', index: 2} max: 1 status: {mustSupport: true, index: 3} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: '886921000000105', system: 'http://snomed.info/sct', display: Allergies and adverse reactions} type: CodeableConcept index: 5 entry: elements: item: type: Reference mustSupport: true refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyIntolerance'] index: 13 subject: type: Reference mustSupport: true refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient'] index: 6 package_version: 1.2.1 extensions: SingleRecordAllergiesListConfirmedBy: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListConfirmedBy', max: 1, type: Extension, short: A reference to the practitioner who confirmed the allergy list, isModifier: false, index: 0} SingleRecordAllergiesListConfirmedDate: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListConfirmedDate', max: 1, type: Extension, short: To capture the datetime that the allergy list was confirmed, isModifier: false, index: 1} SingleRecordAllergiesListUpdated: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-SingleRecord-AllergiesListUpdated', max: 1, type: Extension, short: To capture if the allergy list was updated, isModifier: false, index: 2} class: profile kind: resource url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-AllergyList base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-List version: 1.1.0 required: [subject]