PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-AllergyIntoleranceEnd-1
description: Supports the date and reason that the allergy was no longer valid.
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: Extension-CareConnect-GPC-AllergyIntoleranceEnd-1
type: Extension
elements:
  valueBase64Binary: {type: base64Binary, choiceOf: value, index: 16}
  valueAge: {type: Age, choiceOf: value, index: 33}
  valueTiming: {type: Timing, choiceOf: value, index: 52}
  valueCode: {type: code, choiceOf: value, index: 18}
  valueReference: {type: Reference, choiceOf: value, index: 49}
  valueUri: {type: uri, choiceOf: value, index: 31}
  valueTime: {type: time, choiceOf: value, index: 29}
  valueDecimal: {type: decimal, choiceOf: value, index: 21}
  valueMarkdown: {type: markdown, choiceOf: value, index: 25}
  valueIdentifier: {type: Identifier, choiceOf: value, index: 43}
  valueQuantity: {type: Quantity, choiceOf: value, index: 46}
  value:
    choices: [valueBase64Binary, valueBoolean, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming]
    index: 15
  valueCount: {type: Count, choiceOf: value, index: 39}
  valueString: {type: string, choiceOf: value, index: 28}
  valueRatio: {type: Ratio, choiceOf: value, index: 48}
  valueBoolean: {type: boolean, choiceOf: value, index: 17}
  valueInstant: {type: instant, choiceOf: value, index: 23}
  valueDateTime: {type: dateTime, choiceOf: value, index: 20}
  valueDate: {type: date, choiceOf: value, index: 19}
  valueDuration: {type: Duration, choiceOf: value, index: 41}
  valueMoney: {type: Money, choiceOf: value, index: 44}
  valueCoding: {type: Coding, choiceOf: value, index: 37}
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        endDate:
          match: {}
          schema:
            short: The date the allergy or intolerance was recorded as no longer valid.
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: endDate}
                index: 3
              value:
                short: The date the allergy was recorded as no longer valid
                choices: [valueDateTime]
                index: 5
              valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 6}
        reasonEnded:
          match: {}
          schema:
            short: The reason why the allergy or intolerance has been resolved.
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: reasonEnded}
                index: 9
              value:
                short: The reason why the allergy or intolerance has been resolved
                choices: [valueString]
                index: 11
              valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 12}
  valueSampledData: {type: SampledData, choiceOf: value, index: 50}
  valueContactPoint: {type: ContactPoint, choiceOf: value, index: 38}
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-AllergyIntoleranceEnd-1'}
    index: 13
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 36}
  valueAnnotation: {type: Annotation, choiceOf: value, index: 34}
  valuePeriod: {type: Period, choiceOf: value, index: 45}
  valueDistance: {type: Distance, choiceOf: value, index: 40}
  valueRange: {type: Range, choiceOf: value, index: 47}
  valueSignature: {type: Signature, choiceOf: value, index: 51}
  valueInteger: {type: integer, choiceOf: value, index: 24}
  valueHumanName: {type: HumanName, choiceOf: value, index: 42}
  valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 30}
  valueAttachment: {type: Attachment, choiceOf: value, index: 35}
  valueOid: {type: oid, choiceOf: value, index: 26}
  valueAddress: {type: Address, choiceOf: value, index: 32}
  valuePositiveInt: {type: positiveInt, choiceOf: value, index: 27}
  valueId: {type: id, choiceOf: value, index: 22}
package_version: 1.4.1
extensions:
  endDate:
    url: null
    short: The date the allergy or intolerance was recorded as no longer valid.
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: endDate}
        index: 3
      value:
        short: The date the allergy was recorded as no longer valid
        choices: [valueDateTime]
        index: 5
      valueDateTime: {type: dateTime, short: The date the allergy was recorded as no longer valid, choiceOf: value, index: 6}
  reasonEnded:
    url: null
    short: The reason why the allergy or intolerance has been resolved.
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: reasonEnded}
        index: 9
      value:
        short: The reason why the allergy or intolerance has been resolved
        choices: [valueString]
        index: 11
      valueString: {type: string, short: The reason why the allergy or intolerance has been resolved, choiceOf: value, index: 12}
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-AllergyIntoleranceEnd-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0