PrescribeIT™ Specification and Guide Version 2.0 Revision F

 

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

Yet to be done: xref

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..1Definition:
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"
...  valueDate 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"
...  valueQuantity 1..1PrescribeIT Drug QuantityDefinition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).


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"
...  valueQuantity 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 S0..1First fill instructions
... extension S0..*ExtensionSlice: Unordered, Open by value:url
... extension S0..1ExtensionDate to make first fill by
.... url S1..1uri"expiry"
.... value[x] S1..1date
... extension S0..1ExtensionAmount of initial fill
.... url S1..1uri"quantity"
.... value[x] S1..1PrescribeIT Drug Quantity
... extension S0..1ExtensionDays supply for initial fill
.... url S1..1uri"expectedSupplyDuration"
.... value[x] S1..1Duration
... 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 S0..1First fill instructions
... id 0..1idxml:id (or equivalent in JSON)
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension 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"
.... valueDate S1..1dateValue of extension
... extension S0..1ExtensionAmount of initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"quantity"
.... valueQuantity S1..1PrescribeIT Drug QuantityValue of extension
... extension 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"
.... valueQuantity 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..1Definition:
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"
...  valueDate 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"
...  valueQuantity 1..1PrescribeIT Drug QuantityDefinition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).


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"
...  valueQuantity 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 S0..1First fill instructions
... extension S0..*ExtensionSlice: Unordered, Open by value:url
... extension S0..1ExtensionDate to make first fill by
.... url S1..1uri"expiry"
.... value[x] S1..1date
... extension S0..1ExtensionAmount of initial fill
.... url S1..1uri"quantity"
.... value[x] S1..1PrescribeIT Drug Quantity
... extension S0..1ExtensionDays supply for initial fill
.... url S1..1uri"expectedSupplyDuration"
.... value[x] S1..1Duration
... 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 S0..1First fill instructions
... id 0..1idxml:id (or equivalent in JSON)
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension 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"
.... valueDate S1..1dateValue of extension
... extension S0..1ExtensionAmount of initial fill
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... url S1..1uri"quantity"
.... valueQuantity S1..1PrescribeIT Drug QuantityValue of extension
... extension 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"
.... valueQuantity 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.8.3 Terminology Bindings

Constraints

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