PrescribeIT® Specification and Guide Version 5.0

 

The official URL for this extension is:

http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense

Status: draft
Extension maintained by:

Identifies the total period of days since the last dispense

Context of Use

This extension may be used on the following element(s):

  • {"type"=>"MedicationOrder"}

Usage info

Usage:

Download Excel representation

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameCard.TypeConstraints and Usage
.  Extension 0..1ExtensionDefinition:
The number of days since that has elapsed between the date of the last dispense and the date the renewal request is being sent.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
..  value[x] 1..1Durationqty-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:
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.


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.

This structure is derived from Extension

Summary

Mandatory: 2 elements
Must-Support: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionDays since last dispense
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
... value[x] S1..1DurationDays since last dispense

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionDays since last dispense
... id 0..1idxml:id (or equivalent in JSON)
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
... value[x] SI1..1DurationDays since last dispense

doco Documentation for this format

Grid View

This structure is derived from Extension

NameCard.TypeConstraints and Usage
.  Extension 0..1ExtensionDefinition:
The number of days since that has elapsed between the date of the last dispense and the date the renewal request is being sent.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
..  value[x] 1..1Durationqty-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:
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.


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.

This structure is derived from Extension

Summary

Mandatory: 2 elements
Must-Support: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionDays since last dispense
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
... value[x] S1..1DurationDays since last dispense

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionDays since last dispense
... id 0..1idxml:id (or equivalent in JSON)
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-days-last-dispense"
... value[x] SI1..1DurationDays since last dispense

doco Documentation for this format

 

Other representations of extension: Schematron

3.37.3 Terminology Bindings

Constraints

IdPathDetailsRequirements
qty-3Extension.value[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
drt-1Extension.value[x]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)