PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.au.base@1.1.1
    http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
description: This profile defines a medication statement structure including core localisation concepts for use in an Australian context.
package_name: rs/hl7.fhir.au.base
derivation: constraint
name: AUBaseMedicationStatement
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        longTerm:
          match: {url: null}
          schema: {type: Extension, short: Medication Long Term Indicator, url: h, index: 1}
          max: 1
        brandName:
          match: {url: null}
          schema: {type: Extension, short: Medication Brand Name, url: h, index: 2}
          max: 1
        genericName:
          match: {url: null}
          schema: {type: Extension, short: Medication Generic Drug Name, url: h, index: 3}
          max: 1
  medication:
    short: Medication Reference
    choices: [medicationReference]
    index: 21
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Medication Reference
            choices: [medicationReference]
            index: 21
          min: 0
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Medication
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Medication, choiceOf: medication, index: 8}
          min: 0
  medication[x]:
    elements:
      coding:
        short: Medication Codes
        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
                index: 10
                elements:
                  system:
                    pattern: {type: uri, value: 'http://pbs.gov.au/code/item'}
                    type: uri
                    index: 11
                required: [system]
            gtin:
              match: {system: 'http://pbs.gov.au/code/item'}
              schema:
                short: Medication Package Global Trade Item Number (GTIN)
                index: 12
                elements:
                  system:
                    pattern: {type: uri, value: 'http://pbs.gov.au/code/item'}
                    type: uri
                    index: 13
                required: [system]
            amt:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: AMT Medicines
                index: 14
                extensions:
                  medicationClass: {url: h, max: 1, type: Extension, short: Class of Medication Coding, index: 16}
                elements:
                  extension:
                    index: 15
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationClass:
                          match: {url: null}
                          schema: {type: Extension, short: Class of Medication Coding, url: h, index: 16}
                          max: 1
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 17
                required: [system]
            mimsPackage:
              match: {system: 'http://www.mims.com.au/codes'}
              schema:
                short: MIMS Package
                index: 18
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.mims.com.au/codes'}
                    type: uri
                    index: 19
                required: [system]
  medicationReference:
    type: Reference
    short: Medication Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
    index: 22
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Medication Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
            index: 22
          min: 0
  reasonNotTaken: {index: 23}
  reasonCode: {index: 24}
  dosage: {type: Dosage, index: 25}
package_version: 1.1.1
extensions:
  longTerm: {url: h, max: 1, type: Extension, short: Medication Long Term Indicator, index: 1}
  brandName: {url: h, max: 1, type: Extension, short: Medication Brand Name, index: 2}
  genericName: {url: h, max: 1, type: Extension, short: Medication Generic Drug Name, index: 3}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.1.1