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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change Version: 1.0.0
Draft as of 2024-09-06 Computable Name: ExtensionEETISPrescriptionChange

Retsepti muutmise aeg, muutja ja põhjus.

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

Complex Extension: Retsepti muutmise aeg, muutja ja põhjus.

  • changeTime: dateTime: An Extension
  • changeAuthor: Reference: An Extension
  • changeReason: CodeableConcept: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Changes on prescription - who changed, when and reason.
... Slices for extension Content/Rules for all slices
.... extension:changeTime 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeTime"
..... value[x] 0..1 dateTime Change time. Time when practitioner made the changes.
.... extension:changeAuthor 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeAuthor"
..... value[x] 0..1 Reference(EETISPractitionerRole) Change author. The author who made the changes
.... extension:changeReason 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeReason"
..... value[x] 0..1 CodeableConcept Reason for changes. Code from Retseptikeskus ValueSet.
Binding Description (No ValueSet): (preferred): "Muutmise põhjendus"-loend retseptikeskusest

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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Changes on prescription - who changed, when and reason.
... 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:changeTime 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeTime"
..... value[x] 0..1 dateTime Change time. Time when practitioner made the changes.
.... extension:changeAuthor 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeAuthor"
..... value[x] 0..1 Reference(EETISPractitionerRole) Change author. The author who made the changes
.... extension:changeReason 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeReason"
..... value[x] 0..1 CodeableConcept Reason for changes. Code from Retseptikeskus ValueSet.
Binding Description (No ValueSet): (preferred): "Muutmise põhjendus"-loend retseptikeskusest

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

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Retsepti muutmise aeg, muutja ja põhjus.

  • changeTime: dateTime: An Extension
  • changeAuthor: Reference: An Extension
  • changeReason: CodeableConcept: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Changes on prescription - who changed, when and reason.
... Slices for extension Content/Rules for all slices
.... extension:changeTime 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeTime"
..... value[x] 0..1 dateTime Change time. Time when practitioner made the changes.
.... extension:changeAuthor 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeAuthor"
..... value[x] 0..1 Reference(EETISPractitionerRole) Change author. The author who made the changes
.... extension:changeReason 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "changeReason"
..... value[x] 0..1 CodeableConcept Reason for changes. Code from Retseptikeskus ValueSet.
Binding Description (No ValueSet): (preferred): "Muutmise põhjendus"-loend retseptikeskusest

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

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Changes on prescription - who changed, when and reason.
... 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:changeTime 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeTime"
..... value[x] 0..1 dateTime Change time. Time when practitioner made the changes.
.... extension:changeAuthor 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeAuthor"
..... value[x] 0..1 Reference(EETISPractitionerRole) Change author. The author who made the changes
.... extension:changeReason 0..* Extension Extension
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "changeReason"
..... value[x] 0..1 CodeableConcept Reason for changes. Code from Retseptikeskus ValueSet.
Binding Description (No ValueSet): (preferred): "Muutmise põhjendus"-loend retseptikeskusest

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

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:changeReason.value[x]preferred

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