Medication Scheme Implementation Guide
1.0.0 - draft
Medication Scheme Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | Version: 1.0.0 | |||
Draft as of 2023-10-03 | Computable Name: ExtensionEETISMedicationRemainder |
Jääk. Extension describing how many days worth medication is left on prescription.
Context of Use
This extension may be used on the following element(s):
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Medication left on prescription calculated in days. | |
Slices for extension | Content/Rules for all slices | |||
extension:daysAvailable | 0..* | Extension | Extension | |
extension | 0..0 | |||
url | 1..1 | uri | "daysAvailable" | |
value[x] | 0..1 | integer | How much medication calculated in days is on MedicationStatement initially before dispense. Value is to be calculated. Number of medication available changes after every dispensation. | |
extension:daysDispensed | 0..* | Extension | Extension | |
extension | 0..0 | |||
url | 1..1 | uri | "daysDispensed" | |
value[x] | 0..1 | integer | How many days of medication is dispensed. Value is to be calculated. Value in days. | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medication-remainder" | |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Medication left on prescription calculated in days. | |
id | 0..1 | id | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
extension:daysAvailable | 0..* | Extension | Extension | |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "daysAvailable" | |
value[x] | 0..1 | integer | How much medication calculated in days is on MedicationStatement initially before dispense. Value is to be calculated. Number of medication available changes after every dispensation. | |
extension:daysDispensed | 0..* | Extension | Extension | |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "daysDispensed" | |
value[x] | 0..1 | integer | How many days of medication is dispensed. Value is to be calculated. Value in days. | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medication-remainder" | |
Documentation for this format |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Medication left on prescription calculated in days. | |
Slices for extension | Content/Rules for all slices | |||
extension:daysAvailable | 0..* | Extension | Extension | |
extension | 0..0 | |||
url | 1..1 | uri | "daysAvailable" | |
value[x] | 0..1 | integer | How much medication calculated in days is on MedicationStatement initially before dispense. Value is to be calculated. Number of medication available changes after every dispensation. | |
extension:daysDispensed | 0..* | Extension | Extension | |
extension | 0..0 | |||
url | 1..1 | uri | "daysDispensed" | |
value[x] | 0..1 | integer | How many days of medication is dispensed. Value is to be calculated. Value in days. | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medication-remainder" | |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Medication left on prescription calculated in days. | |
id | 0..1 | id | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
extension:daysAvailable | 0..* | Extension | Extension | |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "daysAvailable" | |
value[x] | 0..1 | integer | How much medication calculated in days is on MedicationStatement initially before dispense. Value is to be calculated. Number of medication available changes after every dispensation. | |
extension:daysDispensed | 0..* | Extension | Extension | |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "daysDispensed" | |
value[x] | 0..1 | integer | How many days of medication is dispensed. Value is to be calculated. Value in days. | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medication-remainder" | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |