Estonian Terminology Services Implementation Guide
1.0.0 - draft
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
TEHIK terminology server aims to re-publish all the terminology assets that have been published in TEHIK's old publication centre (no public international access).
CodeSystem vs ValueSet distinction
In our Publication Centre, there is often no distinction between code system and value set. While the situation has been clear for large international code systems like ICD-10 or SNOMED CT, the majority of our legacy controlled vocabulary has been published as independent code lists, resulting in re-using same codes (001, 002) with many different meanings across lists. In FHIR, this results in an uncomfortable situation, that all these locally coded lists must technically become FHIR CodeSystems and ValueSets both, and they share the OID. The following diagram describes this basic migration rule:
We have cases where a ValueSet has changed its underlying CodeSystem (local codes switching to SNOMED CT), and the OID has remained the same. Therefore, we can conclude that until now, the OID has been assigned to the ValueSet rather than the CodeSystem. At the same time, this OID is used as an identifier for code system in CDA messaging. After many considerations, the OIDs have been migrated both to CodeSystem and ValueSet resource, resulting in two objects sharing the OID. This is a borderline case from the point of view of validity, and we would appreciate to know if this is causing any problems to our users.
Hierarchy
For expressing hierarchy in a code system, property parent is preferred over concepts-in-concepts structure. While terminology server are expected to handle both approaches, using property parent allows us to handle polyhierarchy and monohierarchy the same way.
Property parent kind of approach is closer to the flat table view which has been used for publishing terminology until now. Also, having hierarchy expressed as a property will allow users to use this property in value set expansion.
Currently every code list includes columns: Parent code (Vanem_kood) and Hierarchy level (Hierarhia_aste). Column 'Hierachy level' will not be migrated, as it is obsolete. Column 'Parent code' will be migrated as property parent in CodeSystem, and groupedBy in CodeSystem supplement, which is contained in the value set. See more about hierarchy in value set below.
Effective dates and statuses of value set members
Status of value set members will not be migrated, because only active value set members will be published in every value set version. It is possible to add status 'deprecated' to a value set member, but it serves as a warning for future changes.
Currently, every locally defined code list has three columns: Valid from (Kehtivuse_alguse_kpv), Valid until (Kehtivuse_lõpu_kpv), and Last updated (Viimane_muudatus_kpv). These columns will not be migrated as the content of a ValueSet. Valid from and Valid until dates will be migrated as effectivePeriod. 'Last updated' column will have no significant meaning after migration, and it will not be migrated.
The focus of the first migration:
Lower priority activities:
Creating concept maps between all the versions is a manual effort and will take a longer period. Please contact us about special needs of your project.
FHIR does not allow hierarchy in the value set. However, Estonian code lists have always been used not just for validation, but also for interface terminology, which means that hierarchy and grouper concepts have been a norm.
A concept in the value set can show the properties that have been assigned to it in the code system. Therefore, if the code system has exactly the same hierarchy as the value set, the same hierarchy can be expressed in value set expansion. However, for SNOMED CT based value sets, the same approach cannot be used, because the value set's hierarchy may not match the SNOMED CT's complex polyhierarchy. Consider the following excerpt from … value set:
Code | Name Estonian | English FSN | Parent code in value set | Direct parent in SNOMED CT |
257192006 | Nägemist toetav vahend | Aid to vision (physical object) | ||
50121007 | Prillid | Eye glasses, device (physical object) | 257192006 | 257192006 Aid to vision |
264865009 | Suurendusklaas | Optical near vision magnifier (physical object) | 257192006 | 360288007 Optical near vision aid & 310405008 Magnification device |
414928009 | Silmaprotees | Ocular prosthesis (physical object) | 257192006 | 414946003 Ophthalmic prosthesis |
6012004 | Kuulmist toetav vahend | Hearing aid, device (physical object) | ||
469512007 | Kõrvasisene kuuldeaparaat | In-the-ear air-conduction hearing aid (physical object) | 6012004 | 705321004 Air-conduction hearing aid |
467138008 | Kõrvatagune kuuldeaparaat | Behind-the-ear air-conduction hearing aid (physical object) | 6012004 | 705321004 Air-conduction hearing aid |
43252007 | Kohleaarimplantaat | Cochlear prosthesis, device (physical object) | 6012004 | 43252007 Cochlear prosthesis |
Such situation where the value set subsumption differs from code system subsumption should normally be avoided. However, it is often the reality, and in such cases the code system supplement is created to bridge the gap between code system and the value set. CodeSystem Supplement for this case adds properties:
The value set includes these properties as default properties for expansion.
Large code systems do not follow the common rules of migration. Each of the following code systems is handled individually.
ICD-10 / RHK-10
SNOMED CT
LOINC
NOMESCO Surgical Procedures (NCSP)
ATC and other medication related terminologies