{
  "resourceType": "StructureDefinition",
  "id": "6ad5d72d-c011-4f6a-bcbf-00722b1d1be2",
  "meta": {
    "lastUpdated": "2025-03-04T17:36:44.1294704+00:00"
  },
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No human-readable text provided in this case.</div>"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission",
  "version": "4.0.1",
  "name": "MedicationRequestDHDRSubmission",
  "title": "MedicationRequest DHDR Submission",
  "status": "active",
  "date": "2022-01-19T18:53:15.8800587Z",
  "description": "Ordering of medication for patient",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest",
        "path": "MedicationRequest",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta",
        "path": "MedicationRequest.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.meta.profile",
        "path": "MedicationRequest.meta.profile",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.identifier",
        "path": "MedicationRequest.identifier",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.identifier.system",
        "path": "MedicationRequest.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.identifier.value",
        "path": "MedicationRequest.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "fixedCode": "unknown",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "fixedCode": "order",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x]",
        "path": "MedicationRequest.medication[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x].reference",
        "path": "MedicationRequest.medication[x].reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject.reference",
        "path": "MedicationRequest.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission",
              "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-submission"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester.reference",
        "path": "MedicationRequest.requester.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "max": "5",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode.coding",
        "path": "MedicationRequest.reasonCode.coding",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptionindicationforuse"
        }
      },
      {
        "id": "MedicationRequest.reasonCode.coding.system",
        "path": "MedicationRequest.reasonCode.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode.coding.code",
        "path": "MedicationRequest.reasonCode.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode.coding.display",
        "path": "MedicationRequest.reasonCode.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.reasonCode.text",
        "path": "MedicationRequest.reasonCode.text",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.sequence",
        "path": "MedicationRequest.dosageInstruction.sequence",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.text",
        "path": "MedicationRequest.dosageInstruction.text",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.additionalInstruction",
        "path": "MedicationRequest.dosageInstruction.additionalInstruction",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.additionalInstruction.text",
        "path": "MedicationRequest.dosageInstruction.additionalInstruction.text",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing",
        "path": "MedicationRequest.dosageInstruction.timing",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.repeat",
        "path": "MedicationRequest.dosageInstruction.timing.repeat",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.repeat.duration",
        "path": "MedicationRequest.dosageInstruction.timing.repeat.duration",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.repeat.durationUnit",
        "path": "MedicationRequest.dosageInstruction.timing.repeat.durationUnit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code",
        "path": "MedicationRequest.dosageInstruction.timing.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ontariohealth.ca/fhir/ehr/ValueSet/medication-repeat-pattern"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.system",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.code",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.coding.display",
        "path": "MedicationRequest.dosageInstruction.timing.code.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.timing.code.text",
        "path": "MedicationRequest.dosageInstruction.timing.code.text",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.asNeeded[x]",
        "path": "MedicationRequest.dosageInstruction.asNeeded[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.route",
        "path": "MedicationRequest.dosageInstruction.route",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.route.coding",
        "path": "MedicationRequest.dosageInstruction.route.coding",
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.route.coding.system",
        "path": "MedicationRequest.dosageInstruction.route.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.route.coding.code",
        "path": "MedicationRequest.dosageInstruction.route.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.route.coding.display",
        "path": "MedicationRequest.dosageInstruction.route.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.route.text",
        "path": "MedicationRequest.dosageInstruction.route.text",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate",
        "path": "MedicationRequest.dosageInstruction.doseAndRate",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "sliceName": "doseRange",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
        "sliceName": "doseQuantity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "sliceName": "rateRange",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "sliceName": "rateQuantity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.value",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].value",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.unit",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].unit",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.system",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.code",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].code",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
        }
      }
    ]
  }
}