PrescribeIT® Specification and Guide Version 5.0

 

The official URL for this extension is:

http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity

Status: draft
Extension maintained by:

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

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 length of time over which the Quebec prescription has an end of validity/treatment.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
..  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 end of validity as a length of time that a prescription is valid.


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

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..1ExtensionExtension
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
... value[x] S1..1DurationA length of time

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1idxml:id (or equivalent in JSON)
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
... value[x] SI1..1DurationA length of time

doco Documentation for this format

Grid View

This structure is derived from Extension

NameCard.TypeConstraints and Usage
.  Extension 0..1ExtensionDefinition:
Identifies the length of time over which the Quebec prescription has an end of validity/treatment.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
..  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 end of validity as a length of time that a prescription is valid.


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

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..1ExtensionExtension
... extension 0..0
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
... value[x] S1..1DurationA length of time

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1idxml:id (or equivalent in JSON)
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-end-of-validity"
... value[x] SI1..1DurationA length of time

doco Documentation for this format

 

Other representations of extension: Schematron

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