You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thanks for your great work! I want to setup MedCatTrainer for UMLS tagging. When using one of the prepared UMLS models (small/large) I get the tagging including the CUI, but no other information. I think the problem is the missing "concepts imported" (red cross for the project). Hence, I tried to upload the necessary concepts (cdb.dat).
I wondered if the cdb.dat files of the prepared UMLS models come with the necessary information already (i.e. UMLS name, types, ...) or if it is still necessary to load the UMLS into Postgres, execute the script from the MedCat paper to get a CSV, and building the cdb. I tried the latter process, but it is very cumbersome and the documentation seems outdated (e.g. prep_cdb.prepare_csvs(paths) as used here https://towardsdatascience.com/medcat-extracting-diseases-from-electronic-health-records-f53c45b3d1c1 does not exist anymore).
In case a newly generated cdb.dat file is needed, I wondered if you could also provide it via the NIH links as the UMLS models. I think this would save a lot of hassle for anyone trying to use the UMLS as a backbone of MedCat.
Cheers!
The text was updated successfully, but these errors were encountered:
hi @stefanhgm - thanks - apologies for the slow response. We don't use UMLS much and mostly rely on SNOMED CT backed MedCAT models, but nevertheless UMLS should still work in the trainer. I assume that you've got the trainer running and are annotating documents with a UMLS model as you say you're seeing the concept IDs but just no meta data on the right hand side, and you're seeing a red check mark.
Did you follow the steps in the docs to get a green check mark?
Yes the UMLS models comes with the associated metadata to be populated into the MedCATTrainer solr search service
If you execute:
from medcat.cdb import CDB
cdb = CDB.load('<<umls small file>>')
cdb.cui2names
<<
a populated dict of names
>>
Hi everyone,
first of all thanks for your great work! I want to setup MedCatTrainer for UMLS tagging. When using one of the prepared UMLS models (small/large) I get the tagging including the CUI, but no other information. I think the problem is the missing "concepts imported" (red cross for the project). Hence, I tried to upload the necessary concepts (cdb.dat).
I wondered if the cdb.dat files of the prepared UMLS models come with the necessary information already (i.e. UMLS name, types, ...) or if it is still necessary to load the UMLS into Postgres, execute the script from the MedCat paper to get a CSV, and building the cdb. I tried the latter process, but it is very cumbersome and the documentation seems outdated (e.g.
prep_cdb.prepare_csvs(paths)
as used here https://towardsdatascience.com/medcat-extracting-diseases-from-electronic-health-records-f53c45b3d1c1 does not exist anymore).In case a newly generated cdb.dat file is needed, I wondered if you could also provide it via the NIH links as the UMLS models. I think this would save a lot of hassle for anyone trying to use the UMLS as a backbone of MedCat.
Cheers!
The text was updated successfully, but these errors were encountered: