jackwasey / icd

Fast ICD-10 and ICD-9 comorbidities, decoding and validation in R. NB use main instead of master for default branch.
https://jackwasey.github.io/icd/
GNU General Public License v3.0
240 stars 60 forks source link

Adding ICD-9 and ICD-10 conversions #186

Open dapritchard opened 4 years ago

dapritchard commented 4 years ago

My group plans to implement a conversion procedure between ICD-9 and ICD-10 codes in R based on the codes found here: http://www.nber.org/data/icd9-icd-10-cm-and-pcs-crosswalk-general-equivalence-mapping.html. It seems like this package would be a natural location for such functionality -- would you consider a pull request if I added such a feature? Do you have any preferences what the API would look like?

wenjie2wang commented 4 years ago

I would like to mention the existing implementation in the touch package: https://hub.wenjie-stat.me/touch/reference/icd_map.html. In fact, I sent emails to Jack and suggested to import touch::icd_map() to the icd package as the engine function for the ICD code conversion/crosswalk in Oct, 2018.

dpritchLibre commented 4 years ago

Note that this conversation is continued in a PR for this issue at #190