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

How to extract entity description in 'observation explanations.json' #11

Open
HieuPhan33 opened this issue Aug 26, 2023 · 1 comment
Open

Comments

@HieuPhan33
Copy link

Hi,

Thanks for sharing the works. I would like to apply your method on other disease classification datasets.
MedKLIP inputs a detailed description of a disease in 'observation explanations.json'.

Could you please share a code or tutorial to extract the explanations for a given observation 'X'?

Best regards.

@HieuPhan33
Copy link
Author

I have done some research, and figured out how to query UMLS API: https://documentation.uts.nlm.nih.gov/rest/home.html.

But for one disease term, UMLS provides multiple related terms (could be up to 20). For example, "effusion", it returns "Otitis Media with Effusion", "Pleural Effusion, Malignant", "Hydrarthrosis", etc. I'm unsure how to filter out less relevant terms.

Could you please give me further guidance on how to create the observation dictionary from UMLS?

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