PrescribeIT® Specification and Guide Version 3.0 Revision C

 

The official URL for this extension is:

http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill

Status: draft
Extension maintained by:

Provides instructions specific to how the first fill of a prescription should be processed (if different from other fills)

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:
Provides instructions specific to how the first fill of a prescription should be processed (if different from other fills)


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. (e.g. this could map to 'Must be filled within').



First fill is only populated if required; if not populated, the general dispenseRequest instructions apply to all fills. You only specify an initial fill quantity if you have refills.

..  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

..  extension
     (date)
0..1ExtensionDefinition:
Indicates the date by which the initial fill of the prescription must be made. If not dispensed on or before this date, no subsequent fills are permitted.


Comments:
Conformance Rules: If this is supported within the EMR as a discrete data element, this must be populated. (e.g. this could map to 'Must be filled within') Conformance Rule First fill is only populated if required; if not populated, the general dispenseRequest instructions apply to all fills

...  url 1..1uri"expiry"
...  value[x] 1..1dateDefinition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

..  extension
     (quantity)
0..1ExtensionDefinition:
Indicates the quantity that should be provided as part of the first dispense against the prescription.


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. If days supply is NOT present, this MUST be populated.



Conformance Rule: First fill is only populated if required; if not populated, the FILL_QUANTITY applies to all

...  url 1..1uri"quantity"
...  value[x] 1..1PrescribeIT® Drug QuantityBinding: PrescribedQuantityUnit (20190430) (extensible)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
Definition:
A measured or counted amount of a medication expressed as a value and human-readable string with optional coded units expressed in a local coding system


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. If FIRST_FILL_QUANTITY is not populated, this MUST be included.



Conformance Rule: First fill is only populated if required; if not populated, the DAYS_SUPPLY applies to all fills

..  extension
     (expectedSupplyDuration)
0..1ExtensionDefinition:
Indicates the number of days supply of the medication that should be provided as part of the first dispense against the prescription.


Comments:
Conformance Rules: If this is supported within the EMR as a discrete data element, this must be populated. If FIRST_FILL_QUANTITY is not populated, this MUST be included.



Conformance Rule: First fill is only populated if required; if not populated, the DAYS_SUPPLY applies to all fills. Code must be 'd' and system must be 'http://unitsofmeasure.org'.

...  url 1..1uri"expectedSupplyDuration"
...  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.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"

This structure is derived from Extension

Summary

Mandatory: 1 element (6 nested mandatory elements)
Must-Support: 11 elements
Fixed Value: 4 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionFirst fill instructions
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:date S0..1ExtensionDate to make first fill by
.... url S1..1uri"expiry"
.... value[x] S1..1dateValue of extension
... extension:quantity S0..1ExtensionAmount of initial fill
.... url S1..1uri"quantity"
.... value[x] S1..1PrescribeIT® Drug QuantityQuantity of a medication
Binding: PrescribedQuantityUnit (20190430) (extensible)
... extension:expectedSupplyDuration S0..1ExtensionDays supply for initial fill
.... url S1..1uri"expectedSupplyDuration"
.... value[x] S1..1DurationA length of time
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionFirst fill instructions
... id 0..1idxml:id (or equivalent in JSON)
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:date S0..1ExtensionDate to make first fill by
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"expiry"
.... value[x] S1..1dateValue of extension
... extension:quantity S0..1ExtensionAmount of initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"quantity"
.... value[x] SI1..1PrescribeIT® Drug QuantityQuantity of a medication
Binding: PrescribedQuantityUnit (20190430) (extensible)
... extension:expectedSupplyDuration S0..1ExtensionDays supply for initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"expectedSupplyDuration"
.... value[x] SI1..1DurationA length of time
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"

doco Documentation for this format

Grid View

This structure is derived from Extension

NameCard.TypeConstraints and Usage
.  Extension 0..1ExtensionDefinition:
Provides instructions specific to how the first fill of a prescription should be processed (if different from other fills)


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. (e.g. this could map to 'Must be filled within').



