PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.2.0-ti-ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationrequest-ca-ps
description: This profile represents the constraints applied to the MedicationRequest resource by the PS-CA project and allows for cross-border and cross-jurisdiction sharing of information record of a medication request information in the patient summary.
package_name: ca.infoway.io.psca
derivation: constraint
name: MedicationRequestPSCA
type: MedicationRequest
elements:
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode'}
    index: 12
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 7}
  authoredOn: {mustSupport: true, index: 11}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        RenderedDosageInstruction:
          match: {url: null}
          schema: {short: Extension for representing rendered dosage instruction., type: Extension, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 1}
          min: 0
          max: 1
  status: {mustSupport: true, index: 2}
  dosageInstruction:
    elements:
      text: {mustSupport: true, index: 13}
      timing: {index: 14}
      route:
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        index: 15
  doNotPerform:
    pattern: {type: Boolean, value: false}
    index: 4
  intent: {index: 3}
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
    index: 8
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 9
    elements:
      reference: {mustSupport: true, index: 10}
    required: [reference]
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 6
package_version: 2.2.0-ti-ballot
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', min: 0, max: 1, short: Extension for representing rendered dosage instruction., type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationrequest-ca-ps
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 2.2.0