{
"description": "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called MedicationRequest rather than MedicationPrescription or MedicationOrder to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.",
"_filename": "StructureDefinition-MedicationRequest.json",
"package_name": "ca.on.ehr.r4",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "MedicationRequestEHR",
"abstract": false,
"type": "MedicationRequest",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "MedicationRequest EHR",
"package_version": "1.0.0-snapshot12",
"status": "active",
"id": "4a3b5566-18f4-45aa-987a-09563a4ca914",
"kind": "resource",
"url": "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationRequest",
"version": "1.0.0",
"differential": {
"element": [ {
"id": "MedicationRequest.extension",
"path": "MedicationRequest.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "MedicationRequest.extension:RenderedDosageInstruction",
"max": "1",
"min": 0,
"path": "MedicationRequest.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction" ]
} ],
"sliceName": "RenderedDosageInstruction"
}, {
"id": "MedicationRequest.identifier",
"max": "1",
"path": "MedicationRequest.identifier",
"mustSupport": true
}, {
"id": "MedicationRequest.identifier.system",
"min": 1,
"path": "MedicationRequest.identifier.system",
"mustSupport": true
}, {
"id": "MedicationRequest.identifier.value",
"min": 1,
"path": "MedicationRequest.identifier.value",
"mustSupport": true
}, {
"id": "MedicationRequest.status",
"path": "MedicationRequest.status",
"mustSupport": true
}, {
"id": "MedicationRequest.intent",
"path": "MedicationRequest.intent",
"mustSupport": true
}, {
"id": "MedicationRequest.medication[x]",
"path": "MedicationRequest.medication[x]",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
},
"mustSupport": true
}, {
"id": "MedicationRequest.medication[x]:medicationReference",
"max": "1",
"min": 0,
"path": "MedicationRequest.medication[x]",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medication" ]
} ],
"sliceName": "medicationReference",
"mustSupport": true
}, {
"id": "MedicationRequest.medication[x]:medicationCodeableConcept",
"max": "1",
"min": 0,
"path": "MedicationRequest.medication[x]",
"type": [ {
"code": "CodeableConcept",
"profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ]
} ],
"sliceName": "medicationCodeableConcept",
"mustSupport": true
}, {
"id": "MedicationRequest.subject",
"path": "MedicationRequest.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient" ]
} ],
"mustSupport": true
}, {
"id": "MedicationRequest.subject.reference",
"min": 1,
"path": "MedicationRequest.subject.reference",
"mustSupport": true
}, {
"id": "MedicationRequest.authoredOn",
"path": "MedicationRequest.authoredOn",
"mustSupport": true
}, {
"id": "MedicationRequest.requester",
"path": "MedicationRequest.requester",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner", "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole" ]
} ],
"mustSupport": true
}, {
"id": "MedicationRequest.requester.reference",
"min": 1,
"path": "MedicationRequest.requester.reference",
"mustSupport": true
}, {
"id": "MedicationRequest.reasonCode",
"path": "MedicationRequest.reasonCode",
"type": [ {
"code": "CodeableConcept",
"profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ]
} ],
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/medicationreasoncode"
},
"mustSupport": true
}, {
"id": "MedicationRequest.reasonCode.coding.system",
"min": 1,
"path": "MedicationRequest.reasonCode.coding.system"
}, {
"id": "MedicationRequest.basedOn",
"path": "MedicationRequest.basedOn",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationRequest" ]
} ],
"mustSupport": true
}, {
"id": "MedicationRequest.basedOn.reference",
"min": 1,
"path": "MedicationRequest.basedOn.reference",
"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",
"min": 1,
"path": "MedicationRequest.dosageInstruction.additionalInstruction.text",
"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",
"type": [ {
"code": "CodeableConcept",
"profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ]
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://ontariohealth.ca/fhir/ehr/ValueSet/medication-repeat-pattern"
},
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.timing.code.coding",
"max": "1",
"path": "MedicationRequest.dosageInstruction.timing.code.coding"
}, {
"id": "MedicationRequest.dosageInstruction.timing.code.coding.system",
"min": 1,
"path": "MedicationRequest.dosageInstruction.timing.code.coding.system"
}, {
"id": "MedicationRequest.dosageInstruction.asNeeded[x]",
"path": "MedicationRequest.dosageInstruction.asNeeded[x]",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
},
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.asNeeded[x]:asNeededBoolean",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.asNeeded[x]",
"type": [ {
"code": "boolean"
} ],
"sliceName": "asNeededBoolean"
}, {
"id": "MedicationRequest.dosageInstruction.asNeeded[x]:asNeededCodeableConcept",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.asNeeded[x]",
"type": [ {
"code": "CodeableConcept",
"profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ]
} ],
"sliceName": "asNeededCodeableConcept"
}, {
"id": "MedicationRequest.dosageInstruction.route",
"path": "MedicationRequest.dosageInstruction.route",
"type": [ {
"code": "CodeableConcept",
"profile": [ "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr" ]
} ],
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration"
},
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.route.coding",
"max": "1",
"path": "MedicationRequest.dosageInstruction.route.coding"
}, {
"id": "MedicationRequest.dosageInstruction.route.coding.system",
"min": 1,
"path": "MedicationRequest.dosageInstruction.route.coding.system"
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate",
"max": "1",
"path": "MedicationRequest.dosageInstruction.doseAndRate",
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
"path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
},
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
"type": [ {
"code": "Range"
} ],
"sliceName": "doseRange",
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low",
"path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"mustSupport": true
}, {
"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",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"mustSupport": true
}, {
"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",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]",
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"sliceName": "doseQuantity",
"mustSupport": true
}, {
"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": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
},
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
"type": [ {
"code": "Range"
} ],
"sliceName": "rateRange",
"mustSupport": true
}, {
"id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low",
"path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"mustSupport": true
}, {
"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",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"mustSupport": true
}, {
"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",
"max": "1",
"min": 0,
"path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"sliceName": "rateQuantity",
"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",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit"
},
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
}