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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-substitution Version: 1.0.0
Draft as of 2024-02-21 Computable Name: ExtensionEETISSubstitution

Asendamine lubatud. Reason for not allowing the substitution of medication.

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: Asendamine lubatud. Reason for not allowing the substitution of medication.

  • substitutionAllowed: boolean: An Extension
  • substitutionAllowedReason: CodeableConcept: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Reason for not allowing the substitution of medication.
... Slices for extension Content/Rules for all slices
.... extension:substitutionAllowed 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "substitutionAllowed"
..... value[x] 1..1 boolean true - substitution is allowed false -substitution NOT allowed, provide reason
.... extension:substitutionAllowedReason 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "substitutionAllowedReason"
..... value[x] 0..1 CodeableConcept If substitution is not allowed one must choose the reason for it from the ValueSet.
Binding: ER_Asendamatuse põhjus (required): Reason for NOT allowing substitution

... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-substitution"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Reason for not allowing the substitution of medication.
... 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:substitutionAllowed 0..1 Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "substitutionAllowed"
..... value[x] 1..1 boolean true - substitution is allowed false -substitution NOT allowed, provide reason
.... extension:substitutionAllowedReason 0..1 Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "substitutionAllowedReason"
..... value[x] 0..1 CodeableConcept If substitution is not allowed one must choose the reason for it from the ValueSet.
Binding: ER_Asendamatuse põhjus (required): Reason for NOT allowing substitution

... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-substitution"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Asendamine lubatud. Reason for not allowing the substitution of medication.

  • substitutionAllowed: boolean: An Extension
  • substitutionAllowedReason: CodeableConcept: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Reason for not allowing the substitution of medication.
... Slices for extension Content/Rules for all slices
.... extension:substitutionAllowed 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "substitutionAllowed"
..... value[x] 1..1 boolean true - substitution is allowed false -substitution NOT allowed, provide reason
.... extension:substitutionAllowedReason 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "substitutionAllowedReason"
..... value[x] 0..1 CodeableConcept If substitution is not allowed one must choose the reason for it from the ValueSet.
Binding: ER_Asendamatuse põhjus (required): Reason for NOT allowing substitution

... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-substitution"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Reason for not allowing the substitution of medication.
... 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:substitutionAllowed 0..1 Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "substitutionAllowed"
..... value[x] 1..1 boolean true - substitution is allowed false -substitution NOT allowed, provide reason
.... extension:substitutionAllowedReason 0..1 Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "substitutionAllowedReason"
..... value[x] 0..1 CodeableConcept If substitution is not allowed one must choose the reason for it from the ValueSet.
Binding: ER_Asendamatuse põhjus (required): Reason for NOT allowing substitution

... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-substitution"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:substitutionAllowedReason.value[x]requiredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

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