Estonian Terminology Services Implementation Guide
1.0.0 - draft Estonia flag

Estonian Terminology Services 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/TerminologyServices/ and changes regularly. See the Directory of published versions

Guidance | Juhised kasutamiseks

FHIR Resources | FHIR ressursid

CodeSystem

CodeSystems carry information about concepts. Well known big code systems are SNOMED CT, LOINC, ATC, ICD-10, etc. But FHIR CodeSystem is not defined by its size. For example, HL7 Administrative Gender has only 4 concepts.

Read more about CodeSystem resource.

In some cases, either for technical reasons or needed by business logic, you need to add information to the base code system. However, this cannot be done unless you are the owner of the original code system. To allow extra information in a code system, a supplement can be used. However, you are only allowed to add information to existing concepts. New codes are not allowed in a supplement.

CodeSystem Supplement

CodeSystem supplement does not have its own dedicated resource type. FHIR CodeSystem resource is used for supplements as well. An example of needing a CodeSystem supplement is introducing a custom hierarchy on ValueSet level (see explanation).

ValueSet

ValueSet resource takes its content from CodeSystem(s). There can never be a FHIR ValueSet that defines its own codes without referencing a CodeSystem. Therefore, we often see pairs of CodeSystem and ValueSet, where ValueSet simply includes all concepts from the CodeSystem. A ValueSet can include concepts from two or more different CodeSystems. And also, every CodeSystem has a default URI that represents a ValueSets that contains the whole CodeSystem.

ValueSets are made of CodeSystem concepts

ValueSets in FHIR are very simplistic and lean in content. Dates of inclusion and exclusion of ValueSet members are provided in resource metadata, not for every member separately. Hierarchy and extra properties are not defined inside the ValueSet, but a ValueSet can be expanded so, that it includes some information about its concepts from the CodeSystem.

Read more about ValueSet resource

ConceptMap

ConceptMap resource shows mapping between two ValueSets, and it is by its definition use-case-specific. In some cases, mapping might be done from one CodeSystem to another, but technically it is still defined between two ValueSets that represent the content of the CodeSystem.

ConceptMap is directed

Mapping between concepts is usually dependant on the context. For example, consider the following three versions of the RhD Finding value set. We see three sets of codes representing the same idea, but using different codes. We can say that these concepts are equivalent within this ValueSet. SNOMED CT concept 165747007 RhD positive (finding) would not equal 10828004 Positive (qualifier value) in any other context, because one represents a specific finding while the other represents a very generic qualifier value.

ConceptMap works within a context

Read more about ConceptMap resource

TEHIK terminology server contains a few ConceptMaps. In the future, transitions from one code system to another will be described using ConceptMap resource.

NamingSystem

Read more about NamingSystem resource
In the first phase, NamingSystems are not in use in TEHIK terminology server.

Example queries | Näidispäringud