First fill is only populated if required; if not populated, the general dispenseRequest instructions apply to all fills. You only specify an initial fill quantity if you have refills.

..  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

..  extension
     (date)
0..1ExtensionDefinition:
Indicates the date by which the initial fill of the prescription must be made. If not dispensed on or before this date, no subsequent fills are permitted.


Comments:
Conformance Rules: If this is supported within the EMR as a discrete data element, this must be populated. (e.g. this could map to 'Must be filled within') Conformance Rule First fill is only populated if required; if not populated, the general dispenseRequest instructions apply to all fills

...  url 1..1uri"expiry"
...  value[x] 1..1dateDefinition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

..  extension
     (quantity)
0..1ExtensionDefinition:
Indicates the quantity that should be provided as part of the first dispense against the prescription.


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. If days supply is NOT present, this MUST be populated.



Conformance Rule: First fill is only populated if required; if not populated, the FILL_QUANTITY applies to all

...  url 1..1uri"quantity"
...  value[x] 1..1PrescribeIT® Drug QuantityBinding: PrescribedQuantityUnit (20190430) (extensible)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
Definition:
A measured or counted amount of a medication expressed as a value and human-readable string with optional coded units expressed in a local coding system


Comments:
Conformance Rule: If this is supported within the EMR as a discrete data element, this must be populated. If FIRST_FILL_QUANTITY is not populated, this MUST be included.



Conformance Rule: First fill is only populated if required; if not populated, the DAYS_SUPPLY applies to all fills

..  extension
     (expectedSupplyDuration)
0..1ExtensionDefinition:
Indicates the number of days supply of the medication that should be provided as part of the first dispense against the prescription.


Comments:
Conformance Rules: If this is supported within the EMR as a discrete data element, this must be populated. If FIRST_FILL_QUANTITY is not populated, this MUST be included.



Conformance Rule: First fill is only populated if required; if not populated, the DAYS_SUPPLY applies to all fills. Code must be 'd' and system must be 'http://unitsofmeasure.org'.

...  url 1..1uri"expectedSupplyDuration"
...  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.

..  url 1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"

This structure is derived from Extension

Summary

Mandatory: 1 element (6 nested mandatory elements)
Must-Support: 11 elements
Fixed Value: 4 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionFirst fill instructions
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:date S0..1ExtensionDate to make first fill by
.... url S1..1uri"expiry"
.... value[x] S1..1dateValue of extension
... extension:quantity S0..1ExtensionAmount of initial fill
.... url S1..1uri"quantity"
.... value[x] S1..1PrescribeIT® Drug QuantityQuantity of a medication
Binding: PrescribedQuantityUnit (20190430) (extensible)
... extension:expectedSupplyDuration S0..1ExtensionDays supply for initial fill
.... url S1..1uri"expectedSupplyDuration"
.... value[x] S1..1DurationA length of time
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionFirst fill instructions
... id 0..1idxml:id (or equivalent in JSON)
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:date S0..1ExtensionDate to make first fill by
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"expiry"
.... value[x] S1..1dateValue of extension
... extension:quantity S0..1ExtensionAmount of initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"quantity"
.... value[x] SI1..1PrescribeIT® Drug QuantityQuantity of a medication
Binding: PrescribedQuantityUnit (20190430) (extensible)
... extension:expectedSupplyDuration S0..1ExtensionDays supply for initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"expectedSupplyDuration"
.... value[x] SI1..1DurationA length of time
... url S1..1uri"http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill"

doco Documentation for this format

 

Other representations of extension: Schematron

3.9.3 Terminology Bindings

Terminology Bindings

PathConformanceValueSet
Extension.extension:quantity.value[x]extensiblePrescribedQuantityUnit

Constraints

IdPathDetailsRequirements
qty-3Extension.extension:quantity.value[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1Extension.extension:quantity.value[x]The comparator is not used on a SimpleQuantity
: comparator.empty()
qty-3Extension.extension:expectedSupplyDuration.value[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
drt-1Extension.extension:expectedSupplyDuration.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)