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

Compare with Current View Page History

« Previous Version 7 Next »

Overview

Information on the ICD10 mapping project.

  • ModuleId: 449080006              
  • RefsetId: 447562003

Helpful Admin Commands

Remove

cd ~/code/admin/remover
// DO NOT DO THIS mvn install -PMapRecords -D$rc -Drefset.id=447562003
mvn install -PTerminology -D$rc -Dterminology=ICD10 -Dversion=2016

Load Previous version RF2

cd ~/code/admin/loader
set file = /home/ihtsdo/data/doc/release/20160731/icd10/der2_iisssccRefset_ExtendedMapActiveSnapshot_INT_20160731.txt
perl -ne '@_=split/\t/; print if $_[4] eq "447562003"' $file > /tmp/x.txt
mvn install -PMapRecords -D$rc -Dinput.file=/tmp/x.txt -Dmember.flag=true -Drecord.flag=false

Compute

cd ~/code/admin/loader
mvn install -PComputeWorkflow -D$rc -Drefset.id=447562003

Release

cd ~/code/admin/release
mvn install -PBeginRelease -D$rc -Drefset.id=447562003 -Dtest.mode.flag=true
mvn install -PRelease -D$rc -Drefset.id=447562003 -Doutput.dir=. -Dtime=20170131 -Dmodule.id=449080006 -Dtest.mode.flag=true
mvn install -PFinishRelease -D$rc -Drefset.id=447562003
mvn install -PBeginEditingCycle -D$rc -Drefset.id=447562003

Loading "Human Readable" View

# Remove old records
cd ~/code/admin/remover
mvn install -PMapRecords -D$rc -Drefset.id=P447562003

 

# Add updated records
cd ~/code/admin/loader
set file = /home/ihtsdo/data/doc/release/20170131/icd10/der2_iisssccRefset_ExtendedMapActiveSnapshot_INT_20170131.txt
/bin/rm -f x.txt
perl -ne 's/447562003/P447562003/; @_=split/\t/;print if $_[4] eq "P447562003"; ' $file > x.txt
mvn install -PMapRecords -D$rc -Dinput.file=x.txt -Dmember.flag=false -Drecord.flag=true

Remove old reports

service tomcat7 stop
# set date one year ago, e.g. 20141215
set refsetId=447562003
set date = 20141215
cd ~/code/admin/remover
mvn install -PReports -Drun.config=/home/ihtsdo/config/config.properties -Drefset.id=$refsetId -Dend.date=$date >&! mvn.log
service tomcat7 start
  • n/a
  • No labels