description: Supports the date when the allergy or intolerance was no longer valid, and/or, the reason why the allergy or intolerance is no longer valid. package_name: fhir.r4.ukcore.stu3.currentbuild derivation: constraint name: ExtensionUKCoreAllergyIntoleranceEnd type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: endDate: match: {url: endDate} schema: short: The date the allergy or intolerance was recorded as no longer valid index: 1 elements: url: pattern: {type: uri, value: endDate} type: uri index: 2 value: short: The date the allergy was recorded as no longer valid choices: [valueDateTime] index: 4 valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 5} required: [value, valueDateTime] reasonEnded: match: {url: reasonEnded} schema: short: The reason why the allergy or intolerance has been resolved index: 6 elements: url: pattern: {type: uri, value: reasonEnded} type: uri index: 7 value: short: The reason why the allergy or intolerance has been resolved choices: [valueString] index: 9 valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 10} required: [value, valueString] url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd'} type: uri index: 11 value: choices: [] index: 13 package_version: 0.0.5-sprint-6-review extensions: endDate: url: endDate short: The date the allergy or intolerance was recorded as no longer valid index: 1 elements: url: pattern: {type: uri, value: endDate} type: uri index: 2 value: short: The date the allergy was recorded as no longer valid choices: [valueDateTime] index: 4 valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 5} required: [value, valueDateTime] reasonEnded: url: reasonEnded short: The reason why the allergy or intolerance has been resolved index: 6 elements: url: pattern: {type: uri, value: reasonEnded} type: uri index: 7 value: short: The reason why the allergy or intolerance has been resolved choices: [valueString] index: 9 valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 10} required: [value, valueString] class: extension kind: complex-type url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd base: http://hl7.org/fhir/StructureDefinition/Extension version: 2.2.0