Skip to main content

Crate dhd_thesaurus

Crate dhd_thesaurus 

Source
Expand description

The DHD Diagnosethesaurus and Verrichtingenthesaurus deliveries (“Uitleverformaat 5.0”, https://www.dhd.nl/assets/uploads/Uitleverformaat-Thesauri-5.0-v1.0.pdf).

A delivery is a set of UTF-8 CSV tables. ThesaurusConcept gives the concepts (ConceptID, TypeConcept, the flags, the validity dates, a LOINC code for laboratory procedures), ThesaurusTerm their terms by type and language (the preferred term, synonyms, the patient-friendly terms, the fully specified names with their SNOMED CT identifier, search terms), ThesaurusConceptRelaties replacements and splits, ThesaurusConceptRol the roles per specialism group, Parapluterm umbrella terms, and the Afleiding* and CodeMapping tables the derivations to ICD-10, DBC, ZA, and other code systems. The reader turns a delivery into a flat Classification (no hierarchy; the relations are properties) and the SNOMED CT and ICD-10 links into pairs the build writes as concept maps.

Structs§

Delivery
A delivery: its tables, found by name under a directory.
Row
One row of a table, by column name.
Thesaurus
What a delivery yields: the thesaurus and its outward links.

Enums§

DhdError
A failure to read a delivery.

Constants§

DBC
The property that carries a DBC derivation (DBC_ID (specialism)).
DESIGNATION_KINDS
The rubric kinds that are designations, the preferred term first (TypeTerm values of the delivery, in the reader’s spelling).
DUTCH
The Dutch language tag the terms carry.
ICD10
The property that carries an ICD-10 derivation.
MAPPING
The property that carries a code mapping (system: code).
REPLACED_BY
The property naming the concepts that replace an ended one.
ROLE
The property that carries a role (name=value [group]).
SNOMED
The property that carries the SNOMED CT identifier of a concept.
SPLIT_INTO
The property naming the concepts an ended one was split into.
SYSTEM
The system URI of the thesauri: the DHD concept identifier OID (https://www.dhd.nl/producten-diensten/diagnosethesaurus).
UMBRELLA
The property naming the umbrella term a concept falls under.
ZA
The property that carries a ZA derivation.

Functions§

read
Reads the thesaurus of the delivery under root.
read_rows
Reads a table: UTF-8, a header row, quoted fields.