PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.au.base@1.1.1
    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: rs/hl7.fhir.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, short: Medication Brand Name, url: h, index: 1}
          max: 1
        genericName:
          match: {url: null}
          schema: {type: Extension, short: Medication Generic Drug Name, url: h, index: 2}
          max: 1
  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
                index: 5
                elements:
                  system:
                    pattern: {type: uri, value: 'http://pbs.gov.au/code/item'}
                    type: uri
                    index: 6
                required: [system]
            gtin:
              match: {system: 'http://www.gs1.org/gtin'}
              schema:
                short: Medication Package Global Trade Item Number (GTIN)
                index: 7
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.gs1.org/gtin'}
                    type: uri
                    index: 8
                required: [system]
            amt:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: AMT Medicines
                index: 9
                extensions:
                  medicationClass: {url: h, 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: h, index: 11}
                          max: 1
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 12
                required: [system]
            mimsPackage:
              match: {system: 'http://www.mims.com.au/codes'}
              schema:
                short: MIMS Package
                index: 13
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.mims.com.au/codes'}
                    type: uri
                    index: 14
                required: [system]
      text: {short: Medication primary text, index: 15}
  manufacturer: {short: Physical product manufacturer organisation, index: 16}
  form: {short: powder | tablets | capsule +, index: 17}
  ingredient:
    index: 18
    elements:
      item:
        short: Item Reference
        choices: [itemReference, itemReference]
        index: 25
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: Item Reference
                choices: [itemReference, itemReference]
                index: 25
              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
      itemReference:
        type: Reference
        short: Item Reference
        choiceOf: item
        refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
        index: 26
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                type: Reference
                short: Item Reference
                choiceOf: item
                refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
                index: 26
              min: 0
      amount: {short: Strength of ingredient, index: 28}
  package:
    index: 29
    elements:
      batch: {index: 30}
package_version: 1.1.1
extensions:
  brandName: {url: h, max: 1, type: Extension, short: Medication Brand Name, index: 1}
  genericName: {url: h, max: 1, type: Extension, short: Medication Generic Drug Name, index: 2}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.1.1