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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount Version: 1.0.0
Draft as of 2024-01-30 Computable Name: ExtensionEETISTotalPrescribedAmount

Väljakirjutatud kogus. How much in total there is medication prescribed on one Medication Request.

Context of Use

This extension may be used on the following element(s):

  • Element ID MedicationStatement
  • Element ID MedicationRequest

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

Simple Extension of type Quantity: Väljakirjutatud kogus. How much in total there is medication prescribed on one Medication Request.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
... extension 0..0
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount"
... value[x] 0..1 SimpleQuantity Total prescribed amount of medication on one prescription

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type Quantity: Väljakirjutatud kogus. How much in total there is medication prescribed on one Medication Request.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
... extension 0..0
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount"
... value[x] 0..1 SimpleQuantity Total prescribed amount of medication on one prescription

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount"

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()
qty-3errorExtension.value[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1error**ALL** extensionsThe comparator is not used on a SimpleQuantity
: comparator.empty()