PrescribeIT® Specification and Guide Version 5.0

 

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

1. Extension
Definition

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

Control0..1
2. Extension.id
Definition

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

Control0..1
Typeid
3. Extension.extension
Definition

An Extension

Control0..0
TypeExtension
4. 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

Fixed Valuehttp://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply
5. Extension.value[x]
Definition

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

Control1..1
TypeQuantity(Duration)
[x] NoteSee Choice of Data Types for further information about how to use [x]
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())