PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@0.3.0-pre
    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, which is informed by the constraints of the most recent direction of the IPS-UV (September Connectathon Build) and by the constraints of the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationrequest.html) to allow 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:
  dispenseRequest:
    elements:
      validityPeriod: {index: 23}
  medicationCodeableConcept:
    short: Code for the medication being administered
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 10
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {short: Code for the medication being administered, type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 10}
          min: 0
          max: 1
  authoredOn: {mustSupport: true, index: 13}
  extension:
    type: Extension
    short: Extension for representing rendered dosage instruction.
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction
    index: 0
    slicing:
      slices:
        RenderedDosageInstruction:
          match: {}
          schema: {type: Extension, short: Extension for representing rendered dosage instruction., url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 0}
          max: 1
  requester: {index: 14}
  status: {mustSupport: true, index: 1}
  dosageInstruction:
    mustSupport: true
    index: 15
    elements:
      text: {mustSupport: true, index: 16}
      timing: {index: 17}
      route:
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        mustSupport: true
        index: 18
        elements:
          coding:
            index: 19
            slicing:
              rules: open
              description: Discriminated by the bound value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                routeEDQM:
                  match: {}
                  schema:
                    short: Optional slice for representing EDQM Standards Terms for route
                    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration'}
                    index: 20
                  max: 1
                routeSCTCA:
                  match: {}
                  schema:
                    short: Optional slice for representing SNOMED CT CA Route of Administration Codes
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
                    index: 21
                  max: 1
                RouteOfAdministrationV3PrescribeIT:
                  match: {}
                  schema:
                    short: Optional slice for representing the route of admnistration for the prescription from the PrescribeIT value set.
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionrouteofadministration'}
                    index: 22
  intent: {index: 2}
  medicationReference:
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 7
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medication-ca-ps']
            type: Reference
            mustSupport: true
            choiceOf: medication
            index: 7
          min: 0
          max: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 11
    elements:
      reference: {mustSupport: true, index: 12}
    required: [reference]
  medication:
    short: Code for the medication being administered
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 9
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: Code for the medication being administered
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 9
          min: 0
          max: 1
package_version: 0.3.0-pre
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', max: 1, type: Extension, short: Extension for representing rendered dosage instruction., index: 0}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationrequest-ca-ps
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 0.3.0