Package: medcat
Medicaloncept Annotation ToolMedCAT can be used to extract information from Electronic Health Records (EHRs) and link it to biomedical ontologies like SNOMED-CT and UMLS. Paper onarXiv.Official DocshereDiscussion ForumdiscourseAvailable ModelsWe have 4 public models available:UMLS Small (A modelpack containing a subset of UMLS (disorders, symptoms, medications...). Trained on MIMIC-III)SNOMED International (Full SNOMED modelpack trained on MIMIC-III)UMLS Dutch v1.10 (a modelpack provided by UMC Utrecht containingUMLS entities with Dutch namestrained on Dutch medical wikipedia articles and a negation detection modelrepository/papertrained on EMC Dutch Clinical Corpus).UMLS Full. >4MM concepts trained self-supervsied on MIMIC-III. v2022AA of UMLS.To download any of these models, pleasefollow this linkand sign into your NIH profile / UMLS license. You will then be redirected to the MedCAT model download form. Please complete this form and you will be provided a download link.NewsPapervan Es, B., Reteig, L.C., Tan, S.C. et al.Negation detection in Dutch clinical texts: an evaluation of rule-based and machine learning methods. BMC Bioinformatics 24, 10 (2023).New tool in the Cogstack ecosystem [19. December 2022]Foresight -- Deep Generative Modelling of Patient Timelines using Electronic Health RecordsNew Paper using MedCAT [21. October 2022]:A New Public Corpus for Clinical Section Identification: MedSecId.Major Change to the Permissions of Use [4. August 2022]MedCAT now uses theElastic License 2.0. For further information please clickhere.New Downloader [15. March 2022]: You can nowdownloadthe latest SNOMED-CT and UMLS model packs via UMLS user authentication.New Feature and Tutorial [7. December 2021]:Exploring Electronic Health Records with MedCAT and Neo4jNew Minor Release [20. October 2021]Introducing model packs, new faster multiprocessing for large datasets (100M+ documents) and improved MetaCAT.New Release [1. August 2021]: Upgraded MedCAT to use spaCy v3, new scispaCy models have to be downloaded - all old CDBs (compatble with MedCAT v1) will work without any changes.New Feature and Tutorial [8. July 2021]:Integrating 🤗 Transformers with MedCAT for biomedical NER+LGeneral [1. April 2021]: MedCAT is upgraded to v1, unforunately this introduces breaking changes with older models (MedCAT v0.4),
as well as potential problems with all code that used the MedCAT package. MedCAT v0.4 is available on the legacy
branch and will still be supported until 1. July 2021
(with respect to potential bug fixes), after it will still be available but not updated anymore.Paper:What’s in a Summary? Laying the Groundwork for Advances in Hospital-Course Summarization(more...)InstallationTo install the latest version of MedCAT run the following command:pip install medcatNormal installations of MedCAT will install torch-gpu and all relevant dependancies (such as CUDA). This can require as much as 10 GB more disk space, which isn't required for CPU only usage.To install the latest version of MedCAT without torch GPU support run the following command:pip install medcat --extra_index_url https://download.pytorch.org/whl/cpu/DemoA demo application is available atMedCAT. This was trained on MIMIC-III and all of SNOMED-CT.
PS: This link can take a long time to load the first time around. The machine spins up as needed and spins down when inactive.TutorialsA guide on how to use MedCAT is available atMedCAT Tutorials. Read more about MedCAT onTowards Data Science.LoggingSince MedCAT is primarily a library, logging has been effectively disabled by default. The idea is that the user of the library should have the choice of what, where, and how to log the information from a specific library they are using.The idea is that the user can directly modify the logging behaviour of either the entire library or a certain set of modules within as they wish. We have provided a convenience method to add default handlers that log into the console as well asmedcat.log(medcat.add_default_log_handlers).Some details as to how one can configure the logging are described in theMedCAT Tutorials.AcknowledgementsEntity extraction was trained onMedMentionsIn total it has ~ 35K entites from UMLSThe vocabulary was compiled fromWiktionaryIn total ~ 800K unique wordsPowered ByA big thank you goes tospaCyandHugging Face- who made life a million times easier.Citation@ARTICLE{Kraljevic2021-ln,
  title="Multi-domain clinical natural language processing with {MedCAT}: The Medical Concept Annotation Toolkit",
  author="Kraljevic, Zeljko and Searle, Thomas and Shek, Anthony and Roguski, Lukasz and Noor, Kawsar and Bean, Daniel and Mascio, Aurelie and Zhu, Leilei and Folarin, Amos A and Roberts, Angus and Bendayan, Rebecca and Richardson, Mark P and Stewart, Robert and Shah, Anoop D and Wong, Wai Keong and Ibrahim, Zina and Teo, James T and Dobson, Richard J B",
  journal="Artif. Intell. Med.",
  volume=117,
  pages="102083",
  month=jul,
  year=2021,
  issn="0933-3657",
  doi="10.1016/j.artmed.2021.102083"
}