PackagesCanonicalsLogsProblems
    Packages
    at.unofficial.au.base@2.2.0-ballot2
    http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense
description: This profile defines a medication dispense structure including core localisation concepts for use as a dispense record in an Australian context.
package_name: at.unofficial.au.base
derivation: constraint
name: AUBaseMedicationDispense
type: MedicationDispense
elements:
  substitution:
    index: 26
    elements:
      reason:
        binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medicine-substitution-reason-1'}
        index: 27
  medication[x]:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            pbs:
              match: {system: 'http://pbs.gov.au/code/item'}
              schema:
                short: PBS Item Code
                binding: {strength: preferred, valueSet: 'http://terminology.hl7.org.au/ValueSet/pbs-item'}
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://pbs.gov.au/code/item'}
                    index: 11
                required: [system]
            gtin:
              match: {system: 'http://www.gs1.org/gtin'}
              schema:
                short: Medication Package Global Trade Item Number (GTIN)
                binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/v3-GTIN'}
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.gs1.org/gtin'}
                    index: 13
                required: [system]
            amt:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: AMT Medicines
                binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1'}
                index: 14
                extensions:
                  medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 16}
                elements:
                  extension:
                    index: 15
                    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: 16}
                          max: 1
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 17
                required: [system]
            mimsPackage:
              match: {system: 'http://www.mims.com.au/codes'}
              schema:
                short: MIMS Package
                binding: {strength: preferred, valueSet: 'http://terminology.hl7.org.au/ValueSet/mims'}
                index: 18
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.mims.com.au/codes'}
                    index: 19
                required: [system]
      text: {short: Medication primary text, index: 20}
  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
  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
  dosageInstruction: {type: Dosage, index: 25}
  identifier: {type: Identifier, short: External identifier, index: 3}
  medicationReference:
    type: Reference
    short: Dispensed Medication
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 23
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Dispensed Medication
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
            index: 23
          min: 0
  authorizingPrescription:
    type: Reference
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest']
    index: 24
  medication:
    short: Dispensed Medication
    choices: [medicationReference]
    index: 22
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Dispensed Medication
            choices: [medicationReference]
            index: 22
          min: 0
package_version: 2.2.0-ballot2
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: 2.2.0