Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

# Remove old records
cd ~/code/admin/remover
mvn install -PMapRecords -D$rcDrun.config=/opt/mapping-rest/config.properties -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

...