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

dx_pttrn excludes COVID-19 codes #13

Closed
mdbecker opened this issue Nov 8, 2022 · 1 comment
Closed

dx_pttrn excludes COVID-19 codes #13

mdbecker opened this issue Nov 8, 2022 · 1 comment

Comments

@mdbecker
Copy link

mdbecker commented Nov 8, 2022

Thanks for the great package! We have a large DB of codes and DRGs assigned at a large regional hospital system and we've been looking at cases where this library disagrees with the billed DRGs. One high volume case is patients with a primary DX of U071 COVID-19. The CMS files show that these patients should be assigned DRG 177-179 but drgpy returns DRG 000. This seems to be due to dx_pttrn excluding these codes on line 6 of _mdcsrdr.py. I looked through the history and couldn't figure out why the code was written this way. Obviously this code was written before COVID-19. Is there a reason to exclude 'U' codes from this library? If not, may I submit a pull request to fix this?

Thanks!

@yubin-park
Copy link
Owner

@mdbecker sorry for this long overdue reply. I just pushed a fix on this. Thanks so much!

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

2 participants