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

Compare with Current View Page History

« Previous Version 8 Next »

Overview

Information on the GMDN mapping project.

  • ModuleId: 466707005
  • RefsetId: 467614008

Setting Up

The following steps were used to create the projects:

  • Load the terminology
    • The data is available in the repo (see GMDN folder):
      • git.ihtsdotools.org:ihtsdo/ihtsdo-mapping-tool-data.git
  • Create and configure the project
    • Including users, scope definition, reports and QA checks.
    • INCLUDES
      • 707732003 |Device material (physical object)|
    • EXCLUDES
      • n/a
  • Load the previously published map records.
    • NOTE: the scope for "device" was computed for 20150131 and each SNOMED device not mapped to GMDN was added as a blank entry, allowing this scope to be reliably used going forward.
    • After this, the effectiveTime = lastModified
  • Compute workflow

Helpful Admin Commands

Remove

cd ~/code/admin/remover
mvn install -PMapRecords -D$rc -Drefset.id=467614008
mvn install -PTerminology -D$rc -Dterminology=GMDN -Dversion=16_1

Load

cd ~/code/admin/remover

mvn install -PGMDN -Dinput.dir=/home/ihtsdo/data/GMDN -Dterminology=GMDN -Dversion=16_1 -D$rc
cd ~/code/admin/loader
set file = /home/ihtsdo/data/GMDN/der2_sRefset_GMDNMapSimpleMapSnapshot_INT_20150631.txt
perl -ne '@_=split/\t/; print if $_[4] eq "467614008"' $file > /tmp/x.txt
mvn install -PSimpleMapRecords -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=467614008

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

... start editing cycle ...

Loading "Human Readable" View

Similar approach to ICD10 but using the "simple" map loader.  e.g.

cd ~/code/admin/loader
set file = ~/data/GMDN/*2016*txt
grep -v 900000000000207008 $file | perl -pe 's/467614008/P467614008/;' >! x.txt
mvn install -PSimpleMapRecords -Drun.config=/home/ihtsdo/config/config.properties -Dinput.file=x.txt -Dmember.flag=false -Drecord.flag=true >&! mvn.log

 

  • n/a