Medication Scheme Implementation Guide
1.0.0 - draft Estonia flag

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

Extension: ExtensionEETISMedicationRemainder

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):

  • Element ID MedicationStatement

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: Jääk. Extension describing how many days worth medication is left on prescription.

  • daysAvailable: integer: An Extension
  • daysDispensed: integer: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. 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"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Jääk. Extension describing how many days worth medication is left on prescription.

  • daysAvailable: integer: An Extension
  • daysDispensed: integer: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()