Comorbidity Calculations and Tools for ICD-9 and ICD-10 Codes


[Up] [Top]

Documentation for package ‘icd’ version 4.0.6

Help Pages

A C D F G I L N O P S U V W misc

-- A --

ahrq AHRQ comorbidities
as.comorbidity_map Set the class of a named list to show it is a comorbidity map.
as.decimal_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
as.icd10 Construct ICD-9 and ICD-10 data types
as.icd10be Construct ICD-9 and ICD-10 data types
as.icd10cm Construct ICD-9 and ICD-10 data types
as.icd10cm_pc Construct ICD-9 and ICD-10 data types
as.icd10fr Construct ICD-9 and ICD-10 data types
as.icd10who Construct ICD-9 and ICD-10 data types
as.icd9 Construct ICD-9 and ICD-10 data types
as.icd9cm Construct ICD-9 and ICD-10 data types
as.icd9cm_pc Construct ICD-9 and ICD-10 data types
as.icd_decimal_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
as.icd_long_data Set the ICD data structure class of a 'matrix' or 'data.frame'.
as.icd_short_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
as.icd_wide_data Set the ICD data structure class of a 'matrix' or 'data.frame'.
as.short_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format

-- C --

c.icd10 Combine ICD codes
c.icd9 Combine ICD codes
charlson Calculate Charlson Comorbidity Index (Charlson Score)
charlson.data.frame Calculate Charlson Comorbidity Index (Charlson Score)
charlson_from_comorbid Calculate Charlson scores from precomputed Charlson comorbidities
children Get children of ICD codes
children.character Get children of ICD codes
children.icd10 Get children of ICD codes
children.icd10cm Get children of ICD codes
children.icd10who Get children of ICD codes
children.icd9 Get children of ICD codes
children.icd9cm Get children of ICD codes
combine Combine ICD codes
comorbid Find comorbidities from ICD-9 codes.
comorbid_ahrq Find comorbidities from ICD-9 codes.
comorbid_ccs Find comorbidities from ICD-9 codes.
comorbid_charlson Find comorbidities from ICD-9 codes.
comorbid_df_to_mat convert comorbidity matrix to data frame
comorbid_elix Find comorbidities from ICD-9 codes.
comorbid_hcc Get Hierarchical Condition Codes (HCC)
comorbid_mat_to_df convert comorbidity data frame from matrix
comorbid_pccc_dx Calculate pediatric complex chronic conditions (PCCC) comorbidities
comorbid_pccc_pcs Calculate pediatric complex chronic conditions (PCCC) comorbidities
comorbid_quan_deyo Find comorbidities from ICD-9 codes.
comorbid_quan_elix Find comorbidities from ICD-9 codes.
convert Convert ICD data between formats and structures.
count_codes Count ICD codes or comorbidities for each patient
count_codes_wide Count ICD codes given in wide format
count_comorbid Count number of comorbidities per patient

-- D --

diff_comorbid show the difference between two comorbidity mappings
diff_comorbid.list show the difference between two comorbidity mappings
download_all_icd_data Download all the additional data at once

-- F --

filter_invalid Filter ICD codes by validity.
filter_poa Filters data frame based on present-on-arrival flag
filter_poa_no Filters data frame based on present-on-arrival flag
filter_poa_not_no Filters data frame based on present-on-arrival flag
filter_poa_not_yes Filters data frame based on present-on-arrival flag
filter_poa_yes Filters data frame based on present-on-arrival flag
filter_valid Filter ICD codes by validity.

-- G --

get_billable Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_billable.default Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_billable.icd10 Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_billable.icd10cm Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_billable.icd9 Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_billable.icd9cm Get the subset of codes that are billable according to ICD-9-CM or ICD-10-CM
get_cim10fr2019 Localised synonym for 'get_icd10fr2019', with French column names
get_defined Select only defined ICD codes
get_icd10be2014 Belgian ICD-10-BE
get_icd10be2014_pc ICD-10-BE 2014 procedure codes
get_icd10be2017 ICD-10-BE 2017
get_icd10be2017_pc ICD-10-BE 2017 procedure codes
get_icd10cm2014 ICD-10-CM 2014
get_icd10cm2014_pc ICD-10-CM Procedure codes for 2014
get_icd10cm2015 ICD-10-CM 2015
get_icd10cm2015_pc ICD-10-CM Procedure codes for 2015
get_icd10cm2016_pc ICD-10-CM Procedure codes for 2016
get_icd10cm2017 ICD-10-CM 2017
get_icd10cm2017_pc ICD-10-CM Procedure codes for 2017
get_icd10cm2018 ICD-10-CM 2018
get_icd10cm2018_pc ICD-10-CM Procedure codes for 2018
get_icd10cm2019_pc ICD-10-CM Procedure Codes
get_icd10cm_active Get the data for a given version (four-digit year) of ICD-10-CM
get_icd10cm_active_year Get or set the annual version of ICD-10-CM to use
get_icd10cm_available Get the ICD-10-CM versions available in this package
get_icd10cm_latest The latest available version of ICD-10-CM in this package
get_icd10cm_version Get the data for a given version (four-digit year) of ICD-10-CM
get_icd10fr2019 French ICD-10-FR modification of WHO ICD-10 used in France
get_icd10who2008fr 2008 WHO ICD-10 data in French
get_icd10who2016 2016 WHO ICD-10 data
get_icd9cm2005 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2005_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2006 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2006_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2007 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2007_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2008 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2008_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2009 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2009_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2010 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2010_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2011 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2011_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2012 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2012_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2013 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2013_leaf ICD-9-CM, just billable/leaf codes
get_icd9cm2014 ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
get_icd9cm2014_leaf ICD-9-CM, just billable/leaf codes
get_icd_data_dir Set up the data download cache, give permission to download data

