sunlabuiuc / PyHealth

A Deep Learning Python Toolkit for Healthcare Applications.
https://pyhealth.readthedocs.io
MIT License
956 stars 207 forks source link

RxNorm codes hierarchy #277

Closed Ofir408 closed 6 months ago

Ofir408 commented 6 months ago

Hi, I noticed something that might seem strange in the hierarchy of RxNorm (and perhaps other vocabularies). For instance, the code 1000001 in RxNorm doesn't have any parents or children in the PyHealth hierarchy.

image However, according Athena it looks this code has parents and children: image

This isn't specific to this code alone; it applies to many others as well. I just used 1000001 as an example. I would like to use PyHealth for getting the hierarchy of RxNorm . Can you please check this? How can I get the hierarchy of RxNorm correctly? Thank you! @pat-jj

zzachw commented 6 months ago

Hi @Ofir408, sorry for the late response! PyHealth currently does not provide any relationship information between RxNorm codes. However, you can map RxNorm to ATC and use the ATC hierarchy provided in PyHealth. Thanks!