yubin-park / hccpy

A Python implementation of Hierarchical Condition Categories
Apache License 2.0
97 stars 59 forks source link

Update Dx to HCC Mappings for 2021, 2022, 2023 #37

Closed dr00b closed 2 years ago

dr00b commented 2 years ago

Each year, CMS releases updated dx to HCC mappings as the diagnosis code-set evolves. The the files used in hccpy are copied directly from the public SAS models posted by CMS here. The SAS models are named like so: "2021 Midyear-Final-Model Software.zip".

In hccpy, the mappings from the SAS models are copied to the data dir. The "AllYearsCombined" mapping is a dedup'd combination of all the annual codesets released for a given model version. Below are examples for V24... F2421P1M.TXT F2421P2M.TXT F24_AllYearsCombined.TXT

Tasks:

MasonRoberts commented 2 years ago

I'm going to take a stab at this - thanks for the help David!

dr00b commented 2 years ago

Closed by #39

helfa012 commented 1 year ago

There's still a task left to do!