Overview

Information on the GMDN mapping project.

  • ModuleId: 715152001       
  • RefsetId: 450993002

Maintaining GP/FP Refset

Periodically, the new GP/FP refset is released.

  • Take the delta file and identify concepts no longer in scope.  
    • Remove them from the scope definition.
  • Take the delta file and identify the concepts now in scope
    • Add them to the scope definition
  • Recompute workflow
  • Edit remaining work.

Helpful Admin Commands

Remove

cd ~/code/admin/remover
mvn install -PMapRecords -D$rc -Drefset.id=450993002
mvn install -PTerminology -D$rc -Dterminology=ICPC -Dversion=2010

Load Previous version RF2

cd ~/code/admin/loader

set file = /home/ihtsdo/data/ICPC/der2_iisssccRefset_ICPC2ExtendedMapSnapshot_INT_20160131.txt
perl -ne '@_=split/\t/; print if $_[4] eq "450993002"' $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=450993002

Release
cd ~/code/admin/release
mvn install -PBeginRelease -D$rc -Drefset.id=450993002 -Dtest.mode.flag=true
mvn install -PRelease -D$rc -Drefset.id=450993002 -Doutput.dir=. -Dtime=20160731 -Dmodule.id=715152001 -Dtest.mode.flag=true
mvn install -PFinishRelease -D$rc -Drefset.id=450993002

mvn install -PBeginEditingCycle -D$rc -Drefset.id=450993002

Loading "Human Readable" View

TBD

Updating Published Project

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

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

  • n/a
  • No labels