PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationChangeSummary-1
description: Indicates the change information of a medication item.
package_name: NHSD.Assets.STU3
derivation: constraint
name: Extension-CareConnect-GPC-MedicationChangeSummary-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        status:
          match: {url: status}
          schema:
            short: The change status of a medication
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: status}
                index: 2
              valueCode:
                type: code
                short: The change status of a medication.
                index: 3
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema: {type: code, short: The change status of a medication., index: 3}
        indicationForChange:
          match: {url: indicationForChange}
          schema:
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: indicationForChange}
                index: 5
              valueCodeableConcept:
                type: CodeableConcept
                index: 6
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, index: 6}
        dateChanged:
          match: {url: dateChanged}
          schema:
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: dateChanged}
                index: 8
              valueDateTime:
                type: dateTime
                index: 9
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, index: 9}
        detailsOfAmendment:
          match: {url: detailsOfAmendment}
          schema:
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: detailsOfAmendment}
                index: 11
              valueString:
                type: string
                index: 12
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, index: 12}
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationChangeSummary-1'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 1.0.0
extensions:
  status:
    url: status
    short: The change status of a medication
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: status}
        index: 2
      valueCode:
        type: code
        short: The change status of a medication.
        index: 3
        slicing:
          slices:
            valueCode:
              match: {}
              schema: {type: code, short: The change status of a medication., index: 3}
  indicationForChange:
    url: indicationForChange
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: indicationForChange}
        index: 5
      valueCodeableConcept:
        type: CodeableConcept
        index: 6
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, index: 6}
  dateChanged:
    url: dateChanged
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: dateChanged}
        index: 8
      valueDateTime:
        type: dateTime
        index: 9
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, index: 9}
  detailsOfAmendment:
    url: detailsOfAmendment
    index: 10
    elements:
      url:
        pattern: {type: Uri, value: detailsOfAmendment}
        index: 11
      valueString:
        type: string
        index: 12
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, index: 12}
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationChangeSummary-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0