PrescribeIT™ Specification and Guide Version 2.0 Revision F

 

Definitions for the ext-medicationorder-total-days-supply Extension

Extension
Definition

Identifies the total period of time over which the prescription is expected to last

Control0..1
Must Supporttrue
Max Length0
Extension.id
Definition

unique id for the element within a resource (for internal references).

Control0..1
Typeid
Max Length0
Extension.extension
Definition

An Extension

Control0..0
TypeExtension
Max Length0
Extension.url
Definition

Source of the definition for the extension code - a logical name or a URL.

Control1..1
Typeuri
Must Supporttrue
Comments

Fixed value: http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply

Max Length0
Fixed Valuehttp://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply
Extension.valueQuantity
Definition

Identifies the total period of time over which the prescription is expected to last

Control1..1
TypeQuantity(Duration)
Must Supporttrue
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'.

Max Length0
InvariantsDefined on this element
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. (: (code.exists() or value.empty()) and (system.empty() or system = %ucum))
qty-3: If a code for the unit is present, the system SHALL also be present (: code.empty() or system.exists())