...
Mojo: TerminologyRf2SnapshotLoaderMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdoec2-tomcat/otf/ts/mojo)
Project: admin/loader
...
Mojo: TerminologyRf2SnapshotLoaderMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdoec2-tomcat/otf/ts/mojo)
Project: admin/loader
...
The RF2 delta loader is used to process an incremental release delta of SNOMEDCT. A "release info" object is created for the delta release.
Mojo: TerminologyRf2DeltaLoaderMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdoec2-tomcat/otf/ts/mojo)
Project: admin/loader
Configuration Parameters
- A profile indicating RF2-delta must be specified
- e.g. -PRF2-delta
- See profiles in the pom.xml
- run.config.ts - the standard configuration file specified as a -D parameter
- input.dir - the input directory for the RF2 data
- terminology - the terminology value to use when loading
- lastPublicationDate - the last published terminology version from which this delta is relative..
- loader.defaultPreferredNames.typeId - specified in the properties file specified by run.config.ts
This is the RF2 preferred description typeId to use for computing concept preferred names.
- loader.defaultPreferredNames.refSetId - specified in the properties file specified by run.config.ts
- This is the RF2 preferred description language refSetId to use for computing concept preferred names
loader.defaultPreferredNames.acceptabilityId - specified in the properties file specified by run.config.ts
This is the RF2 language refset acceptability typeId to use for computing concept preferred names
The ClaML loader is used to load ClaML-based terminologies into the mapping tool. This includes ICD10 which is natively in ClaML as well as other terminologies like ICD9CM and ICPC ICD9CM that have been converted to ClaML.
Mojo: TerminologyClamlLoaderMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdoec2-tomcat/otf/mappingts/mojo)
Project: admin/loader
Configuration Parameters
- A profile indicating ClaML must be specified
- e.g. -PClaML
- See profiles in the pom.xml
- run.config.ts - the standard configuration file specified as a -D parameter
- input.file - the input ClaML file
- terminology - the ClaML-based terminology being loaded (e.g. ICD10)
- version - the (optional) terminology version, the value "latest" is used by default
The terminology remover is used to remove any terminology (and version) from the database, regardless of what loader was used to load it.
Mojo: TerminologyRemoverMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdoec2-tomcat/otf/mappingts/mojo)
Project: admin/remover
Configuration Parameters
- A profile of "Terminology" must be passed
- run.config.ts - the standard configuration file specified as a -D parameter
- terminology - the terminology to remove (e.g. ICPCICD9CM)
- version - the terminology version to remove, the default is "latest"
...
Sample command line call of the admin tool to load SNOMEDCT RF2 snapshot using the version "latest":
% cd ~/code/admin/loader % mvn install -PRF2-snapshot -Drun.config.ts=/home/ec2-tomcat/config/config.properties -Dterminology=SNOMEDCT -Dinput.dir=/home/ec2-tomcat/data/snomedct- 20140731 -mini |
Sample command line call of the admin tool to load SNOMEDCT RF2 full using the version "latest":
% cd ~/code/admin/loader % mvn install -PRF2-full -Drun.config.ts=/home/ |
ec2-tomcat/config/config.properties -Dterminology=SNOMEDCT -Dinput.dir=/home/ |
ec2-tomcat/data/snomedct- 20140731 - |
minif |
Sample command line call of the admin tool to load ICD9CM using the version "2013":
% cd ~/code/admin/loader % mvn install -PClaML -Drun.config.ts=/home/ec2-tomcat/config/config.properties -Dterminology=ICD9CM -Dversion=2013 -Dinput.file=/home/ec2-tomcat/data/icd9cm-2013.xml
|
Sample command line call of the admin tool to remove ICPCID9CM:
% cd ~/code/admin/remover % mvn install -PTerminology -Drun.config.ts=/home/ihtsdoec2-tomcat/config/config.properties -Dterminology=ICPC ICD9CM -Dversion= 2010 2013 |
Sample Eclipse run configuration for loading SNOMED CT:]SNOMEDCT RF2 snapshot:
Sample Eclipse run configuration for loading SNOMEDCT RF2 full data set:
Sample command line call of the admin tool to load ICD9CM using the version "2013"
Sample Eclipse run configuration for removing ICPCICD9CM:
Troubleshooting
Occasionally the load of a terminology will fail for one reason or another. If the process does not run to completion, it is a recommend practice to remove the terminology before attempting to import it again.
# stop the server
% service tomcat7 stop
# attempt to load ICPCICD9CM % cd ~/code/admin/loader % mvn install -PClaML -Drun.config.ts=/home/ihtsdoec2-tomcat/config/config.properties -Dterminology=ICPC ICD9CM -Dversion= 2010 2013 -Dinput.file=/home/ihtsdoec2-tomcat/data/icpcicd9cm- 2 2013 .xml ... perhaps a failure occurs here during the process # Run the remover % cd ~/code/admin/remover % mvn install -PTerminology -Drun.config.ts=/home/ec2-tomcat/ihtsdoconfigconfig/config.properties -Dterminology=ICPC ICD9CM -Dversion= 2010 2013 # attempt to load ICPC ICD9CM again % cd ~/code/admin/loader % mvn install -PClaML -Drun.config.ts=/home/ihtsdoec2-tomcat/config/config.properties -Dterminology=ICPC ICD9CM -Dversion= 2010 2013 -Dinput.file=/home/ihtsdoec2-tomcat/data/icpc 2
|
References/Links
- n/a