Skip to content
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

Add code to manually change preferred names concepts #13

Open
lieke89 opened this issue Oct 21, 2021 · 0 comments
Open

Add code to manually change preferred names concepts #13

lieke89 opened this issue Oct 21, 2021 · 0 comments

Comments

@lieke89
Copy link

lieke89 commented Oct 21, 2021

It's possible to add custom concepts via custom_concepts.csv. dutch-umls_to_concept-table.ipynb will add these concepts to the UMLS table. After adding these terms, it's possible that there are 2 (or more) concepts with term type P. Concept names are ordered in alphabetical order. MedCAT will consider the first P term as preferred name to generate the cdb file. This might not be the term manually added in custom_concepts.csv.

Therefore we should add some code to dutch-umls_to_concept-table.ipynb to change the term type of the old preferred name into an A and the new preferred name to a P. At the moment we could do this by manually changing the UMLS file after it's generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant