PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@4.2.2-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: 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: 11
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Medication Reference
            choices: [medicationReference]
            index: 11
  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:
        extensions:
          medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 8}
        elements:
          extension:
            index: 7
            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: 8}
                  max: 1
      text: {short: Medication primary text, index: 9}
  medicationReference:
    type: Reference
    short: Medication Reference
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 12
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Medication Reference
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
            index: 12
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1'}
    index: 13
  dosage: {type: Dosage, index: 14}
package_version: 4.2.2-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.2.2-preview