You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

Information on the ICD11 mapping project.

  • ModuleId: 123456789
  • RefsetId: icd11RefsetId

Regression Set

This defines concepts reviewed, the target codes they should have so that it can be used to validate against changes in the algorithm.

UAT Details

Data files for this project are in /home/ihtsdo/data/ICD11

  • icd11Concepts.txt - faked from the "linearization" file to be oriented around "entityId" while showing the codes.
  • icd11ParChd.txt - faked from the "linearization" file to expres relationships between codes that have obvious par/chd relationships (as devined by the textual codes but not the entity codes)
  • icd11Map.txt - the computed map (from the algorithm)
  • icd11MapNotes.txt - the computed map notes (from the algorithm)

These steps were taken to set up the project

  • Manually create and configure the project as mapping admin
    • SNOMED to ICD11 Pilot - top level metadata for project
    • Map Leads selected
    • No map specialists
    • Map relations configured
    • Map age ranges configured
    • Scope concepts configured (starter set minus procedures)
  • Remake "SNOMED to ICD11" as a copy.
    • Scope definition configured (ICD10 scope, minus starter set, minus procedures)


Helpful Admin Commands

A cycle of redeploying maps involves running the algorithm to generate the "icd11Map.txt" and "icd11MapNotes.txt" files.  Assuming everything described above is already configured, the task here is simply to replace the data.  This is done with the "reload.csh" script in /home/ihtsdo/data/ICD11/reload.csh. 

#!/bin/csh -f

set rc = run.config=/home/ihtsdo/config/config.properties
echo "---------------------------------------------------"
echo "Starting ...`/bin/date`"
echo "---------------------------------------------------"
sudo service tomcat stop

echo "  Removing old maps ...`/bin/date`"
cd ~/code/admin/remover
mvn install -PMapRecords -D$rc -Drefset.id=icd11RefsetId | sed 's/^/     /'

echo "  Adding new maps ...`/bin/date`"
cd ~/code/admin/loader
mvn install -PMapRecords -D$rc -Dinput.file=/home/ihtsdo/data/ICD11/icd11Map.txt \
  -Dmember.flag=false -Drecord.flag=true
mvn install -PMapNotes -D$rc -Dinput.file=/home/ihtsdo/data/ICD11/icd11MapNotes.txt

sudo service tomcat start

echo "---------------------------------------------------"
echo "Finished ...`/bin/date`"
echo "---------------------------------------------------"