PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.au.base@1.1.1
    http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest
description: This profile defines a medication request structure including core localisation concepts for use as a prescription in an Australian context.
package_name: rs/hl7.fhir.au.base
derivation: constraint
name: AUBaseMedicationRequest
type: MedicationRequest
elements:
  substitution:
    short: Brand substitution details
    index: 54
    elements:
      allowed: {short: Brand substitution flag, index: 55}
      reason: {index: 56}
  medication[x]:
    elements:
      coding:
        index: 31
        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: 32
                elements:
                  system:
                    pattern: {type: uri, value: 'http://pbs.gov.au/code/item'}
                    type: uri
                    index: 33
                required: [system]
            gtin:
              match: {system: 'http://www.gs1.org/gtin'}
              schema:
                short: Medication Package Global Trade Item Number (GTIN)
                index: 34
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.gs1.org/gtin'}
                    type: uri
                    index: 35
                required: [system]
            amt:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: AMT Medicines
                index: 36
                extensions:
                  medicationClass: {url: h, max: 1, type: Extension, short: Class of Medication Coding, index: 38}
                elements:
                  extension:
                    index: 37
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        medicationClass:
                          match: {url: null}
                          schema: {type: Extension, short: Class of Medication Coding, url: h, index: 38}
                          max: 1
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 39
                required: [system]
            mimsPackage:
              match: {system: 'http://www.mims.com.au/codes'}
              schema:
                short: MIMS Package
                index: 40
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.mims.com.au/codes'}
                    type: uri
                    index: 41
                required: [system]
      text: {short: Medication primary text, index: 42}
  dispenseRequest:
    short: Requested dispensing
    index: 52
    elements:
      numberOfRepeatsAllowed: {short: Maximum repeats authorised, index: 53}
  reasonCode: {index: 50}
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Prescribed Medication
    choiceOf: medication
    index: 30
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Prescribed Medication, choiceOf: medication, index: 30}
          min: 0
  authoredOn: {short: Created date, index: 49}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        groundsForConcurrentSupply:
          match: {url: null}
          schema: {type: Extension, short: Grounds for Concurrent Supply of Medication, url: h, index: 1}
          max: 1
        minimumIntervalBetweenRepeats:
          match: {url: null}
          schema: {type: Extension, short: Minimum Interval Between Repeats, url: h, index: 2}
        brandName:
          match: {url: null}
          schema: {type: Extension, short: Medication Brand Name, url: h, index: 3}
        genericName:
          match: {url: null}
          schema: {type: Extension, short: Medication Generic Drug Name, url: h, index: 4}
  supportingInformation:
    index: 46
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        bodyHeight:
          match: {}
          schema:
            type: Reference
            short: Observation of Body Height
            refers: ['http://hl7.org.au/fhir/StructureDefinition/au-bodyheight']
            index: 47
          max: 1
        bodyWeight:
          match: {}
          schema:
            type: Reference
            short: Observation of Body Weight
            refers: ['http://hl7.org.au/fhir/StructureDefinition/au-bodyweight']
            index: 48
          max: 1
  dosageInstruction: {type: Dosage, index: 51}
  identifier:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      - {path: type, type: value}
      min: null
      slices:
        etpVendorIdentifier:
          match: {system: null, type: null}
          schema:
            short: Electronic Transfer of Prescription Supplier Identifier
            index: 6
            elements:
              type:
                index: 7
                elements:
                  coding:
                    index: 8
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org.au/fhir/v2/0203'}
                        type: uri
                        index: 9
                      code:
                        pattern: {type: code, value: ETP}
                        type: code
                        index: 10
                    required: [code, system]
                  text:
                    pattern: {type: string, value: ETP Identifier}
                    type: string
                    index: 11
                required: [coding, text]
              system: {short: ETP vendor identifier system URL, index: 12}
              value: {short: ETP vendor identifier, index: 13}
              assigner:
                short: ETP vendor
                index: 14
                elements:
                  display: {short: ETP vendor name, index: 15}
                required: [display]
            required: [assigner, system, type, value]
        localScriptNumber:
          match: {system: null, type: null}
          schema:
            short: Local Prescription Number
            index: 16
            elements:
              type:
                short: Coded identifier type for local prescription number
                index: 17
                elements:
                  coding:
                    index: 18
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org.au/fhir/v2/0203'}
                        type: uri
                        index: 19
                      code:
                        pattern: {type: code, value: LPN}
                        type: code
                        index: 20
                    required: [code, system]
                  text:
                    pattern: {type: string, value: Local Prescription Number}
                    type: string
                    index: 21
                required: [coding, text]
              system: {short: Namespace for local prescription number, index: 22}
              value: {short: Prescription number, index: 23}
              assigner:
                index: 24
                elements:
                  display: {index: 25}
                required: [display]
            required: [assigner, system, type, value]
  medicationReference:
    type: Reference
    short: Prescribed Medication
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
    index: 45
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Prescribed Medication
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/StructureDefinition/au-medication']
            index: 45
          min: 0
  medication:
    short: Prescribed Medication
    choices: [medicationReference]
    index: 44
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Prescribed Medication
            choices: [medicationReference]
            index: 44
          min: 0
package_version: 1.1.1
extensions:
  groundsForConcurrentSupply: {url: h, max: 1, type: Extension, short: Grounds for Concurrent Supply of Medication, index: 1}
  minimumIntervalBetweenRepeats: {url: h, type: Extension, short: Minimum Interval Between Repeats, index: 2}
  brandName: {url: h, type: Extension, short: Medication Brand Name, index: 3}
  genericName: {url: h, type: Extension, short: Medication Generic Drug Name, index: 4}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.1.1