yubin-park/hccpy

New ICD10 code set and missing interaction bug

Closed this issue · 1 comments

Received this request from my LinkedIn. Leaving here not to forget:
Should address soon.

I hope you don't mind, but I recommended a few changes to your hccpy package. Feel free to disregard, but I proposed moving to the new F2421P2M.TXT file, which has ~150 new ICD10 codes and removes another 12. There was a small edit also to hcc.py script just to use this new ICD10 to HCC crosswalk file.

Also, I think there is a small bug in the _V2419P1M.py file. In line 37, "xgSubstanceAbuse_gPsychiatric_V24" does not exist in the risk coefficients dictionary; rather, I think it's supposed to be "gSubstanceUseDisorder_gPsych."

Hi Yubin!

I pushed the edits so you wouldn't have to search. Thank you!

-Kev