Learn R Programming

icd (version 3.3)

icd10cm_get_all_defined: get all ICD-10-CM codes

Description

Gets all ICD-10-CM codes from an archive on the CDC web site at Initially, this just grabs 2016.

Usage

icd10cm_get_all_defined(save_data = FALSE, offline = TRUE)

Arguments

Details

The factor generation uses sort.default which is locale dependent. This meant a lot of time debugging a problem when white space was ignored for sorting on some platforms, but not others.

References

https://www.cms.gov/Medicare/Coding/ICD10/downloads/icd-10quickrefer.pdf