description: This profile defines a set of constraints to the FHIR MedicationRequest resource for use in Ontario Patient Summaries (PS-ON). It refines constraints applied to the MedicationRequest resource by the PS-CA project to represent a record of a medication request in the patient summary. It is informed by the constraints of the most recent direction of the IPS-UV (September Connectathon Build) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationstatement.html) to allow for cross-border and cross-jurisdiction sharing of Medication Summary information. package_name: ca.on.patient derivation: constraint name: MedicationRequestPSON type: MedicationRequest elements: meta: mustSupport: true index: 1 elements: profile: {mustSupport: true, index: 2} required: [profile] dispenseRequest: elements: validityPeriod: constraint: ps-ca-medreq-1: {human: Either MedicationRequest.dispenseRequest.validityPeriod SHALL be present or a Data Absent Reason Extension SHALL be present., severity: error, expression: '(validityPeriod.exists() xor extension.where(url=''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').exists()'} mustSupport: true index: 20 extensions: {} elements: extension: {type: Extension, short: validityPeriod absence reason, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 21} required: [validityPeriod] authoredOn: {mustSupport: true, index: 13} requester: type: Reference refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole'] index: 14 status: {mustSupport: true, index: 3} id: {index: 0} dosageInstruction: mustSupport: true index: 15 elements: text: {mustSupport: true, index: 16} timing: {mustSupport: true, index: 17} route: type: CodeableConcept binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration'} mustSupport: true index: 18 slicing: rules: open description: Discriminated by value set discriminator: - {path: $this, type: pattern} min: 0 max: 1 slices: routeSCTCA: match: {} schema: short: Optional slice for representing SNOMED CT Canadian edition routes of administration binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/SNOMEDCT-CA-RouteOfAdmin'} index: 19 max: 1 medicationReference: refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication'] type: Reference mustSupport: true choiceOf: medication index: 8 slicing: slices: medicationReference: match: {} schema: refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication'] type: Reference mustSupport: true choiceOf: medication index: 8 min: 0 max: 1 subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient'] index: 11 elements: reference: {mustSupport: true, index: 12} required: [reference] medication: short: Code for the medication being administered mustSupport: true choices: [] index: 10 slicing: slices: medicationCodeableConcept: match: {} schema: short: Code for the medication being administered mustSupport: true choices: [] index: 10 min: 0 max: 1 package_version: summary-0.0.1-alpha class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationrequest base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 0.0.1 required: [meta]