PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient-summary@0.10.0-alpha-1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationrequest
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.oh.patient-summary
derivation: constraint
name: MedicationRequestPSON
type: MedicationRequest
elements:
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  medicationCodeableConcept:
    short: Code for the medication being administered
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 13
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {short: Code for the medication being administered, type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 13}
          min: 0
          max: 1
  authoredOn: {mustSupport: true, index: 16}
  extension:
    type: Extension
    short: Extension for representing rendered dosage instruction.
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction
    index: 3
    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: 3}
          max: 1
  status: {mustSupport: true, index: 4}
  id: {index: 0}
  dosageInstruction:
    mustSupport: true
    index: 17
    elements:
      text: {mustSupport: true, index: 18}
      timing: {mustSupport: true, index: 19}
      route:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        mustSupport: true
        index: 20
        elements:
          coding:
            type: Coding
            mustSupport: true
            index: 21
            slicing:
              rules: open
              description: Discriminated by value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              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/routeofadministration'}
                    index: 22
  intent: {index: 5}
  medicationReference:
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication']
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 10
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication']
            type: Reference
            mustSupport: true
            choiceOf: medication
            index: 10
          min: 0
          max: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient']
    index: 14
    elements:
      reference: {mustSupport: true, index: 15}
    required: [reference]
  medication:
    short: Code for the medication being administered
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 12
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: Code for the medication being administered
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 12
          min: 0
          max: 1
package_version: 0.10.0-alpha-1
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', max: 1, type: Extension, short: Extension for representing rendered dosage instruction., index: 3}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationrequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 0.9.1
required: [meta]