-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Where to run custom dictionary creator tool after getting ctakes rest service up and running? #56
Comments
Hi @jbliss1234, what version of Java are you running? |
I followed the instructions and installed default_jre. The version I have is: openjdk version "10.0.2" 2018-07-17 |
@jbliss1234 try it with jdk 1.8 |
After uninstalling default-jdk and all traces of java, I installed Oracle Jdk 1.8, however the issue remains the same:
Error: Could not find or load main class org.apache.ctakes.gui.dictionary.DictionaryCreator
Caused by: java.lang.ClassNotFoundException: org.apache.ctakes.gui.dictionary.DictionaryCreator
BTW, my Rest service continues to work fine; there is no issue with the service itself, except it returns Snomed codes instead of ICD codes that I want.
Also, I have a feeling that a step might be missing from the README, such as we don’t setup CTAKES_HOME environment variable….but I am not sure.
I wonder if it's possible to point the REST service at an already existing user installation of CTAKES instead of building ctakes from source?
|
@MatthewVita , any thoughts on how to configure a custom ICD10 dictionary after installing ctakes-rest-service? |
Hi @jbliss1234, As with the scripts here: https://github.com/GoTeamEpsilon/ctakes-rest-service/tree/master/sno_rx_16ab_db, you'll need to add a 9th one with the ICD10 script schema and data. Look out for things like (example):
You can also update the first script with just the schema information and add the 9th file with just data. |
@MatthewVita This is not working. I created a new table as you suggested and inserted a couple of rows, one of which was for cui 11849 (diabetes). I then restarted both mysql and tomcat, and then tested the ctakes rest service with the text "patient is diagnosed with diabetes". The service returned the snomedct_us codes, but nothing regarding icd10pcs.. |
@jbliss1234 Any luck with adding ICD10 as Table and loading data? |
I am very new to Ctakes and Java. I created a brand new ubuntu 18.04 VM and was able to follow the instructions to get the Ctakes rest service up.
However, I am now trying to follow Matthew's video to add custom dictionary for ICD codes, but I am not exactly sure where to find the runDictionaryCreator.sh from. I see the file in .../ctakes-rest-service/ctakes-codebase-area/trunk/ctakes-distribution/src/main/bin, but running the script from here throws this error:
The text was updated successfully, but these errors were encountered: