PrescribeIT® Specification and Guide Version 5.0

 

The official URL for this extension is:

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

Status: draft
Extension maintained by:

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

Context of Use

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

  • {"type"=>"MedicationOrder.dispenseRequest"}

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:
Identifies the total period of time over which the prescription is expected to last

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply"
..  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:
Identifies the total period of time over which the prescription is expected to last


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'.

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..1ExtensionTotal prescribed days supply
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply"
... value[x] S1..1DurationTotal prescribed days supply

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

doco Documentation for this format

Grid View

This structure is derived from Extension

NameCard.TypeConstraints and Usage
.  Extension 0..1ExtensionDefinition:
Identifies the total period of time over which the prescription is expected to last

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply"
..  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:
Identifies the total period of time over which the prescription is expected to last


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'.

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..1ExtensionTotal prescribed days supply
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply"
... value[x] S1..1DurationTotal prescribed days supply

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionTotal prescribed days supply
... id 0..1idxml:id (or equivalent in JSON)
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply"
... value[x] SI1..1DurationTotal prescribed days supply

doco Documentation for this format

 

Other representations of extension: Schematron

3.51.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)