3.16 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
Yet to be done: xref
3.16.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 | 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" |
valueQuantity | 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 | S | 0..1 | Total prescribed days supply | |
extension | 0..0 | |||
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
valueQuantity | S | 1..1 | Duration | Total prescribed days supply |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | 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" |
valueQuantity | 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 | 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" |
valueQuantity | 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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | Total prescribed days supply | |
extension | 0..0 | |||
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply" |
valueQuantity | S | 1..1 | Duration | Total prescribed days supply |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | 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" |
valueQuantity | SI | 1..1 | Duration | Total prescribed days supply |
Documentation for this format |
Other representations of extension: Schematron
3.16.3 Terminology Bindings
3.16.4 Constraints
Constraints
Id | Path | Details | Requirements |
qty-3 | Extension.valueQuantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
drt-1 | Extension.valueQuantity | 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) |