PrescribeIT® Specification and Guide Version 5.0

 

Definitions for the ext-medicationorder-end-of-validity Extension

1. Extension
Definition

Identifies the length of time over which the Quebec prescription has an end of validity/treatment.

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-end-of-validity

Fixed Valuehttp://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity
5. Extension.value[x]
Definition

Identifies the end of validity as a length of time that a prescription is valid.

Control1..1
TypeQuantity(Duration)
[x] NoteSee Choice of Data Types for further information about how to use [x]
Must Supporttrue
Comments

Usage Note: The field will be populated to specify the end of validity as a length/duration of time (i.e. 18 months) the validity period (MedicationOrder.dispenseRequest.validityPeriod) element will be used when specifying the end of validity as a date where the end date (MedicationOrder.dispenseRequest.validityPeriod.end) field will be used to convey the end of validity as a date.

Conformance Rule: When specifying the end of validation as a length/duration of time only days, weeks, months and years should be used. Seconds, minutes or hours must not be used

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