PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@1.0.1
    http://hl7.org.au/fhir/StructureDefinition/au-medicationadministration
description: Medication administration record for Australian context
package_name: hl7.fhir.au.base
derivation: constraint
name: AUBaseMedicationAdministration
type: MedicationAdministration
elements:
  medication:
    short: Medication Reference
    choices: [medicationReference]
    index: 40
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Medication Reference
            choices: [medicationReference]
            index: 40
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Medication
    choiceOf: medication
    index: 6
    slicing:
      slices:
        medicationCoded:
          match: {}
          schema: {type: CodeableConcept, short: Coded Medication, choiceOf: medication, index: 6}
  medicationReference:
    type: Reference
    short: Medication Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
    index: 41
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Medication Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
            index: 41
  medication[x]:
    elements:
      coding:
        short: Medication Codes
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            amtTPUU:
              match: {system: null, code: null}
              schema:
                short: AMT Trade Product Unit of Use
                index: 22
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 24
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: BPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with strengths and form}
                        index: 25
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: BPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with strengths and form}
                                index: 25
                elements:
                  extension:
                    index: 23
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 24
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: BPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with strengths and form}
                                index: 25
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: BPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with strengths and form}
                                        index: 25
            amtMPUU:
              match: {system: null, code: null}
              schema:
                short: AMT Medicinal Product Unit of Use
                index: 26
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 28
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: UPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with strengths and form}
                        index: 29
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: UPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with strengths and form}
                                index: 29
                elements:
                  extension:
                    index: 27
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 28
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: UPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with strengths and form}
                                index: 29
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: UPDSF, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with strengths and form}
                                        index: 29
            amtMPP:
              match: {system: null, code: null}
              schema:
                short: AMT Medicinal Product Pack
                index: 14
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 16
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: UPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded package with no container}
                        index: 17
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: UPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded package with no container}
                                index: 17
                elements:
                  extension:
                    index: 15
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 16
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: UPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded package with no container}
                                index: 17
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: UPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded package with no container}
                                        index: 17
            amtCTPP:
              match: {system: null, code: null}
              schema:
                short: AMT Containered Trade Product Pack
                index: 18
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 20
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: BPGC, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with container}
                        index: 21
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: BPGC, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with container}
                                index: 21
                elements:
                  extension:
                    index: 19
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 20
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: BPGC, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with container}
                                index: 21
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: BPGC, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with container}
                                        index: 21
            amtTP:
              match: {system: null, code: null}
              schema:
                short: AMT Trade Product
                index: 30
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 32
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: BPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with no strengths or form}
                        index: 33
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: BPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with no strengths or form}
                                index: 33
                elements:
                  extension:
                    index: 31
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 32
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: BPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with no strengths or form}
                                index: 33
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: BPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded product with no strengths or form}
                                        index: 33
            gtin:
              match: {system: null, code: null}
              schema: {short: Medication Package Global Trade Item Number (GTIN), index: 9}
            amtTPP:
              match: {system: null, code: null}
              schema:
                short: AMT Trade Product Pack
                index: 10
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 12
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: BPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with no container}
                        index: 13
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: BPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with no container}
                                index: 13
                elements:
                  extension:
                    index: 11
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 12
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: BPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with no container}
                                index: 13
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: BPG, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Branded package with no container}
                                        index: 13
            pbs:
              match: {system: null, code: null}
              schema: {short: PBS Item Code, index: 8}
            mimsPackage:
              match: {system: null, code: null}
              schema: {short: MIMS Package, index: 38}
              max: 1
            amtMP:
              match: {system: null, code: null}
              schema:
                short: AMT Medicinal Product
                index: 34
                extensions:
                  medicationType:
                    url: h
                    type: Extension
                    short: Type of Medication Coding
                    index: 36
                    elements:
                      valueCoding:
                        pattern:
                          type: Coding
                          value: {code: UPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with no strengths or form}
                        index: 37
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                pattern:
                                  type: Coding
                                  value: {code: UPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with no strengths or form}
                                index: 37
                elements:
                  extension:
                    index: 35
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationType:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Type of Medication Coding
                            url: h
                            index: 36
                            elements:
                              valueCoding:
                                pattern:
                                  type: Coding
                                  value: {code: UPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with no strengths or form}
                                index: 37
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        pattern:
                                          type: Coding
                                          value: {code: UPD, system: 'http://hl7.org.au/fhir/CodeSystem/medication-type', display: Unbranded product with no strengths or form}
                                        index: 37
  performer:
    short: Medication adminstration participants
    index: 42
    extensions:
      medicationAdministrationWitness: {url: h, min: 0, type: Extension, short: Witness to administration, index: 44}
    elements:
      extension:
        index: 43
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            medicationAdministrationWitness:
              match: {url: null}
              schema: {type: Extension, short: Witness to administration, url: h, index: 44}
              min: 0
package_version: 1.0.1
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationadministration
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 0.9.0
required: [medicationCodeableConcept, medication, medicationReference]