- Basic knowledge of the OMOP representation of the ICD10 vocabulary
- Schema DevV5 with copies of tables concept, concept_relationship and concept_synonym from ProdV5, fully indexed.
- SNOMED and ICD10 must be loaded first
- Working directory dev_icd10gm
- Manual tables must be filled (e.g. for translations)
- Download the latest ICD-10-GM version here
- Unzip the file \Klassifikationsdateien\icd10gmYYYYsyst_kodes.txt and rename to icd10gm.csv
- Run create_source_tables.sql
- Run in devv5 (with fresh vocabulary date and version):
SELECT sources.load_input_tables('ICD10GM',TO_DATE('20200101','YYYYMMDD'),'2020 Release');- Run FULL FastRecreate:
SELECT devv5.FastRecreateSchema(main_schema_name=>'devv5', include_concept_ancestor=>false, include_deprecated_rels=>true, include_synonyms=>true);- Run load_stage.sql for the first time to define problems in mapping
- Perform manual work described in manual_work folder
- Run load_stage.sql to refresh ICD10GM
- Run generic_update:
SELECT devv5.GenericUpdate();- Run manual_checks_after_generic.sql
- If no problems, enjoy!