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