PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.setp-development@1.1.0
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-request
description: An order or request for both supply of the medication and the instructions for administration of the medication to a patient.
package_name: ca.on.oh.setp-development
derivation: constraint
name: PCareMedicationRequest
type: MedicationRequest
elements:
  medication[x]:
    elements:
      coding:
        index: 13
        elements:
          code: {index: 14}
        required: [code]
      text: {index: 15}
  medicationCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 12
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 12}
  authoredOn: {index: 18}
  requester:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 19
    elements:
      reference: {index: 20}
  status:
    constraint:
      pcare-mrq-1: {human: 'MedicationRequest.status is expected to equal ''unknown'' for ON:IR compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-request', severity: warning, expression: $this = 'unknown'}
    index: 3
  dosageInstruction:
    index: 21
    elements:
      text: {index: 22}
      route:
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        index: 23
  identifier:
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
  intent:
    constraint:
      pcare-mrq-2: {human: 'MedicationRequest.intent is expected to equal ''order'' for ON:IR compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-request', severity: warning, expression: $this = 'order'}
    index: 4
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication']
    index: 9
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            choiceOf: medication
            refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication']
            index: 9
  subject:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient']
    index: 16
    elements:
      reference: {index: 17}
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 11
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 11
package_version: 1.1.0
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-request
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationrequest-ca-core
version: 0.1.0