PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@4.2.2-preview
    http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense
description: This profile defines a medication dispense structure that localises core concepts, including identifiers and terminology, for use in an Australian context. The purpose of this profile is to provide national level agreement on core localised concepts. This profile does not force conformance to core localised concepts. It enables implementers and modellers to make their own rules, i.e. [profiling](http://hl7.org/fhir/profiling.html), about how to support these concepts for specific implementation needs.
package_name: hl7.fhir.au.base
derivation: constraint
name: AUBaseMedicationDispense
type: MedicationDispense
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        subsidisedConcurrentSupply:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/subsidised-concurrent-supply', index: 1}
          max: 1
        dispenseNumber:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/dispense-number', index: 2}
          max: 1
  identifier: {type: Identifier, short: External identifier, index: 3}
  medication:
    short: Dispensed Medication
    choices: [medicationReference]
    index: 13
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Dispensed Medication
            choices: [medicationReference]
            index: 13
          min: 0
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Dispensed Medication
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Dispensed Medication, choiceOf: medication, index: 8}
          min: 0
  medication[x]:
    elements:
      coding:
        extensions:
          medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 10}
        elements:
          extension:
            index: 9
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                medicationClass:
                  match: {url: null}
                  schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', index: 10}
                  max: 1
      text: {short: Medication primary text, index: 11}
  medicationReference:
    type: Reference
    short: Dispensed Medication
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 14
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Dispensed Medication
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
            index: 14
          min: 0
  dosageInstruction: {type: Dosage, index: 15}
  substitution:
    index: 16
    elements:
      reason:
        binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medicine-substitution-reason-1'}
        index: 17
package_version: 4.2.2-preview
extensions:
  subsidisedConcurrentSupply: {url: 'http://hl7.org.au/fhir/StructureDefinition/subsidised-concurrent-supply', max: 1, type: Extension, index: 1}
  dispenseNumber: {url: 'http://hl7.org.au/fhir/StructureDefinition/dispense-number', max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 4.2.2-preview