-- I --

icd10cm2019 United States and Belgium ICD-10-CM
icd10_chapters ICD-10 chapters
icd10_chapters_fr ICD-10 chapters
icd10_comorbid Find comorbidities from ICD-9 codes.
icd10_comorbid_ahrq Find comorbidities from ICD-9 codes.
icd10_comorbid_ccs Find comorbidities from ICD-9 codes.
icd10_comorbid_charlson Find comorbidities from ICD-9 codes.
icd10_comorbid_elix Find comorbidities from ICD-9 codes.
icd10_comorbid_hcc Get Hierarchical Condition Codes (HCC)
icd10_comorbid_pccc_dx Calculate pediatric complex chronic conditions (PCCC) comorbidities
icd10_comorbid_pccc_pcs Calculate pediatric complex chronic conditions (PCCC) comorbidities
icd10_comorbid_quan_deyo Find comorbidities from ICD-9 codes.
icd10_comorbid_quan_elix Find comorbidities from ICD-9 codes.
icd10_filter_invalid Filter ICD codes by validity.
icd10_filter_valid Filter ICD codes by validity.
icd10_map_ahrq AHRQ comorbidities
icd10_map_ahrq_pcs AHRQ ICD-10-PCS categories
icd10_map_cc Medicare Hierarchical Condition Categories
icd10_map_ccs Clinical Classifications Software (CCS) for ICD9/10-CM
icd10_map_charlson Quan adaptation of Deyo/Charlson comorbidities
icd10_map_elix Elixhauser comorbidities
icd10_map_pccc_dx Pediatric Complex Chronic Conditions
icd10_map_pccc_pcs Pediatric Complex Chronic Conditions
icd10_map_quan_deyo Quan adaptation of Deyo/Charlson comorbidities
icd10_map_quan_elix Quan adaptation of Elixhauser comorbidities
icd10_names_ccs Comorbidity names
icd10_sub_chapters ICD-10 sub-chapters
icd10_sub_chapters_fr ICD-10 sub-chapters
icd9cm2014_leaf The final ICD-9-CM list of leaf ('billable') codes
icd9cm_billable Deprecated name for the list of annual ICD-9-CM billable/leaf descriptions
icd9cm_hierarchy ICD-9-CM diagnosis codes including leaf nodes and branch names up to the three-digit codes.
icd9_chapters ICD-9 chapters
icd9_comorbid Find comorbidities from ICD-9 codes.
icd9_comorbid_ahrq Find comorbidities from ICD-9 codes.
icd9_comorbid_ccs Find comorbidities from ICD-9 codes.
icd9_comorbid_charlson Find comorbidities from ICD-9 codes.
icd9_comorbid_elix Find comorbidities from ICD-9 codes.
icd9_comorbid_hcc Get Hierarchical Condition Codes (HCC)
icd9_comorbid_pccc_dx Calculate pediatric complex chronic conditions (PCCC) comorbidities
icd9_comorbid_pccc_pcs Calculate pediatric complex chronic conditions (PCCC) comorbidities
icd9_comorbid_quan_deyo Find comorbidities from ICD-9 codes.
icd9_comorbid_quan_elix Find comorbidities from ICD-9 codes.
icd9_filter_invalid Filter ICD codes by validity.
icd9_filter_valid Filter ICD codes by validity.
icd9_majors ICD-9 chapters
icd9_map_ahrq AHRQ comorbidities
icd9_map_cc Medicare Hierarchical Condition Categories
icd9_map_charlson Quan adaptation of Deyo/Charlson comorbidities
icd9_map_elix Elixhauser comorbidities
icd9_map_hcc Medicare Hierarchical Condition Categories
icd9_map_multi_ccs Clinical Classifications Software (CCS) for ICD9/10-CM
icd9_map_pccc Pediatric Complex Chronic Conditions
icd9_map_pccc_dx Pediatric Complex Chronic Conditions
icd9_map_pccc_pcs Pediatric Complex Chronic Conditions
icd9_map_quan_deyo Quan adaptation of Deyo/Charlson comorbidities
icd9_map_quan_elix Quan adaptation of Elixhauser comorbidities
icd9_map_single_ccs Clinical Classifications Software (CCS) for ICD9/10-CM
icd9_names_multi_ccs Comorbidity names
icd9_names_single_ccs Comorbidity names
icd9_sub_chapters ICD-9 sub-chapters
icd_long_data Set the ICD data structure class of a 'matrix' or 'data.frame'.
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_wide_data Set the ICD data structure class of a 'matrix' or 'data.frame'.
iget_cd9cm2005_leaf ICD-9-CM, just billable/leaf codes
is.comorbidity_map Test presence of ICD classes
is.decimal_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
is.icd10 Test presence of ICD classes
is.icd10be Test presence of ICD classes
is.icd10cm Test presence of ICD classes
is.icd10cm_pc Test presence of ICD classes
is.icd10fr Test presence of ICD classes
is.icd10who Test presence of ICD classes
is.icd9 Test presence of ICD classes
is.icd9cm Test presence of ICD classes
is.icd9cm_pc Test presence of ICD classes
is.icd9who Test presence of ICD classes
is.icd_decimal_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
is.icd_long_data Test for class describing patient data
is.icd_short_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
is.icd_wide_data Test for class describing patient data
is.short_diag Get or set whether ICD codes have have an attribute indicating 'short' or 'decimal' format
is_billable Check whether a code is billable according to ICD-9-CM or ICD-10-CM
is_billable.default Check whether a code is billable according to ICD-9-CM or ICD-10-CM
is_billable.icd10 Check whether a code is billable according to ICD-9-CM or ICD-10-CM
is_billable.icd10cm Check whether a code is billable according to ICD-9-CM or ICD-10-CM
is_billable.icd9 Check whether a code is billable according to ICD-9-CM or ICD-10-CM
is_billable.icd9cm Check whether a code is billable according to ICD-9-CM or ICD-10-CM

