PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.5.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationrequest
description: This profile sets minimum expectations for a MedicationRequest resource in the context of a patient summary in an Australian context. It is based on the [AU Core MedicationRequest](http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest), and applies the additional requirements from [MedicationRequest (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationRequest-uv-ips).
package_name: hl7.fhir.au.ps
derivation: constraint
name: AUPSMedicationRequest
type: MedicationRequest
elements:
  encounter:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-encounter']
    index: 15
  medication[x]:
    elements:
      coding:
        index: 8
        slicing:
          slices:
            pbs:
              match: {}
              schema: {index: 8}
            amt:
              match: {}
              schema: {index: 9}
  reasonCode: {type: CodeableConcept, index: 18}
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 7
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 7}
  authoredOn: {index: 16}
  requester:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson']
    index: 17
  status: {index: 0}
  dosageInstruction:
    index: 20
    elements:
      text: {index: 21}
      timing: {mustSupport: true, index: 22}
  doNotPerform:
    pattern: {type: Boolean, value: false}
    index: 2
  intent: {index: 1}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medication']
    index: 12
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medication']
            index: 12
  subject:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
    required: [reference]
  medication:
    choices: [medicationReference]
    index: 11
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 11
  reasonReference:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition', 'http://hl7.org/fhir/StructureDefinition/Observation']
    index: 19
package_version: 0.5.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationrequest
base: http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest
version: 0.5.0-preview