3.37 Extension: Medication Order Days Since Last Dispense
The official URL for this extension is:
http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense
Status: draft
Extension maintained by:
Identifies the total period of days since the last dispense
Context of Use
This extension may be used on the following element(s):
- {"type"=>"MedicationOrder"}
Usage info
Usage:
- Use this Extension: PrescribeIT® PMS Rx Dispense Prescription
3.37.2 Formal Views of Extension Content
Download Excel representation
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Extension | 0..1 | Extension | Definition: The number of days since that has elapsed between the date of the last dispense and the date the renewal request is being sent. |
url | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense" |
value[x] | 1..1 | Duration | qty-3: If a code for the unit is present, the system SHALL also be present drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Definition: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Comments: The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator. |
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Days since last dispense | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense" |
value[x] | SI | 1..1 | Duration | Days since last dispense |
Documentation for this format |
Grid View
This structure is derived from Extension
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Extension | 0..1 | Extension | Definition: The number of days since that has elapsed between the date of the last dispense and the date the renewal request is being sent. |
url | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense" |
value[x] | 1..1 | Duration | qty-3: If a code for the unit is present, the system SHALL also be present drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Definition: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. Comments: The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator. |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Days since last dispense | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense" |
value[x] | SI | 1..1 | Duration | Days since last dispense |
Documentation for this format |
Other representations of extension: Schematron
3.37.3 Terminology Bindings
3.37.4 Constraints
Constraints
Id | Path | Details | Requirements |
qty-3 | Extension.value[x] | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
drt-1 | Extension.value[x] | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. : (code.exists() or value.empty()) and (system.empty() or system = %ucum) |