3.20.6 Extension: Medication Order Total Prescribed Days Supply - Detailed Descriptions
Definitions for the ext-medicationorder-total-days-supply Extension
| 1. Extension | |
| Definition | Identifies the total period of time over which the prescription is expected to last  | 
| Control | 0..1 | 
| 2. Extension.id | |
| Definition | unique id for the element within a resource (for internal references).  | 
| Control | 0..1 | 
| Type | id | 
| 3. Extension.extension | |
| Definition | An Extension  | 
| Control | 0..0 | 
| Type | Extension | 
| 4. Extension.url | |
| Definition | Source of the definition for the extension code - a logical name or a URL.  | 
| Control | 1..1 | 
| Type | uri | 
| Must Support | true | 
| Comments | Fixed value: http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply  | 
| Fixed Value | http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply | 
| 5. Extension.value[x] | |
| Definition | Identifies the total period of time over which the prescription is expected to last  | 
| Control | 1..1 | 
| Type | Quantity(Duration) | 
| [x] Note | See Choice of Data Types for further information about how to use [x] | 
| Must Support | true | 
| Comments | Conformance Rule: Must be populated when the Total Days Supply is entered by the user or when the Total Days Supply can be calculated by the system. Conformance Rule: Code must be 'd' and system must be 'http://unitsofmeasure.org'.  | 
| Max Length | 0 | 
| Invariants | Defined on this element 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. (: (code.exists() or value.empty()) and (system.empty() or system = %ucum)) qty-3: If a code for the unit is present, the system SHALL also be present (: code.empty() or system.exists())  |