3.8 Extension: Medication Order Dispense First Fill Instructions
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
3.8.2 Formal Views of Extension Content
Download Excel representation
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Extension | 0..1 | Definition: 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..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (date) | 0..1 | Extension | Definition: 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..1 | uri | "expiry" |
valueDate | 1..1 | date | Definition: 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..1 | Extension | Definition: 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..1 | uri | "quantity" |
valueQuantity | 1..1 | PrescribeIT Drug Quantity | Definition: 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..1 | Extension | Definition: 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..1 | uri | "expectedSupplyDuration" |
valueQuantity | 1..1 | Duration | qty-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..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | First fill instructions | |
extension | S | 0..* | Extension | Slice: Unordered, Open by value:url |
extension | S | 0..1 | Extension | Date to make first fill by |
url | S | 1..1 | uri | "expiry" |
value[x] | S | 1..1 | date | |
extension | S | 0..1 | Extension | Amount of initial fill |
url | S | 1..1 | uri | "quantity" |
value[x] | S | 1..1 | PrescribeIT Drug Quantity | |
extension | S | 0..1 | Extension | Days supply for initial fill |
url | S | 1..1 | uri | "expectedSupplyDuration" |
value[x] | S | 1..1 | Duration | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | First fill instructions | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
extension | S | 0..1 | Extension | Date to make first fill by |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "expiry" |
valueDate | S | 1..1 | date | Value of extension |
extension | S | 0..1 | Extension | Amount of initial fill |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "quantity" |
valueQuantity | S | 1..1 | PrescribeIT Drug Quantity | Value of extension |
extension | S | 0..1 | Extension | Days supply for initial fill |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "expectedSupplyDuration" |
valueQuantity | SI | 1..1 | Duration | A length of time |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
Documentation for this format |
Grid View
This structure is derived from Extension
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Extension | 0..1 | Definition: 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..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (date) | 0..1 | Extension | Definition: 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..1 | uri | "expiry" |
valueDate | 1..1 | date | Definition: 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..1 | Extension | Definition: 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..1 | uri | "quantity" |
valueQuantity | 1..1 | PrescribeIT Drug Quantity | Definition: 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..1 | Extension | Definition: 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..1 | uri | "expectedSupplyDuration" |
valueQuantity | 1..1 | Duration | qty-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..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | First fill instructions | |
extension | S | 0..* | Extension | Slice: Unordered, Open by value:url |
extension | S | 0..1 | Extension | Date to make first fill by |
url | S | 1..1 | uri | "expiry" |
value[x] | S | 1..1 | date | |
extension | S | 0..1 | Extension | Amount of initial fill |
url | S | 1..1 | uri | "quantity" |
value[x] | S | 1..1 | PrescribeIT Drug Quantity | |
extension | S | 0..1 | Extension | Days supply for initial fill |
url | S | 1..1 | uri | "expectedSupplyDuration" |
value[x] | S | 1..1 | Duration | |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | S | 0..1 | First fill instructions | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
extension | S | 0..1 | Extension | Date to make first fill by |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "expiry" |
valueDate | S | 1..1 | date | Value of extension |
extension | S | 0..1 | Extension | Amount of initial fill |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "quantity" |
valueQuantity | S | 1..1 | PrescribeIT Drug Quantity | Value of extension |
extension | S | 0..1 | Extension | Days supply for initial fill |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
url | S | 1..1 | uri | "expectedSupplyDuration" |
valueQuantity | SI | 1..1 | Duration | A length of time |
url | S | 1..1 | uri | "http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill" |
Documentation for this format |
Other representations of extension: Schematron
3.8.3 Terminology Bindings
3.8.4 Constraints
Constraints
Id | Path | Details | Requirements |
qty-3 | Extension.extension.valueQuantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
drt-1 | Extension.extension.valueQuantity | 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) | |
qty-3 | Extension.extension.valueQuantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
drt-1 | Extension.extension.valueQuantity | 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) |