3.51 Extension: Medication Order Total Prescribed Days Supply
The official URL for this extension is:
http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply
Status: draft
Extension maintained by:
Identifies the total period of time over which the prescription is expected to last
Context of Use
This extension may be used on the following element(s):
- {"type"=>"MedicationOrder.dispenseRequest"}
Usage info
Usage:
- Use this Extension: PrescribeIT® Prescription Adapt, PrescribeIT® New Prescription, PrescribeIT® PMS Prescription, PrescribeIT® Renewal Prescription, PrescribeIT® Prescription
3.51.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: Identifies the total period of time over which the prescription is expected to last |
url | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
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: Identifies the total period of time over which the prescription is expected to last Comments: Conformance Rule: Must be populated when the Total Days Supply is entered by the user or when the Total Days Supply can be calculated by the system. Conformance Rule: Code must be 'd' and system must be 'http://unitsofmeasure.org'. |
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Total prescribed days supply | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
value[x] | SI | 1..1 | Duration | Total prescribed days supply |
Documentation for this format |
Grid View
This structure is derived from Extension
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Extension | 0..1 | Extension | Definition: Identifies the total period of time over which the prescription is expected to last |
url | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
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: Identifies the total period of time over which the prescription is expected to last Comments: Conformance Rule: Must be populated when the Total Days Supply is entered by the user or when the Total Days Supply can be calculated by the system. Conformance Rule: Code must be 'd' and system must be 'http://unitsofmeasure.org'. |
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 | Total prescribed days supply | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
value[x] | SI | 1..1 | Duration | Total prescribed days supply |
Documentation for this format |
Other representations of extension: Schematron
3.51.3 Terminology Bindings
3.51.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) |