PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.16-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd
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:
    short: The date the allergy or intolerance was recorded as no longer valid
    index: 0
    slicing:
      slices:
        endDate:
          match: {}
          schema:
            short: The date the allergy or intolerance was recorded as no longer valid
            index: 0
            elements:
              url:
                pattern: {type: uri, value: endDate}
                type: uri
                index: 1
              value:
                short: The date the allergy was recorded as no longer valid
                choices: [valueDateTime]
                index: 3
              valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 4}
            required: [value, valueDateTime]
        reasonEnded:
          match: {}
          schema:
            short: The reason why the allergy or intolerance has been resolved
            index: 5
            elements:
              url:
                pattern: {type: uri, value: reasonEnded}
                type: uri
                index: 6
              value:
                short: The reason why the allergy or intolerance has been resolved
                choices: [valueString]
                index: 8
              valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 9}
            required: [value, valueString]
  url:
    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd'}
    type: uri
    index: 10
  value:
    choices: []
    index: 12
package_version: 0.0.16-pre-release
extensions:
  endDate:
    url: null
    short: The date the allergy or intolerance was recorded as no longer valid
    index: 0
    elements:
      url:
        pattern: {type: uri, value: endDate}
        type: uri
        index: 1
      value:
        short: The date the allergy was recorded as no longer valid
        choices: [valueDateTime]
        index: 3
      valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 4}
    required: [value, valueDateTime]
  reasonEnded:
    url: null
    short: The reason why the allergy or intolerance has been resolved
    index: 5
    elements:
      url:
        pattern: {type: uri, value: reasonEnded}
        type: uri
        index: 6
      value:
        short: The reason why the allergy or intolerance has been resolved
        choices: [valueString]
        index: 8
      valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 9}
    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.3.0