-- L --

long_to_wide Convert ICD data from long to wide format

-- N --

names_ahrq Comorbidity names
names_ahrq_abbrev Comorbidity names
names_ahrq_htn Comorbidity names
names_ahrq_htn_abbrev Comorbidity names
names_cc Comorbidity names
names_charlson Comorbidity names
names_charlson_abbrev Comorbidity names
names_elix Comorbidity names
names_elix_abbrev Comorbidity names
names_elix_htn Comorbidity names
names_elix_htn_abbrev Comorbidity names
names_pccc Comorbidity names
names_pccc_abbrev Comorbidity names
names_quan_elix Comorbidity names
names_quan_elix_abbrev Comorbidity names
names_quan_elix_htn Comorbidity names
names_quan_elix_htn_abbrev Comorbidity names

-- O --

order.icd10be Sort or order ICD-9 or ICD-10 codes according to published sequence
order.icd10cm Sort or order ICD-9 or ICD-10 codes according to published sequence
order.icd9 Sort or order ICD-9 or ICD-10 codes according to published sequence

-- P --

plot_comorbid Basic ordered bar plot showing counts of each comorbidity
plot_comorbid_results Basic ordered bar plot showing counts of each comorbidity
poa_choices Present-on-admission flags
print.icd10 Print ICD codes and comorbidity maps cleanly
print.icd9 Print ICD codes and comorbidity maps cleanly

-- S --

set_icd10cm_active_year Get or set the annual version of ICD-10-CM to use
set_icd_class Construct ICD-9 and ICD-10 data types
set_icd_data_dir Set up the data download cache, give permission to download data
sort.icd10 Sort or order ICD-9 or ICD-10 codes according to published sequence
sort.icd10be Sort or order ICD-9 or ICD-10 codes according to published sequence
sort.icd10cm Sort or order ICD-9 or ICD-10 codes according to published sequence
sort.icd9 Sort or order ICD-9 or ICD-10 codes according to published sequence
sort_icd Sort or order ICD-9 or ICD-10 codes according to published sequence
subset extract subset(s) from ICD data

-- U --

uranium_pathology United States Transuranium & Uranium Registries

-- V --

van_walraven Calculate van Walraven Elixhauser Score
van_walraven.data.frame Calculate van Walraven Elixhauser Score
van_walraven_from_comorbid Calculate van Walraven Elixhauser Score
vermont_dx Hospital discharge data from Vermont

-- W --

wide_to_long Convert ICD data from wide to long format
wide_vs_long Set the ICD data structure class of a 'matrix' or 'data.frame'.
with_icd10cm_version Evaluate code with a particular version of ICD-10-CM

-- misc --

[.icd10 extract subset(s) from ICD data
[.icd9 extract subset(s) from ICD data
[[.icd10 extract subset(s) from ICD data
[[.icd9 extract subset(s) from ICD data