PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationDispense-1
description: Indicates that a medication product is to be or has been dispensed for a named person/patient.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-MedicationDispense-1
type: MedicationDispense
elements:
  substitution:
    elements:
      responsibleParty:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
        index: 21
  type: {short: To identify the type of medication supply., index: 10}
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 16
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 19
      authorString: {type: string, choiceOf: author, index: 18}
  identifier:
    elements:
      system: {index: 0}
      value: {index: 1}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 2
    required: [value, system]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 6
  medicationReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
    index: 4
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
            index: 4
  quantity:
    extensions:
      quantityText: {url: h, max: 1, type: Extension, index: 12}
    elements:
      extension:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            quantityText:
              match: {url: null}
              schema: {type: Extension, url: h, index: 12}
              max: 1
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Procedure-1']
    index: 3
  authorizingPrescription:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1']
    index: 9
  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: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 5
  destination:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
    index: 13
  performer:
    elements:
      actor:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', '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']
        index: 7
      onBehalfOf:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 8
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationDispense-1
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.1.0