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

include icd-9 cm procedure codes #11

Closed jackwasey closed 6 years ago

jackwasey commented 10 years ago

This would be pretty straightforward. Always four digits. Mapping to text available in http://www.cms.gov/Medicare/Coding/ICD9ProviderDiagnosticCodes/codes.html

jackwasey commented 8 years ago

This would be a sensible thing to include in this package. Some risk models use procedure codes. I have not got any time to add this, but will happily accept contributions.

At a minimum, I'd expect to be able to convert codes to English, and check validity. The procedure codes would have to have a different class. I'd suggest `("icd10cmpc", "icd10pc") for an ICD-10-CM procedure code. It's a bit ugly, but consistent with other classes, and concise.

jackwasey commented 6 years ago

143 now tracking this (ICD-10 and ICD-9 procedure codes)