PackagesCanonicalsLogsProblems
    Packages
    at.unofficial.au.base@2.2.0-ballot2
    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: at.unofficial.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: 'http://hl7.org.au/fhir/StructureDefinition/medication-long-term', index: 1}
  medication:
    short: Medication Detail
    choices: []
    index: 3
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: Coded Medication
            choices: [medicationCodeableConcept]
            index: 5
          min: 0
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Medication
    choiceOf: medication
    index: 6
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Medication, choiceOf: medication, index: 6}
          min: 0
  medication[x]:
    elements:
      coding:
        short: Medication Codes
        index: 7
        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: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://pbs.gov.au/code/item'}
                    index: 9
                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: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.gs1.org/gtin'}
                    index: 11
                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: 12
                extensions:
                  medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 14}
                elements:
                  extension:
                    index: 13
                    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: 14}
                          max: 1
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 15
                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: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.mims.com.au/codes'}
                    index: 17
                required: [system]
      text: {short: Medication primary text, index: 18}
  medicationReference:
    type: Reference
    short: Medication Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 19
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Medication Reference
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
            index: 19
          min: 0
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1'}
    index: 20
  dosage: {type: Dosage, index: 21}
package_version: 2.2.0-ballot2
extensions:
  longTerm: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-long-term', type: Extension, short: Medication Long Term Indicator, index: 1}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 2.2.0