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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items Version: 1.0.0
Draft as of 2023-10-03 Computable Name: ExtensionEETISGroupedItems

Grupeerija. Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.

Context of Use

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
... Slices for extension Content/Rules for all slices
.... extension:groupingReference 0..* Extension Reference(s) of MedicationStatement which are shown as one line
..... extension 0..0
..... url 1..1 uri "groupingReference"
..... value[x] 0..1 Reference(EETISMedicationStatement | EETISMedicationStatementOTC | EETISMedicationStatementFoodSupplement) Value of extension
.... extension:groupingIdentifier 0..* Extension Identifier(s) of MedicationStatement which are shown as one line
..... extension 0..0
..... url 1..1 uri "groupingIdentifier"
..... value[x] 0..1 Identifier Value of extension
...... system 0..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid#retseptikeskus-retsept
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-grouped-items"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
... 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:groupingReference 0..* Extension Reference(s) of MedicationStatement which are shown as one line
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "groupingReference"
..... value[x] 0..1 Reference(EETISMedicationStatement | EETISMedicationStatementOTC | EETISMedicationStatementFoodSupplement) Value of extension
.... extension:groupingIdentifier 0..* Extension Identifier(s) of MedicationStatement which are shown as one line
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "groupingIdentifier"
..... value[x] 0..1 Identifier Value of extension
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
...... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid#retseptikeskus-retsept
...... value ΣC 0..1 string The value that is unique
Example General: 123456
...... period Σ 0..1 Period Time period when id is/was valid for use
...... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-grouped-items"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Grupeerija. Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.

  • groupingReference: Reference: Ravimiskeemi rea referents(id), mis on kokku grupeeritud.
  • groupingIdentifier: Identifier: Ravimiskeemi rea identifikaator(id), mis on kokku grupeeritud.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
... Slices for extension Content/Rules for all slices
.... extension:groupingReference 0..* Extension Reference(s) of MedicationStatement which are shown as one line
..... extension 0..0
..... url 1..1 uri "groupingReference"
..... value[x] 0..1 Reference(EETISMedicationStatement | EETISMedicationStatementOTC | EETISMedicationStatementFoodSupplement) Value of extension
.... extension:groupingIdentifier 0..* Extension Identifier(s) of MedicationStatement which are shown as one line
..... extension 0..0
..... url 1..1 uri "groupingIdentifier"
..... value[x] 0..1 Identifier Value of extension
...... system 0..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid#retseptikeskus-retsept
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-grouped-items"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
... 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:groupingReference 0..* Extension Reference(s) of MedicationStatement which are shown as one line
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "groupingReference"
..... value[x] 0..1 Reference(EETISMedicationStatement | EETISMedicationStatementOTC | EETISMedicationStatementFoodSupplement) Value of extension
.... extension:groupingIdentifier 0..* Extension Identifier(s) of MedicationStatement which are shown as one line
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "groupingIdentifier"
..... value[x] 0..1 Identifier Value of extension
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
...... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... system Σ 0..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid#retseptikeskus-retsept
...... value ΣC 0..1 string The value that is unique
Example General: 123456
...... period Σ 0..1 Period Time period when id is/was valid for use
...... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-grouped-items"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Grupeerija. Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.

  • groupingReference: Reference: Ravimiskeemi rea referents(id), mis on kokku grupeeritud.
  • groupingIdentifier: Identifier: Ravimiskeemi rea identifikaator(id), mis on kokku grupeeritud.

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:groupingIdentifier.value[x].userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Extension.extension:groupingIdentifier.value[x].typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard

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