PackagesCanonicalsLogsProblems
    Packages
    at.unofficial.au.base@2.2.0-ballot
    http://hl7.org.au/fhir/StructureDefinition/au-medication
description: This profile defines a medication structure including core localisation concepts for use in an Australian context.
package_name: at.unofficial.au.base
derivation: constraint
name: AUBaseMedication
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        brandName:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/medication-brand-name', index: 1}
        genericName:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/medication-generic-name', index: 2}
  code:
    short: Coding for the medicine
    index: 3
    elements:
      coding:
        index: 4
        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: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://pbs.gov.au/code/item'}
                    index: 6
                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: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.gs1.org/gtin'}
                    index: 8
                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: 9
                extensions:
                  medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 11}
                elements:
                  extension:
                    index: 10
                    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: 11}
                          max: 1
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 12
                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: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.mims.com.au/codes'}
                    index: 14
                required: [system]
      text: {short: Medication primary text, index: 15}
  manufacturer: {short: Physical product manufacturer organisation, index: 16}
  form:
    binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medication-form-1'}
    index: 17
  ingredient:
    index: 18
    elements:
      item:
        short: Medication ingredient
        choices: []
        index: 20
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                short: Coded Ingredient Product
                choices: [itemCodeableConcept]
                index: 22
              min: 0
      itemCodeableConcept:
        type: CodeableConcept
        short: Coded Ingredient Product
        choiceOf: item
        index: 23
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: Coded Ingredient Product, choiceOf: item, index: 23}
              min: 0
      strength: {short: Quantity/strength of ingredient present, index: 24}
package_version: 2.2.0-ballot
extensions:
  brandName: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-brand-name', type: Extension, index: 1}
  genericName: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-generic-name', type: Extension, index: 2}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 2.2.0