PrescribeIT® Specification and Guide Version 5.0

 

Definitions for the ext-medicationorder-days-last-dispense Extension

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.

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-days-last-dispense

Fixed Valuehttp://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense
5. Extension.value[x]
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.

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

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())