PackagesCanonicalsLogsProblems
    Packages
    rs/gpc.stu3.fhir@assets-1.1.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-1
description: Indicates that a medication product is to be or has been dispensed for a named person/patient.
package_name: rs/gpc.stu3.fhir
derivation: constraint
name: CareConnect-ITK-MedicationDispense-1
type: MedicationDispense
elements:
  notDone: {index: 25}
  eventHistory: {index: 28}
  substitution:
    elements:
      responsibleParty:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
        index: 23
  detectedIssue: {index: 24}
  type: {short: To identify the type of medication supply., index: 9}
  note:
    index: 15
    elements:
      author:
        choices: [authorString, authorReference, authorReference, authorReference]
        index: 17
      authorString: {type: string, choiceOf: author, index: 18}
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 19
  notDoneReason:
    choices: []
    index: 27
  dosageInstruction:
    elements:
      method: {index: 22}
  identifier:
    elements:
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 0
  context:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 4
  medicationReference:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-1']
    index: 2
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-1']
            index: 2
  quantity:
    extensions:
      quantityText:
        url: h
        type: Extension
        short: Quantity representation
        index: 11
        elements:
          url:
            pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'}
            type: uri
            index: 12
    elements:
      extension:
        index: 10
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            quantityText:
              match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'}
              schema:
                type: Extension
                short: Quantity representation
                url: h
                index: 11
                elements:
                  url:
                    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationQuantityText-1'}
                    type: uri
                    index: 12
  partOf:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Procedure-1']
    index: 1
  authorizingPrescription:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1']
    index: 8
  receiver:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 14
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 3
  destination:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
    index: 13
  performer:
    index: 5
    elements:
      actor:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1']
        index: 6
      onBehalfOf:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 7
package_version: assets-1.1.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-1
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.1.0