PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.au.base@4.1.1-preview
    http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
description: This profile defines a medication statement structure that localises core concepts, including 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: rs/hl7.fhir.au.base
derivation: constraint
name: AUBaseMedicationStatement
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      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}
          min: 0
  medication:
    short: Medication Reference
    choices: [medicationReference]
    index: 20
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Medication Reference
            choices: [medicationReference]
            index: 20
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Medication
    choiceOf: medication
    index: 6
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Medication, choiceOf: medication, index: 6}
  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'}
                    type: uri
                    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'}
                    type: uri
                    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', min: 0, max: 1, type: Extension, index: 14}
                elements:
                  extension:
                    index: 13
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        medicationClass:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', index: 14}
                          min: 0
                          max: 1
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    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'}
                    type: uri
                    index: 17
                required: [system]
      text: {short: Medication primary text, index: 18}
  medicationReference:
    type: Reference
    short: Medication Reference
    choiceOf: medication
    index: 21
    slicing:
      slices:
        medicationReference:
          match: {}
          schema: {type: Reference, short: Medication Reference, choiceOf: medication, index: 21}
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1'}
    index: 22
  dosage: {type: Dosage, index: 23}
package_version: 4.1.1-preview
extensions:
  longTerm: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-long-term', min: 0, 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: 4.1.1-preview