description: This profile sets minimum expectations for a MedicationRequest resource to record, search, and fetch medication orders and requests (i.e. prescriptions) associated with a patient. It is based on the [AU Base Medication Request](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationrequest.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the MedicationRequest when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context. package_name: hl7.fhir.au.core derivation: constraint name: AUCoreMedicationRequest type: MedicationRequest elements: category: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-category'} mustSupport: true index: 3 substitution: mustSupport: true index: 26 elements: allowed: mustSupport: true choices: [] index: 28 encounter: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter'] index: 16 medication[x]: elements: coding: index: 9 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: pbs: match: {system: null} schema: {mustSupport: true, index: 10} amt: match: {system: null} schema: {mustSupport: true, index: 11} dispenseRequest: mustSupport: true index: 22 elements: validityPeriod: {mustSupport: true, index: 23} numberOfRepeatsAllowed: {mustSupport: true, index: 24} quantity: {mustSupport: true, index: 25} reasonCode: {mustSupport: true, index: 19} medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 8} authoredOn: constraint: au-core-medreq-03: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest', severity: error, expression: toString().length() >= 10} mustSupport: true index: 17 note: {mustSupport: true, index: 20} requester: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson'] index: 18 status: {mustSupport: true, index: 1} dosageInstruction: {mustSupport: true, index: 21} identifier: {mustSupport: true, index: 0} intent: {mustSupport: true, index: 2} medicationReference: type: Reference choiceOf: medication refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication'] index: 14 slicing: slices: medicationReference: match: {} schema: type: Reference choiceOf: medication refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication'] index: 14 subject: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient'] index: 15 medication: choices: [medicationReference] index: 13 slicing: slices: medicationReference: match: {} schema: choices: [medicationReference] index: 13 package_version: 0.2.2-preview class: profile kind: resource url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest base: http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest version: 0.2.2-preview required: [authoredOn, requester]