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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status Version: 1.0.0
Draft as of 2023-12-05 Computable Name: ExtensionEETISLockStatus

Broneering retseptil. When pharmacy locks the prescription for ordering unauthorized medication for patient.

Context of Use

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

  • Element ID MedicationRequest
  • 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: Broneering retseptil. When pharmacy locks the prescription for ordering unauthorized medication for patient.

  • lockStatus: boolean: Broneeritud apteegis. Kasutatakse juhul kui on tegemist müügiloata ravimi retseptiga, mis on saanud positiivse otsuse ning ootab apteegis tellitavat ravimit.
  • lockOwner: string: Broneeringu teinud apteek

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Lock on prescription and pharmacy who locked
... Slices for extension Content/Rules for all slices
.... extension:lockStatus 0..* Extension Prescription is locked in pharmacy
..... extension 0..0
..... url 1..1 uri "lockStatus"
..... value[x] 0..1 boolean Value of extension
.... extension:lockOwner 0..* Extension Pharmacy who locked the prescription for ordering unauthorized medication.
..... extension 0..0
..... url 1..1 uri "lockOwner"
..... value[x] 0..1 string Value of extension
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-lock-status"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Lock on prescription and pharmacy who locked
... 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:lockStatus 0..* Extension Prescription is locked in pharmacy
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "lockStatus"
..... value[x] 0..1 boolean Value of extension
.... extension:lockOwner 0..* Extension Pharmacy who locked the prescription for ordering unauthorized medication.
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "lockOwner"
..... value[x] 0..1 string Value of extension
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-lock-status"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Broneering retseptil. When pharmacy locks the prescription for ordering unauthorized medication for patient.

  • lockStatus: boolean: Broneeritud apteegis. Kasutatakse juhul kui on tegemist müügiloata ravimi retseptiga, mis on saanud positiivse otsuse ning ootab apteegis tellitavat ravimit.
  • lockOwner: string: Broneeringu teinud apteek

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Lock on prescription and pharmacy who locked
... Slices for extension Content/Rules for all slices
.... extension:lockStatus 0..* Extension Prescription is locked in pharmacy
..... extension 0..0
..... url 1..1 uri "lockStatus"
..... value[x] 0..1 boolean Value of extension
.... extension:lockOwner 0..* Extension Pharmacy who locked the prescription for ordering unauthorized medication.
..... extension 0..0
..... url 1..1 uri "lockOwner"
..... value[x] 0..1 string Value of extension
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-lock-status"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Lock on prescription and pharmacy who locked
... 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:lockStatus 0..* Extension Prescription is locked in pharmacy
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "lockStatus"
..... value[x] 0..1 boolean Value of extension
.... extension:lockOwner 0..* Extension Pharmacy who locked the prescription for ordering unauthorized medication.
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "lockOwner"
..... value[x] 0..1 string Value of extension
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-lock-status"

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