# Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities

## Documentation for package ‘icd’ version 2.4.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A C I P S U V misc

icd-package | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities
icd10-package | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities
icd9-package | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities

## -- A --

ahrq | AHRQ comorbidities

## -- C --

c.icd10 | combine ICD codes
c.icd9 | combine ICD codes
combine | combine ICD codes

## -- I --

icd | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities
icd10cm2016 | ICD-10-CM
icd10_chapters | ICD-10 chapters
icd10_comorbid_hcc | Get Heirarchical Condition Codes (HCC)
icd10_filter_invalid | Filter ICD codes by validity.
icd10_filter_valid | Filter ICD codes by validity.
icd10_map_ahrq | AHRQ comorbidities
icd10_map_cc | Medicare Hierarchical Condition Categories
icd10_map_elix | Elixhauser comorbidities
icd10_map_quan_deyo | Quan adaptation of Deyo/Charlson comorbidities
icd10_map_quan_elix | Quan adaptation of Elixhauser comorbidities
icd10_sub_chapters | ICD-10 sub-chapters
icd9Billable | list of annual versions of billable leaf nodes of ICD-9-CM
icd9cm_billable | list of annual versions of billable leaf nodes of ICD-9-CM
icd9cm_hierarchy | Latest ICD-9-CM diagnosis codes, in flat 'data.frame' format
icd9_chapters | ICD-9 chapters
icd9_comorbid_hcc | Get Heirarchical Condition Codes (HCC)
icd9_filter_invalid | Filter ICD codes by validity.
icd9_filter_valid | Filter ICD codes by validity.
icd9_is_e | do ICD-9 codes belong to numeric, V or E sub-types?
icd9_is_n | do ICD-9 codes belong to numeric, V or E sub-types?
icd9_is_v | do ICD-9 codes belong to numeric, V or E sub-types?
icd9_majors | ICD-9 chapters
icd9_map_ahrq | AHRQ comorbidities
icd9_map_cc | Medicare Hierarchical Condition Categories
icd9_map_elix | Elixhauser comorbidities
icd9_map_hcc | Medicare Hierarchical Condition Categories
icd9_map_quan_deyo | Quan adaptation of Deyo/Charlson comorbidities
icd9_map_quan_elix | Quan adaptation of Elixhauser comorbidities
icd9_sources | ICD-9 data sources
icd9_sub_chapters | ICD-9 chapters
icd_charlson | Calculate Charlson Comorbidity Index (Charlson Score)
icd_charlson.data.frame | Calculate Charlson Comorbidity Index (Charlson Score)
icd_charlson_from_comorbid | Calculate Charlson Comorbidity Index (Charlson Score)
icd_children | Get children of ICD codes
icd_children.character | Get children of ICD codes
icd_children.icd10 | Get children of ICD codes
icd_children.icd10cm | Get children of ICD codes
icd_children.icd9 | Get children of ICD codes
icd_comorbid_df_to_mat | convert comorbidity matrix to data frame
icd_comorbid_hcc | Get Heirarchical Condition Codes (HCC)
icd_comorbid_mat_to_df | convert comorbidity data frame from matrix
icd_count_codes | Count ICD codes or comorbidities for each patient
icd_count_codes_wide | Count ICD codes given in wide format
icd_count_comorbid | Count number of comorbidities per patient
icd_diff_comorbid | show the difference between two comorbidity mappings
icd_diff_comorbid.list | show the difference between two comorbidity mappings
icd_explain | Explain ICD-9 and ICD-10 codes in English
icd_explain.default | Explain ICD-9 and ICD-10 codes in English
icd_explain.icd10 | Explain ICD-9 and ICD-10 codes in English
icd_explain.icd10cm | Explain ICD-9 and ICD-10 codes in English
icd_explain.icd9 | Explain ICD-9 and ICD-10 codes in English
icd_explain.icd9cm | Explain ICD-9 and ICD-10 codes in English
icd_explain.list | Explain ICD-9 and ICD-10 codes in English
icd_filter_invalid | Filter ICD codes by validity.
icd_filter_poa | Filters data frame based on present-on-arrival flag
icd_filter_poa_no | Filters data frame based on present-on-arrival flag
icd_filter_poa_not_no | Filters data frame based on present-on-arrival flag
icd_filter_poa_not_yes | Filters data frame based on present-on-arrival flag
icd_filter_poa_yes | Filters data frame based on present-on-arrival flag
icd_filter_valid | Filter ICD codes by validity.
icd_get_defined | Select only defined ICD codes
icd_long_to_wide | Convert ICD data from long to wide format
icd_map_cc_hcc | Medicare Hierarchical Condition Categories
icd_names_ahrq | Comorbidity names
icd_names_ahrq_abbrev | Comorbidity names
icd_names_ahrq_htn | Comorbidity names
icd_names_ahrq_htn_abbrev | Comorbidity names
icd_names_cc | Comorbidity names
icd_names_charlson | Comorbidity names
icd_names_charlson_abbrev | Comorbidity names
icd_names_elix | Comorbidity names
icd_names_elix_abbrev | Comorbidity names
icd_names_elix_htn | Comorbidity names
icd_names_elix_htn_abbrev | Comorbidity names
icd_names_quan_elix | Comorbidity names
icd_names_quan_elix_abbrev | Comorbidity names
icd_names_quan_elix_htn | Comorbidity names
icd_names_quan_elix_htn_abbrev | Comorbidity names
icd_poa_choices | Present-on-admission flags
icd_van_walraven | Calculate van Walraven Elixhauser Score
icd_van_walraven.data.frame | Calculate van Walraven Elixhauser Score
icd_van_walraven_from_comorbid | Calculate van Walraven Elixhauser Score
icd_wide_to_long | Convert ICD data from wide to long format
is.icd10 | test ICD-related classes
is.icd10cm | test ICD-related classes
is.icd9 | test ICD-related classes
is.icd9cm | test ICD-related classes
is.icd_comorbidity_map | test ICD-related classes
is.icd_decimal_diag | test ICD-related classes
is.icd_long_data | test ICD-related classes
is.icd_short_diag | test ICD-related classes
is.icd_wide_data | test ICD-related classes

## -- P --

package-icd10 | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities
package-icd9 | icd: Tools for Working with ICD-9 and ICD-10 Codes, and Finding Comorbidities
print.icd_comorbidity_map | Print a comorbidity map

## -- S --

subset_icd | extract subset from ICD data

## -- U --

unzip_single | unzip a single file from URL
uranium_pathology | United States Transuranium & Uranium Registries

## -- V --

vermont_dx | Hospital discharge data from Vermont

## -- misc --

[.icd10 | extract subset from ICD data
[.icd9 | extract subset from ICD data
[[.icd10 | extract subset from ICD data
[[.icd9 | extract subset from ICD data
[[.icd_comorbidity_map | Extract vector of codes from an ICD comorbidity map