PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@4.2.1-preview
    http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest
description: This profile defines a medication request structure that localises core concepts, including identifiers and 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: AUBaseMedicationRequest
type: MedicationRequest
elements:
  substitution:
    short: Brand substitution details
    index: 31
    elements:
      allowed:
        short: Brand substitution flag
        choices: []
        index: 33
      reason:
        binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/medicine-substitution-reason-1'}
        index: 34
  medication[x]:
    elements:
      coding:
        index: 8
        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: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://pbs.gov.au/code/item'}
                    index: 10
                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: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.gs1.org/gtin'}
                    index: 12
                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: 13
                extensions:
                  medicationClass: {url: 'http://hl7.org.au/fhir/StructureDefinition/medication-type', max: 1, type: Extension, index: 15}
                elements:
                  extension:
                    index: 14
                    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: 15}
                          max: 1
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 16
                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: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.mims.com.au/codes'}
                    index: 18
                required: [system]
      text: {short: Medication primary text, index: 19}
  dispenseRequest:
    short: Requested dispensing
    index: 29
    elements:
      numberOfRepeatsAllowed: {short: Maximum repeats authorised, index: 30}
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/reason-for-request-1'}
    index: 27
  medicationCodeableConcept:
    type: CodeableConcept
    short: Coded Prescribed Medication
    choiceOf: medication
    index: 7
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Coded Prescribed Medication, choiceOf: medication, index: 7}
          min: 0
  authoredOn: {short: Created date, index: 26}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        subsidisedConcurrentSupply:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/subsidised-concurrent-supply', index: 1}
          max: 1
  supportingInformation:
    index: 23
    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/fhir/StructureDefinition/bodyheight']
            index: 24
          max: 1
        bodyWeight:
          match: {}
          schema:
            type: Reference
            short: Observation of Body Weight
            refers: ['http://hl7.org/fhir/StructureDefinition/bodyweight']
            index: 25
          max: 1
  dosageInstruction: {type: Dosage, index: 28}
  identifier: {type: Identifier, short: External ids for this request, index: 2}
  medicationReference:
    type: Reference
    short: Prescribed Medication
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 22
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: Prescribed Medication
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
            index: 22
          min: 0
  medication:
    short: Prescribed Medication
    choices: [medicationReference]
    index: 21
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Prescribed Medication
            choices: [medicationReference]
            index: 21
          min: 0
package_version: 4.2.1-preview
extensions:
  subsidisedConcurrentSupply: {url: 'http://hl7.org.au/fhir/StructureDefinition/subsidised-concurrent-supply', max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 4.2.1-preview