3.49 StructureDefinition: PrescribeIT Dispense
The official URL for this profile is:
http://prescribeit.ca/fhir/StructureDefinition/profile-medicationdispense
3.49.1 Scope and Usage
An Excel spreadsheet providing guidance on how to populate dosage instructions can be found here.
3.49.2 Formal Views of Profile Content
Download Excel representation
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationDispense
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
MedicationDispense | 0..* | mdd-1: whenHandedOver cannot be before whenPrepared Definition: Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order. | |
id | 1..1 | id | Definition: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Comments: Usage Note: This will usually be a GUID and is assigned by the sending application. Ideally it should be consistent for all messages referencing this same set of coverage information. |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (renderedDosageInstruction) | 1..1 | Medication Rendered Dosage Instruction | Definition: Provides a complete text rendering of the dosage instruction lines for an order or dispense (separate from the rendering of the overall resource instance) Comments: Conformance Rule: In the context of a dispense notification, this will be populated by the PMS and will reflect the directions as presented to the patient on the label. The rendered dosage instruction must contain all dosage instructions and must be able to stand on its own. Conformance Rule: This field is made up of structured dosage information as well as patient instructions, assembled into one field and formatted as human-readable, meaning that codes should not be used (e.g. 'days' should be used instead of 'd'). Conformance Rule: Dosage quantity, dosage unit, dosage frequency, form, strength, max quantity per period,minimal interval between dispense, route of administration and where applicable, the administration site. Note: Any additional patient instructions that are specified at the dosage line level (e.g. take with food, starting one day before dental appointment) should be included. Conformance Rule: If a PMS sends discrete data elements they must also populate this with a textual view of the SIG. E.g. PO value for RouteofAdministration will be conveyed as 'oral' in this field. |
extension (quantityRemaining) | 1..1 | Medication Dispense Quantity Remaining | Definition: The total authorized quantity outstanding after the fill issued as part of this dispense record Comments: Should be specified even if 0. |
identifier | 1..1 | Shared Health Identifier | Definition: A technical identifier - identifies some entity uniquely and unambiguously. Comments: This is the identifier assigned by the pharmacy to a specific dispense. The system element will generally be an OID of the form [Vendor root].[Application instance node].4 expressed as a urn (e.g. urn:oid:1.2.3.4). The value will be the pharmacy-assigned dispense identifier. |
status | 1..1 | code | Binding: MedicationDispenseStatus (required) Fixed Value: completed Definition: A code specifying the state of the set of dispense events. Comments: Fixed value: completed |
medicationCodeableConcept | 1..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionMedicinalProduct (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: This element is used to represent the medication dispensed A 'code' (Canadian Clinical Drug Data Set, or DIN or NPN) must be accompanied by 'text' when dispensing. For compounds, a code is not used and the description will be sent as 'text'. A DIN or an NPN may also be used if an appropriate CCDD code is not yet available. This has an extensible binding meaning that the CCDD code system should be used but if a code is not available, vendors may also submit a code from the DIN or NPN code system. (Eventually CCDD will encompass all DINs and NPNs.)
|
patient | 1..1 | Reference(Shared Health Patient) {b} | Definition: A link to a resource representing the person to whom the medication will be given. Comments: SubstanceAdministration->subject->Patient. |
reference | 1..1 | string | Definition: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. Comments: This must point to the patient associated with the message |
dispenser | 1..1 | Reference(Practitioner) {b} | Definition: The individual responsible for dispensing the medication. Comments: Only organization (conveyed by the extension) is needed. No need to send the actual dispensing practitioner |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (organization) | 1..1 | Reference Practitioner Organization | Definition: Allows capturing the organization responsible for an action instead of or in addition to identifying the responsible practitioner Comments: For Shared Health purposes, only the pharmacy is relevant, not the dispensing pharmacist or technician. In the future, this should be supported directly by the resource. |
authorizingPrescription | 1..1 | Reference(PrescribeIT Prescription) {br} | Definition: Indicates the medication order that is being dispensed against. Comments: Conformance note: This must refer to the MedicationOrder being dispensed. Conformance Rule: If the MedicationOrder is included in the bundle (e.g. for a renewal request when sending the most recent dispense), use the 'reference' element and refer to the MedicationOrder.id. If the MedicationOrder is not included in the bundle (e.g. a Dispense Notification), use the extension to convey the business identifier of the prescription. |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (identifier) | 1..1 | Referenced Requisition identifier | Definition: Allows a reference to identify the target prescription, dispense or task by business identifier rather than URL Comments: Usage Note: This is used when the dispense is sent stand-alone. |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier" |
valueIdentifier | 1..1 | PrescribeIT™ Prescriber Prescription Identifier | Definition: A technical identifier - identifies some entity uniquely and unambiguously. Comments: When this is present, the reference is typically omitted |
type | 0..1 | Shared Health CodeableConcept Code | Binding: ActPharmacySupplyType (required) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Usage note: For future use |
quantity | 1..1 | PrescribeIT Drug Quantity | 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: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). You must send the coding system and code. |
daysSupply | 1..1 | SimpleQuantity | Definition: The number of days that the dispensed quantity is expected to last. Cannot be mandatory as there are some situations where 'as needed' cannot be used to determine days supply. Comments: Usage Note: There are some situations where this cannot be calculated, an estimated value will be used as drug plans will require this.(e.g. warfarin 1mg with take as directed dosing instructions) |
value | 1..1 | decimal | Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value. Comments: The implicit precision in the value should always be honored. |
system | 1..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 1..1 | code | Fixed Value: d Definition: A computer processable form of the unit in some unit representation system. Comments: Fixed value: d |
whenPrepared | 1..1 | dateTime | Definition: The time when the dispensed product was packaged and reviewed. Comments: This represents the date the medication was dispensed. |
dosageInstruction | 0..* | BackboneElement | Definition: Indicates how the medication is to be used by the patient. The pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed. Comments: When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates. Conformance Rule: If PMS is able to support the structured dosage, they may do so but this is not mandatory |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (sequence) | 1..1 | Medication Dosage Line Sequence | Definition: Indicates the sequence of a particular dosage line within all dosage lines - equivalent to the repetition number of the dosage instruction element this extension is on. Comments: Conformance Rule: This must match the positional sequence of the dosageInstruction repetition. I.e. The first dosageInstruction repetition must have a 'sequence' value of 1, the second a 'sequence' value of 2, etc. |
extension (instructionRelationship) | 0..1 | Medication Order Dosage Instruction Relationship | Definition: Indicates how the timing of this dosage instruction relates to the preceding dosage instruction. Specifically, is it concurrent (AND) or sequential (THEN). Comments: Conformance Rule: As this will establish the relationship to the previous dosage lines (example: first and second dosage line, the second and thrid dosage line, etc.) this must be present for all dosage lines except for the FIRST dosage line. Usage Note: If THEN; is specified, there is typically a COMPLEX_ADMINISTRATION_PERIOD specified as well. These will be consecutive periods. Conformance Rule: ANDs and THENs should not be mixed due to ambiguity of meaning |
text | 0..1 | string | Definition: A free form description of how the dispensed medication is to be administered to the patient. Comments: Conformance Rule: If supported by the PMS, multiple dosage lines can be expressed individually. However, they must be concatenated into the RENDERED_DOSAGE_INSTRUCTION as PMS will not be forced to support the receipt of individual lines. Usage Note: This is a string that is typically composed of the route, duration, dose, frequency, per line. Examples are: Prednisone, variable dosage instruction, or concurrent instructions (1 pill morning and 1 pill before bed) or sequential dosages (1 pill for 2 days, then 2 pills). |
additionalInstructions | 0..1 | Shared Health CodeableConcept Text | Binding: (unbound) (example) inv-1: Must have coding or text but not both Definition: A free form textual description of extended instruction regarding the administration of the drug. Comments: Conformance Rule: When providing an additional instruction at the dosage line level (complex), this should be populated when appropriate. Usage Note: It may be necessary for the EMR to parse instructions such as QHS (take at bedtime), into two data elements DOSAGE_TIMING_FREQUENCY = once a day and 'at bedtime' would be placed into this field. Usage Note: 'Coding' is not available, so 'Text' is expected to be used HL7 MAPPING - ADDITIONAL_DOSAGE_INSTRUCTION (Business Name Change). Conformance Rule: When text is present, this should contain the additional instructions. Usage Note: At this time there is no known coding system. Therefore ‘text’ will be used. Conformance Rule: Maximum character length set to ‘5000’. |
coding | 0..* | Coding | Definition: A reference to a code defined by a terminology system. Comments: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true. |
system | 1..1 | uri | Definition: The identification of the code system that defines the meaning of the symbol in the code. Comments: |
code | 1..1 | code | Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). |
text | 1..1 | string | Max Length: 5000 Definition: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. Comments: Very often the text is the same as a displayName of one of the codings. |
timing | 0..1 | Timing | Definition: A structure describing the frequency (how often the drug is to be administered), offset (elapse time between administrations) represented by one line of dosage administration instruction. Includes the overall time-period the dosage instruction applies. Comments: Conformance Rule: For EMRs that can support it, this should be specified. Must also be part of the COMPLEX_DOSAGE_INSTRUCTION Conformance Rule: A start date may optionally be included. Refer to the Timing data type page for guidance on its use. |
repeat | 0..1 | Element | tim-3: Either frequency or when can exist, not both tim-1: if there's a duration, there needs to be duration units tim-2: if there's a period, there needs to be period units tim-9: If there's an offset, there must be a when tim-6: If there's a periodMax, there must be a period tim-8: If there's a countMax, there must be a count tim-7: If there's a durationMax, there must be a duration tim-4: duration SHALL be a non-negative value Definition: A set of rules that describe when the event should occur. |
boundsPeriod | 0..1 | Period | Definition: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule. Comments: Conformance Rule: If MULTI_LINE_DOSAGE, this will be populated with the total duration of the ADMINISTRATIVE_PERIOD for each dosage line. Conformance Rule: When providing a structured SIG, this should be populated when appropriate. This maps to Duration Must also be part of the COMPLEX_DOSAGE_INSTRUCTION |
count | 0..1 | integer | Definition: A total count of the desired number of repetitions. Comments: If you have both bounds and count, then this should be understood as within the bounds period, until count times happens. |
countMax | 0..1 | integer | Definition: A maximum value for the count of the desired repetitions (e.g. do something 6-8 times). |
duration | 0..1 | decimal | Definition: How long this thing happens for when it happens. Comments: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise). |
durationMax | 0..1 | decimal | Definition: The upper limit of how long this thing happens for when it happens. Comments: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise). |
durationUnit | 0..1 | code | Binding: UnitsOfTime (required) Definition: The units of time for the duration, in UCUM units. |
frequency | 0..1 | integer | Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). |
frequencyMax | 0..1 | integer | Definition: If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. |
period | 0..1 | decimal | Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. |
periodMax | 0..1 | decimal | Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. |
periodUnit | 0..1 | code | Binding: UnitsOfTime (required) Definition: The units of time for the period in UCUM units. |
asNeeded[x] | 0..1 | boolean, CodeableConcept | Binding: (unbound) (example) Definition: Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule. Comments: Conformance Rule: Set value = true. Conformance Rule: When this is specified, it is not acceptable to express the quantity exclusively as a duration/DAYSSUPPLY. The DOSAGEQUANTITY must be set. |
siteCodeableConcept | 0..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionAdministrationSite (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: When providing a structured SIG, this should be populated when appropriate. If not structured, this should be part of the SIG (RENDERED_DOSAGE_INSTRUCTION). Also can be specified for COMPLEX |
route | 0..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionRouteOfAdministration (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: Coding should be populated if a code is available. However, text is always required. |
doseQuantity | 0..1 | PrescribeIT Drug Quantity for Administration | 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: Could be sent as part of the dosage instruction. OR for those PMSs that can support it, this should be specified. This is quite pointless without the frequency. Conformance Rule: This is NOT specified for COMPLEX. |
rateRatio | 0..1 | Ratio | Definition: Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. |
maxDosePerPeriod | 0..1 | Ratio | Definition: The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours. Comments: Conformance Rule: When providing a structured SIG, this should be populated when appropriate. Also can be specified for COMPLEX |
numerator | 1..1 | PrescribeIT Drug Quantity for Administration | 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: Usage Note: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). |
denominator | 1..1 | Shared Health Quantity | qty-3: If a code for the unit is present, the system SHALL also be present Definition: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. 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. |
This structure is derived from MedicationDispense
Summary
Mandatory: 18 elements (4 nested mandatory elements)
Must-Support: 51 elements
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-identifier
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-text-required-with-code
- http://sharedhealth.exchange/fhir/StructureDefinition/profile-patient
- http://prescribeit.ca/fhir/StructureDefinition/profile-medicationorder
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-identifier-prescription
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-code
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-text
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug-admin
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-quantity
Extensions
This structure refers to these extensions:
- http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage
- http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining
- http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-practitioner-org
- http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-identifier
- http://prescribeit.ca/fhir/StructureDefinition/ext-medication-dosageinstruction-sequence
- http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship
This structure is derived from MedicationDispense
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | SΣI | 0..* | Dispensing a medication to a named patient | |
id | SΣ | 1..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: http://tools.ietf.org/html/bcp47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-medication-rendered-dosage | S | 1..1 | string | Rendered dosage URL: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage |
ext-dispense-quantity-remaining | S | 1..1 | PrescribeIT Drug Quantity | Total quantity remaining URL: http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Shared Health Identifier | An identifier intended for computation |
status | ?!SΣ | 1..1 | code | in-progress | on-hold | completed | entered-in-error | stopped Binding: MedicationDispenseStatus (required) Fixed Value: completed |
medicationCodeableConcept | S | 1..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionMedicinalProduct (extensible) |
patient | SΣ | 1..1 | Reference(Shared Health Patient) {b} | Who the dispense is for |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | SΣI | 1..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
dispenser | SΣ | 1..1 | Reference(Practitioner) {b} | Practitioner responsible for dispensing medication |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-reference-practitioner-org | S | 1..1 | Reference(Shared Health - eRx Service Location) {b} | Responsible organization URL: http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-practitioner-org |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
authorizingPrescription | SΣ | 1..1 | Reference(PrescribeIT Prescription) {br} | Medication order that authorizes the dispense |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-reference-identifier | S | 1..1 | Shared Health Identifier | Referenced identifier URL: http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier profiled by http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-identifier |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier" |
valueIdentifier | S | 1..1 | PrescribeIT™ Prescriber Prescription Identifier | Prescriber's order number |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
type | S | 0..1 | Shared Health CodeableConcept Code | Concept - reference to a terminology or just text Binding: ActPharmacySupplyType (required) |
quantity | SI | 1..1 | PrescribeIT Drug Quantity | Quantity of a medication |
daysSupply | SΣ | 1..1 | SimpleQuantity | Amount of medication expressed as a timing amount |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
value | SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
unit | Σ | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | System that defines coded unit form |
code | SΣ | 1..1 | code | Coded form of the unit Fixed Value: d |
whenPrepared | SΣ | 1..1 | dateTime | Dispense processing time |
whenHandedOver | Σ | 0..1 | dateTime | When product was given out |
destination | Σ | 0..1 | Reference(Location) | Where the medication was sent |
receiver | Σ | 0..* | Reference(Patient | Practitioner) | Who collected the medication |
note | Σ | 0..* | Annotation | Information about the dispense |
dosageInstruction | SΣ | 0..* | BackboneElement | Medicine administration instructions to the patient/caregiver |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-medication-dosageinstruction-sequence | S | 1..1 | positiveInt | Dosage instruction sequence URL: http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-medication-dosageinstruction-sequence |
ext-medicationorder-dosageinstruction-relationship | S | 0..1 | code | AND | THEN URL: http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship Binding: PrescriptionDosageInstructionLineRelationship (required) |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
text | SΣ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstructions | SI | 0..1 | Shared Health CodeableConcept Text | Concept - reference to a terminology or just text Binding: (unbound) (example) |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
coding | SΣ | 0..* | Coding | Code defined by a terminology system |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
system | SΣ | 1..1 | uri | Identity of the terminology system |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 1..1 | string | Plain text representation of the concept Max Length: 5000 |
timing | SΣ | 0..1 | Timing | When medication should be administered |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
event | Σ | 0..* | dateTime | When the event occurs |
repeat | SΣI | 0..1 | Element | When the event is to occur |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
boundsPeriod | SΣ | 0..1 | Period | Length/Range of lengths, or (Start and/or end) limits |
count | SΣ | 0..1 | integer | Number of times to repeat |
countMax | SΣ | 0..1 | integer | Maximum number of times to repeat |
duration | SΣ | 0..1 | decimal | How long when it happens |
durationMax | SΣ | 0..1 | decimal | How long when it happens (Max) |
durationUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
frequency | SΣ | 0..1 | integer | Event occurs frequency times per period |
frequencyMax | SΣ | 0..1 | integer | Event occurs up to frequencyMax times per period |
period | SΣ | 0..1 | decimal | Event occurs frequency times per period |
periodMax | SΣ | 0..1 | decimal | Upper limit of period (3-4 hours) |
periodUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
code | Σ | 0..1 | CodeableConcept | QD | QOD | Q4H | Q6H | BID | TID | QID | AM | PM + Binding: TimingAbbreviation (preferred) |
asNeeded[x] | SΣ | 0..1 | boolean, CodeableConcept | Take "as needed" f(or x) Binding: (unbound) (example) |
siteCodeableConcept | S | 0..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionAdministrationSite (extensible) |
route | S | 0..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionRouteOfAdministration (extensible) |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: (unbound) (example) |
doseQuantity | SI | 0..1 | PrescribeIT Drug Quantity for Administration | Quantity of a medication |
rateRatio | SΣ | 0..1 | Ratio | Amount of medication per unit of time |
maxDosePerPeriod | SΣ | 0..1 | Ratio | Upper limit on medication per unit of time |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
numerator | SI | 1..1 | PrescribeIT Drug Quantity for Administration | Quantity of a medication |
denominator | SI | 1..1 | Shared Health Quantity | A measured or measurable amount |
substitution | Σ | 0..1 | BackboneElement | Deals with substitution of one medicine for another |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | Σ | 1..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: ActSubstanceAdminSubstitutionCode (example) |
reason | Σ | 0..* | CodeableConcept | Why was substitution made Binding: SubstanceAdminSubstitutionReason (example) |
responsibleParty | Σ | 0..* | Reference(Practitioner) | Who is responsible for the substitution |
Documentation for this format |
Grid View
This structure is derived from MedicationDispense
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
MedicationDispense | 0..* | mdd-1: whenHandedOver cannot be before whenPrepared Definition: Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order. | |
id | 1..1 | id | Definition: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Comments: Usage Note: This will usually be a GUID and is assigned by the sending application. Ideally it should be consistent for all messages referencing this same set of coverage information. |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (renderedDosageInstruction) | 1..1 | Medication Rendered Dosage Instruction | Definition: Provides a complete text rendering of the dosage instruction lines for an order or dispense (separate from the rendering of the overall resource instance) Comments: Conformance Rule: In the context of a dispense notification, this will be populated by the PMS and will reflect the directions as presented to the patient on the label. The rendered dosage instruction must contain all dosage instructions and must be able to stand on its own. Conformance Rule: This field is made up of structured dosage information as well as patient instructions, assembled into one field and formatted as human-readable, meaning that codes should not be used (e.g. 'days' should be used instead of 'd'). Conformance Rule: Dosage quantity, dosage unit, dosage frequency, form, strength, max quantity per period,minimal interval between dispense, route of administration and where applicable, the administration site. Note: Any additional patient instructions that are specified at the dosage line level (e.g. take with food, starting one day before dental appointment) should be included. Conformance Rule: If a PMS sends discrete data elements they must also populate this with a textual view of the SIG. E.g. PO value for RouteofAdministration will be conveyed as 'oral' in this field. |
extension (quantityRemaining) | 1..1 | Medication Dispense Quantity Remaining | Definition: The total authorized quantity outstanding after the fill issued as part of this dispense record Comments: Should be specified even if 0. |
identifier | 1..1 | Shared Health Identifier | Definition: A technical identifier - identifies some entity uniquely and unambiguously. Comments: This is the identifier assigned by the pharmacy to a specific dispense. The system element will generally be an OID of the form [Vendor root].[Application instance node].4 expressed as a urn (e.g. urn:oid:1.2.3.4). The value will be the pharmacy-assigned dispense identifier. |
status | 1..1 | code | Binding: MedicationDispenseStatus (required) Fixed Value: completed Definition: A code specifying the state of the set of dispense events. Comments: Fixed value: completed |
medicationCodeableConcept | 1..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionMedicinalProduct (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: This element is used to represent the medication dispensed A 'code' (Canadian Clinical Drug Data Set, or DIN or NPN) must be accompanied by 'text' when dispensing. For compounds, a code is not used and the description will be sent as 'text'. A DIN or an NPN may also be used if an appropriate CCDD code is not yet available. This has an extensible binding meaning that the CCDD code system should be used but if a code is not available, vendors may also submit a code from the DIN or NPN code system. (Eventually CCDD will encompass all DINs and NPNs.)
|
patient | 1..1 | Reference(Shared Health Patient) {b} | Definition: A link to a resource representing the person to whom the medication will be given. Comments: SubstanceAdministration->subject->Patient. |
reference | 1..1 | string | Definition: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. Comments: This must point to the patient associated with the message |
dispenser | 1..1 | Reference(Practitioner) {b} | Definition: The individual responsible for dispensing the medication. Comments: Only organization (conveyed by the extension) is needed. No need to send the actual dispensing practitioner |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (organization) | 1..1 | Reference Practitioner Organization | Definition: Allows capturing the organization responsible for an action instead of or in addition to identifying the responsible practitioner Comments: For Shared Health purposes, only the pharmacy is relevant, not the dispensing pharmacist or technician. In the future, this should be supported directly by the resource. |
authorizingPrescription | 1..1 | Reference(PrescribeIT Prescription) {br} | Definition: Indicates the medication order that is being dispensed against. Comments: Conformance note: This must refer to the MedicationOrder being dispensed. Conformance Rule: If the MedicationOrder is included in the bundle (e.g. for a renewal request when sending the most recent dispense), use the 'reference' element and refer to the MedicationOrder.id. If the MedicationOrder is not included in the bundle (e.g. a Dispense Notification), use the extension to convey the business identifier of the prescription. |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (identifier) | 1..1 | Referenced Requisition identifier | Definition: Allows a reference to identify the target prescription, dispense or task by business identifier rather than URL Comments: Usage Note: This is used when the dispense is sent stand-alone. |
url | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier" |
valueIdentifier | 1..1 | PrescribeIT™ Prescriber Prescription Identifier | Definition: A technical identifier - identifies some entity uniquely and unambiguously. Comments: When this is present, the reference is typically omitted |
type | 0..1 | Shared Health CodeableConcept Code | Binding: ActPharmacySupplyType (required) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Usage note: For future use |
quantity | 1..1 | PrescribeIT Drug Quantity | 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: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). You must send the coding system and code. |
daysSupply | 1..1 | SimpleQuantity | Definition: The number of days that the dispensed quantity is expected to last. Cannot be mandatory as there are some situations where 'as needed' cannot be used to determine days supply. Comments: Usage Note: There are some situations where this cannot be calculated, an estimated value will be used as drug plans will require this.(e.g. warfarin 1mg with take as directed dosing instructions) |
value | 1..1 | decimal | Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value. Comments: The implicit precision in the value should always be honored. |
system | 1..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 1..1 | code | Fixed Value: d Definition: A computer processable form of the unit in some unit representation system. Comments: Fixed value: d |
whenPrepared | 1..1 | dateTime | Definition: The time when the dispensed product was packaged and reviewed. Comments: This represents the date the medication was dispensed. |
dosageInstruction | 0..* | BackboneElement | Definition: Indicates how the medication is to be used by the patient. The pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed. Comments: When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates. Conformance Rule: If PMS is able to support the structured dosage, they may do so but this is not mandatory |
extension | 0..* | Extension | Slice: Unordered, Open by value:url Definition: An Extension |
extension (sequence) | 1..1 | Medication Dosage Line Sequence | Definition: Indicates the sequence of a particular dosage line within all dosage lines - equivalent to the repetition number of the dosage instruction element this extension is on. Comments: Conformance Rule: This must match the positional sequence of the dosageInstruction repetition. I.e. The first dosageInstruction repetition must have a 'sequence' value of 1, the second a 'sequence' value of 2, etc. |
extension (instructionRelationship) | 0..1 | Medication Order Dosage Instruction Relationship | Definition: Indicates how the timing of this dosage instruction relates to the preceding dosage instruction. Specifically, is it concurrent (AND) or sequential (THEN). Comments: Conformance Rule: As this will establish the relationship to the previous dosage lines (example: first and second dosage line, the second and thrid dosage line, etc.) this must be present for all dosage lines except for the FIRST dosage line. Usage Note: If THEN; is specified, there is typically a COMPLEX_ADMINISTRATION_PERIOD specified as well. These will be consecutive periods. Conformance Rule: ANDs and THENs should not be mixed due to ambiguity of meaning |
text | 0..1 | string | Definition: A free form description of how the dispensed medication is to be administered to the patient. Comments: Conformance Rule: If supported by the PMS, multiple dosage lines can be expressed individually. However, they must be concatenated into the RENDERED_DOSAGE_INSTRUCTION as PMS will not be forced to support the receipt of individual lines. Usage Note: This is a string that is typically composed of the route, duration, dose, frequency, per line. Examples are: Prednisone, variable dosage instruction, or concurrent instructions (1 pill morning and 1 pill before bed) or sequential dosages (1 pill for 2 days, then 2 pills). |
additionalInstructions | 0..1 | Shared Health CodeableConcept Text | Binding: (unbound) (example) inv-1: Must have coding or text but not both Definition: A free form textual description of extended instruction regarding the administration of the drug. Comments: Conformance Rule: When providing an additional instruction at the dosage line level (complex), this should be populated when appropriate. Usage Note: It may be necessary for the EMR to parse instructions such as QHS (take at bedtime), into two data elements DOSAGE_TIMING_FREQUENCY = once a day and 'at bedtime' would be placed into this field. Usage Note: 'Coding' is not available, so 'Text' is expected to be used HL7 MAPPING - ADDITIONAL_DOSAGE_INSTRUCTION (Business Name Change). Conformance Rule: When text is present, this should contain the additional instructions. Usage Note: At this time there is no known coding system. Therefore ‘text’ will be used. Conformance Rule: Maximum character length set to ‘5000’. |
coding | 0..* | Coding | Definition: A reference to a code defined by a terminology system. Comments: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true. |
system | 1..1 | uri | Definition: The identification of the code system that defines the meaning of the symbol in the code. Comments: |
code | 1..1 | code | Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). |
text | 1..1 | string | Max Length: 5000 Definition: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. Comments: Very often the text is the same as a displayName of one of the codings. |
timing | 0..1 | Timing | Definition: A structure describing the frequency (how often the drug is to be administered), offset (elapse time between administrations) represented by one line of dosage administration instruction. Includes the overall time-period the dosage instruction applies. Comments: Conformance Rule: For EMRs that can support it, this should be specified. Must also be part of the COMPLEX_DOSAGE_INSTRUCTION Conformance Rule: A start date may optionally be included. Refer to the Timing data type page for guidance on its use. |
repeat | 0..1 | Element | tim-3: Either frequency or when can exist, not both tim-1: if there's a duration, there needs to be duration units tim-2: if there's a period, there needs to be period units tim-9: If there's an offset, there must be a when tim-6: If there's a periodMax, there must be a period tim-8: If there's a countMax, there must be a count tim-7: If there's a durationMax, there must be a duration tim-4: duration SHALL be a non-negative value Definition: A set of rules that describe when the event should occur. |
boundsPeriod | 0..1 | Period | Definition: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule. Comments: Conformance Rule: If MULTI_LINE_DOSAGE, this will be populated with the total duration of the ADMINISTRATIVE_PERIOD for each dosage line. Conformance Rule: When providing a structured SIG, this should be populated when appropriate. This maps to Duration Must also be part of the COMPLEX_DOSAGE_INSTRUCTION |
count | 0..1 | integer | Definition: A total count of the desired number of repetitions. Comments: If you have both bounds and count, then this should be understood as within the bounds period, until count times happens. |
countMax | 0..1 | integer | Definition: A maximum value for the count of the desired repetitions (e.g. do something 6-8 times). |
duration | 0..1 | decimal | Definition: How long this thing happens for when it happens. Comments: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise). |
durationMax | 0..1 | decimal | Definition: The upper limit of how long this thing happens for when it happens. Comments: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise). |
durationUnit | 0..1 | code | Binding: UnitsOfTime (required) Definition: The units of time for the duration, in UCUM units. |
frequency | 0..1 | integer | Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). |
frequencyMax | 0..1 | integer | Definition: If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. |
period | 0..1 | decimal | Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. |
periodMax | 0..1 | decimal | Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. |
periodUnit | 0..1 | code | Binding: UnitsOfTime (required) Definition: The units of time for the period in UCUM units. |
asNeeded[x] | 0..1 | boolean, CodeableConcept | Binding: (unbound) (example) Definition: Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule. Comments: Conformance Rule: Set value = true. Conformance Rule: When this is specified, it is not acceptable to express the quantity exclusively as a duration/DAYSSUPPLY. The DOSAGEQUANTITY must be set. |
siteCodeableConcept | 0..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionAdministrationSite (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: When providing a structured SIG, this should be populated when appropriate. If not structured, this should be part of the SIG (RENDERED_DOSAGE_INSTRUCTION). Also can be specified for COMPLEX |
route | 0..1 | Shared Health CodeableConcept Required Text with optional code | Binding: PrescriptionRouteOfAdministration (extensible) Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. Comments: Conformance Rule: Coding should be populated if a code is available. However, text is always required. |
doseQuantity | 0..1 | PrescribeIT Drug Quantity for Administration | 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: Could be sent as part of the dosage instruction. OR for those PMSs that can support it, this should be specified. This is quite pointless without the frequency. Conformance Rule: This is NOT specified for COMPLEX. |
rateRatio | 0..1 | Ratio | Definition: Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. |
maxDosePerPeriod | 0..1 | Ratio | Definition: The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours. Comments: Conformance Rule: When providing a structured SIG, this should be populated when appropriate. Also can be specified for COMPLEX |
numerator | 1..1 | PrescribeIT Drug Quantity for Administration | 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: Usage Note: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). |
denominator | 1..1 | Shared Health Quantity | qty-3: If a code for the unit is present, the system SHALL also be present Definition: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. 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. |
This structure is derived from MedicationDispense
Summary
Mandatory: 18 elements (4 nested mandatory elements)
Must-Support: 51 elements
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-identifier
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-text-required-with-code
- http://sharedhealth.exchange/fhir/StructureDefinition/profile-patient
- http://prescribeit.ca/fhir/StructureDefinition/profile-medicationorder
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-identifier-prescription
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-code
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-text
- http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug-admin
- http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-quantity
Extensions
This structure refers to these extensions:
- http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage
- http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining
- http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-practitioner-org
- http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-identifier
- http://prescribeit.ca/fhir/StructureDefinition/ext-medication-dosageinstruction-sequence
- http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship
Differential View
This structure is derived from MedicationDispense
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | SΣI | 0..* | Dispensing a medication to a named patient | |
id | SΣ | 1..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: http://tools.ietf.org/html/bcp47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-medication-rendered-dosage | S | 1..1 | string | Rendered dosage URL: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage |
ext-dispense-quantity-remaining | S | 1..1 | PrescribeIT Drug Quantity | Total quantity remaining URL: http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Shared Health Identifier | An identifier intended for computation |
status | ?!SΣ | 1..1 | code | in-progress | on-hold | completed | entered-in-error | stopped Binding: MedicationDispenseStatus (required) Fixed Value: completed |
medicationCodeableConcept | S | 1..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionMedicinalProduct (extensible) |
patient | SΣ | 1..1 | Reference(Shared Health Patient) {b} | Who the dispense is for |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | SΣI | 1..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
dispenser | SΣ | 1..1 | Reference(Practitioner) {b} | Practitioner responsible for dispensing medication |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-reference-practitioner-org | S | 1..1 | Reference(Shared Health - eRx Service Location) {b} | Responsible organization URL: http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-practitioner-org |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
authorizingPrescription | SΣ | 1..1 | Reference(PrescribeIT Prescription) {br} | Medication order that authorizes the dispense |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-reference-identifier | S | 1..1 | Shared Health Identifier | Referenced identifier URL: http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier profiled by http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-identifier |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
url | S | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier" |
valueIdentifier | S | 1..1 | PrescribeIT™ Prescriber Prescription Identifier | Prescriber's order number |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
type | S | 0..1 | Shared Health CodeableConcept Code | Concept - reference to a terminology or just text Binding: ActPharmacySupplyType (required) |
quantity | SI | 1..1 | PrescribeIT Drug Quantity | Quantity of a medication |
daysSupply | SΣ | 1..1 | SimpleQuantity | Amount of medication expressed as a timing amount |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
value | SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
unit | Σ | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | System that defines coded unit form |
code | SΣ | 1..1 | code | Coded form of the unit Fixed Value: d |
whenPrepared | SΣ | 1..1 | dateTime | Dispense processing time |
whenHandedOver | Σ | 0..1 | dateTime | When product was given out |
destination | Σ | 0..1 | Reference(Location) | Where the medication was sent |
receiver | Σ | 0..* | Reference(Patient | Practitioner) | Who collected the medication |
note | Σ | 0..* | Annotation | Information about the dispense |
dosageInstruction | SΣ | 0..* | BackboneElement | Medicine administration instructions to the patient/caregiver |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
ext-medication-dosageinstruction-sequence | S | 1..1 | positiveInt | Dosage instruction sequence URL: http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-medication-dosageinstruction-sequence |
ext-medicationorder-dosageinstruction-relationship | S | 0..1 | code | AND | THEN URL: http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship Binding: PrescriptionDosageInstructionLineRelationship (required) |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
text | SΣ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstructions | SI | 0..1 | Shared Health CodeableConcept Text | Concept - reference to a terminology or just text Binding: (unbound) (example) |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
coding | SΣ | 0..* | Coding | Code defined by a terminology system |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
system | SΣ | 1..1 | uri | Identity of the terminology system |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 1..1 | string | Plain text representation of the concept Max Length: 5000 |
timing | SΣ | 0..1 | Timing | When medication should be administered |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
event | Σ | 0..* | dateTime | When the event occurs |
repeat | SΣI | 0..1 | Element | When the event is to occur |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
boundsPeriod | SΣ | 0..1 | Period | Length/Range of lengths, or (Start and/or end) limits |
count | SΣ | 0..1 | integer | Number of times to repeat |
countMax | SΣ | 0..1 | integer | Maximum number of times to repeat |
duration | SΣ | 0..1 | decimal | How long when it happens |
durationMax | SΣ | 0..1 | decimal | How long when it happens (Max) |
durationUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
frequency | SΣ | 0..1 | integer | Event occurs frequency times per period |
frequencyMax | SΣ | 0..1 | integer | Event occurs up to frequencyMax times per period |
period | SΣ | 0..1 | decimal | Event occurs frequency times per period |
periodMax | SΣ | 0..1 | decimal | Upper limit of period (3-4 hours) |
periodUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
code | Σ | 0..1 | CodeableConcept | QD | QOD | Q4H | Q6H | BID | TID | QID | AM | PM + Binding: TimingAbbreviation (preferred) |
asNeeded[x] | SΣ | 0..1 | boolean, CodeableConcept | Take "as needed" f(or x) Binding: (unbound) (example) |
siteCodeableConcept | S | 0..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionAdministrationSite (extensible) |
route | S | 0..1 | Shared Health CodeableConcept Required Text with optional code | Concept - reference to a terminology or just text Binding: PrescriptionRouteOfAdministration (extensible) |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: (unbound) (example) |
doseQuantity | SI | 0..1 | PrescribeIT Drug Quantity for Administration | Quantity of a medication |
rateRatio | SΣ | 0..1 | Ratio | Amount of medication per unit of time |
maxDosePerPeriod | SΣ | 0..1 | Ratio | Upper limit on medication per unit of time |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
numerator | SI | 1..1 | PrescribeIT Drug Quantity for Administration | Quantity of a medication |
denominator | SI | 1..1 | Shared Health Quantity | A measured or measurable amount |
substitution | Σ | 0..1 | BackboneElement | Deals with substitution of one medicine for another |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | Σ | 1..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: ActSubstanceAdminSubstitutionCode (example) |
reason | Σ | 0..* | CodeableConcept | Why was substitution made Binding: SubstanceAdminSubstitutionReason (example) |
responsibleParty | Σ | 0..* | Reference(Practitioner) | Who is responsible for the substitution |
Documentation for this format |
Other representations of profile: Schematron
3.49.3 Terminology Bindings
Terminology Bindings
Path | Name | Conformance | ValueSet |
MedicationDispense.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
MedicationDispense.status | MedicationDispenseStatus | required | MedicationDispenseStatus |
MedicationDispense.medicationCodeableConcept | PrescriptionMedicinalProduct | extensible | PrescriptionMedicinalProduct |
MedicationDispense.type | ActPharmacySupplyType | required | ActPharmacySupplyType |
MedicationDispense.dosageInstruction.additionalInstructions | ?ext | example | |
MedicationDispense.dosageInstruction.timing.repeat.durationUnit | UnitsOfTime | required | UnitsOfTime |
MedicationDispense.dosageInstruction.timing.repeat.periodUnit | UnitsOfTime | required | UnitsOfTime |
MedicationDispense.dosageInstruction.timing.code | TimingAbbreviation | preferred | TimingAbbreviation |
MedicationDispense.dosageInstruction.asNeeded[x] | ?ext | example | |
MedicationDispense.dosageInstruction.siteCodeableConcept | PrescriptionAdministrationSite | extensible | PrescriptionAdministrationSite |
MedicationDispense.dosageInstruction.route | PrescriptionRouteOfAdministration | extensible | PrescriptionRouteOfAdministration |
MedicationDispense.dosageInstruction.method | ?ext | example | |
MedicationDispense.substitution.type | ActSubstanceAdminSubstitutionCode | example | ActSubstanceAdminSubstitutionCode |
MedicationDispense.substitution.reason | SubstanceAdminSubstitutionReason | example | SubstanceAdminSubstitutionReason |
3.49.4 Constraints
Constraints
Id | Path | Details | Requirements |
mdd-1 | MedicationDispense | whenHandedOver cannot be before whenPrepared : whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared | |
qty-3 | MedicationDispense.quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | MedicationDispense.quantity | The comparator is not used on a SimpleQuantity : comparator.empty() | |
inv-1 | MedicationDispense.dosageInstruction.additionalInstructions | Must have coding or text but not both : coding.exists() xor text.exists() | |
tim-3 | MedicationDispense.dosageInstruction.timing.repeat | Either frequency or when can exist, not both : ((period or frequency) and when).not() | |
tim-1 | MedicationDispense.dosageInstruction.timing.repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-2 | MedicationDispense.dosageInstruction.timing.repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-9 | MedicationDispense.dosageInstruction.timing.repeat | If there's an offset, there must be a when : offset.empty() or when.exists() | |
tim-6 | MedicationDispense.dosageInstruction.timing.repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-8 | MedicationDispense.dosageInstruction.timing.repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-7 | MedicationDispense.dosageInstruction.timing.repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-4 | MedicationDispense.dosageInstruction.timing.repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
qty-3 | MedicationDispense.dosageInstruction.doseQuantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | MedicationDispense.dosageInstruction.doseQuantity | The comparator is not used on a SimpleQuantity : comparator.empty() | |
qty-3 | MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator | The comparator is not used on a SimpleQuantity : comparator.empty() | |
qty-3 | MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |