PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.dhdr.r4.v4@0.0.4-beta
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission
description: Ordering of medication for patient
package_name: rs/ca.on.dhdr.r4.v4
derivation: constraint
name: MedicationRequestPrescription
type: MedicationRequest
elements:
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 11}
    required: [reference]
  reasonCode:
    mustSupport: true
    array: true
    max: 5
    index: 16
    elements:
      coding:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionindicationforuse'}
        mustSupport: true
        index: 17
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            type: uri
            index: 18
          code: {mustSupport: true, index: 19}
          display: {mustSupport: true, index: 20}
      text: {mustSupport: true, index: 21}
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission']
    index: 14
    elements:
      reference: {mustSupport: true, index: 15}
    required: [reference]
  status:
    pattern: {type: code, value: unknown}
    mustSupport: true
    type: code
    index: 6
  id: {mustSupport: true, index: 0}
  dosageInstruction:
    mustSupport: true
    index: 22
    elements:
      text: {mustSupport: true, index: 23}
      additionalInstruction:
        mustSupport: true
        index: 24
        elements:
          text: {mustSupport: true, index: 25}
        required: [text]
      timing:
        mustSupport: true
        index: 26
        elements:
          repeat:
            mustSupport: true
            index: 27
            elements:
              duration: {mustSupport: true, index: 28}
              durationUnit: {mustSupport: true, index: 29}
          code:
            binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/dhdr-medication-repeat-pattern'}
            mustSupport: true
            index: 30
            elements:
              coding:
                mustSupport: true
                index: 31
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    type: uri
                    index: 32
                  code: {mustSupport: true, index: 33}
                  display: {mustSupport: true, index: 34}
              text: {mustSupport: true, index: 35}
        required: [code, repeat]
      asNeeded:
        mustSupport: true
        choices: []
        index: 37
      route:
        mustSupport: true
        index: 38
        elements:
          coding:
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
            mustSupport: true
            index: 39
            elements:
              system:
                pattern: {type: uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                type: uri
                index: 40
              code: {mustSupport: true, index: 41}
              display: {mustSupport: true, index: 42}
          text: {mustSupport: true, index: 43}
      doseAndRate:
        mustSupport: true
        index: 44
        elements:
          dose:
            mustSupport: true
            choices: [doseQuantity]
            index: 46
          doseQuantity: {type: Quantity, mustSupport: true, choiceOf: dose, index: 47}
          dose[x]:
            elements:
              value: {mustSupport: true, index: 48}
              unit:
                binding: {strength: extensible, valueSet: 'https://tgateway.infoway-inforoute.ca/vs/prescriptiondosequantityunit'}
                mustSupport: true
                index: 49
            required: [value]
          rate:
            mustSupport: true
            choices: [rateRange]
            index: 51
          rateRange: {type: Range, mustSupport: true, choiceOf: rate, index: 52}
          rate[x]:
            elements:
              low: {mustSupport: true, index: 53}
              high: {mustSupport: true, index: 54}
    required: [text]
  identifier:
    mustSupport: true
    index: 3
    elements:
      system: {mustSupport: true, index: 4}
      value: {mustSupport: true, index: 5}
    required: [system, value]
  intent:
    pattern: {type: code, value: order}
    mustSupport: true
    type: code
    index: 7
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission']
    index: 10
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 9
package_version: 0.0.4-beta
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 4.0.1
required: [meta, requester]