PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.15-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationChangeSummary
description: This describes the change information of a medication item.
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: ExtensionUKCoreMedicationChangeSummary
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        status:
          match: {url: status}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: uri, value: status}
                type: uri
                index: 2
              value:
                short: A ValueSet to identify the change status of a medication.
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, short: A ValueSet to identify the change status of a medication., choiceOf: value, index: 5}
            required: [value, valueCoding]
        indicationForChange:
          match: {url: indicationForChange}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: uri, value: indicationForChange}
                type: uri
                index: 7
              value:
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
            required: [value, valueCodeableConcept]
        dateChanged:
          match: {url: dateChanged}
          schema:
            index: 11
            elements:
              url:
                pattern: {type: uri, value: dateChanged}
                type: uri
                index: 12
              value:
                choices: [valueDateTime]
                index: 14
              valueDateTime: {type: dateTime, choiceOf: value, index: 15}
            required: [value, valueDateTime]
        detailsOfAmendment:
          match: {url: detailsOfAmendment}
          schema:
            index: 16
            elements:
              url:
                pattern: {type: uri, value: detailsOfAmendment}
                type: uri
                index: 17
              value:
                choices: [valueString]
                index: 19
              valueString: {type: string, choiceOf: value, index: 20}
            required: [value, valueString]
  url:
    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationChangeSummary'}
    type: uri
    index: 21
  value:
    choices: []
    index: 23
package_version: 0.0.15-pre-release
extensions:
  status:
    url: status
    index: 1
    elements:
      url:
        pattern: {type: uri, value: status}
        type: uri
        index: 2
      value:
        short: A ValueSet to identify the change status of a medication.
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, short: A ValueSet to identify the change status of a medication., choiceOf: value, index: 5}
    required: [value, valueCoding]
  indicationForChange:
    url: indicationForChange
    index: 6
    elements:
      url:
        pattern: {type: uri, value: indicationForChange}
        type: uri
        index: 7
      value:
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
    required: [value, valueCodeableConcept]
  dateChanged:
    url: dateChanged
    index: 11
    elements:
      url:
        pattern: {type: uri, value: dateChanged}
        type: uri
        index: 12
      value:
        choices: [valueDateTime]
        index: 14
      valueDateTime: {type: dateTime, choiceOf: value, index: 15}
    required: [value, valueDateTime]
  detailsOfAmendment:
    url: detailsOfAmendment
    index: 16
    elements:
      url:
        pattern: {type: uri, value: detailsOfAmendment}
        type: uri
        index: 17
      value:
        choices: [valueString]
        index: 19
      valueString: {type: string, choiceOf: value, index: 20}
    required: [value, valueString]
class: extension
kind: complex-type
url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationChangeSummary
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.1.0