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

Calculate comorbidities, Charlson scores, perform fast and accurate validation, conversion, manipulation, filtering and comparison of ICD-9 and ICD-10 codes. Common ambiguities and code formats are handled. This package enables a work flow from raw lists of ICD codes in hospital billing databases to comorbidities. ICD-9 and ICD-10 comorbidity mappings from Quan (Deyo and Elixhauser versions), Elixhauser and AHRQ included. This package replaces icd9, which can now be uninstalled.

AuthorJack O. Wasey [aut, cre, cph], William Murphy [ctb] (Van Walraven scores), R Core Team [ctb, cph] (m4 macro for OpenMP detection in configure)
Date of publication2016-09-02 23:45:32
MaintainerJack O. Wasey <jack@jackwasey.com>
LicenseGPL-3
Version2.1
https://github.com/jackwasey/icd

View on CRAN

Man pages

apply_hier: Apply hierarchy and choose naming for each comorbidity map

as_char_no_warn: convert to character vector without warning

as.icd_short_diag: Set ICD short-form diagnosis code attribute

chapter_to_desc_range: Parse a (sub)chapter text description with parenthesised...

combine: combine ICD codes

condense_explain_table: condense 'icd_explain_table' output down to major codes

condense_explain_table_worker: generate condensed code and condensed number columns

convert: Convert ICD9 codes between formats and structures.

cr: sequence columns of comorbidities

expand_range_worker: expand range worker function

expect_chap_equal: expect named sub-chapter has a given range, case insensitive

expect_chap_present: expect that a chapter with given title exists,...

expect_equal_no_icd: expect equal, ignoring any ICD classes

factor_nosort: Fast Factor Generation

fastIntToString: Fast convert integer vector to character vector

fetch_rtf_year: Fetch RTF for a given year

fix_rtf_duplicates: fix duplicates detected in RTF parsing

fix_rtf_quirks_2015: fix quirks for 2015 RTF parsing

fixSubchapterNa: Fix NA sub-chapters in RTF parsing

fix_unicode: Fix Unicode characters in RTF

generate_deprecated_data: Generate deprecated data

generate_random_short_icd10cm_bill: generate random ICD-9 codes

generate_random_short_icd9: generate random ICD-9 codes

generate_spelling: Generate spelling exceptions

generate_sysdata: Generate 'sysdata.rda'

generate_uranium_pathology: generate uranium pathology data

generate_vermont_dx: generate 'vermont_dx' data

get_non_ASCII: mimic the R CMD check test

get_visit_name: Get or guess the name of the visit ID column

icd10_chapters: ICD-10 chapters

icd10cm2016: ICD-10-CM

icd10cm_extract_sub_chapters: Get sub-chapters from the 2016 XML for ICD-10-CM

icd10cm_get_all_defined: get all ICD-10-CM codes

icd10_comorbid_parent_search: find ICD-10 comorbidities by checking parents

icd10_comorbid_parent_search_cpp: Internal function to find ICD-10 parents

icd10_generate_map_quan_deyo: Generate Quan mapping for Charlson categories of ICD-10 codes

icd10_generate_map_quan_elix: generate ICD-10 Quan/Elixhauser mapping

icd10_parse_cc: Import the ICD10 to CC crosswalks

icd10_sub_chapters: ICD-10 sub-chapters

icd9_add_leading_zeroes_cpp: Add leading zeroes to incomplete ICD-9 codes

icd9_chapters: ICD-9 chapters

icd9_chapters_to_map: convert the chapter headings to lists of codes

icd9Charlson: Deprecated: calculate ICD-9 Charlson score

icd9Children: Deprecated: get children of ICD-9 codes

icd9cm_billable: list of annual versions of billable leaf nodes of ICD-9-CM

icd9cm_generate_chapters_hierarchy: generate ICD-9-CM hierarchy

icd9cm_get_billable: Get billable ICD-9-CM codes

icd9cm_hierarchy: Latest ICD-9-CM diagnosis codes, in flat 'data.frame' format

icd9cm_latest_edition: Latest ICD-9-CM edition

icd9Comorbid: Deprecated: get comorbidities from patient data

icd9ComorbidMatToDf: Deprecated: convert matrix of comorbidities to data frame

icd9Condense: Deprecated: condense list of ICD-9 codes

icd9Count: Deprecated: count number of ICD codes per patient

icd9DecimalToParts: Deprecated: convert between short, decimal ICD-9 codes

icd9DiffComorbid: Deprecated: find difference between comorbidity maps

icd9_drop_leading_zeroes: drop zero padding from decimal ICD-9 code.

icd9ExpandRange: Deprecated: expand range of ICD-9 codes

icd9Explain: Deprecated: explain ICD codes in words

icd9_extract_alpha_numeric: extract alphabetic, and numeric part of ICD-9 code prefix

icd9_fetch_ahrq_sas: get the SAS code from AHRQ

icd9FilterValid: Deprecated: filter valid ICD-9 codes in or out

icd9_generate_map_elix: Generate Elixhauser comorbidities

icd9_generate_map_quan_elix: Generate Quan's revised Elixhauser comorbidities

icd9_get_chapters: get ICD-9 Chapters from vector of ICD-9 codes

icd9GetChapters: Deprecated: get chapters for ICD-9 codes

icd9GetMajor: Deprecated: get or identify major part of an ICD-9 code

icd9GetValid: Deprecated: get valid ICD-9 codes

icd9IsBillable: Deprecated: get or test for billable (leaf node) ICD-9 codes

icd9_is_n: do ICD-9 codes belong to numeric, V or E sub-types?

icd9IsN: Deprecated: is a code a particular ICD-9 sub-type?

icd9_is_n_cpp: Do elements of vector begin with V, E (or any other...

icd9IsReal: Deprecated: get or identify 'real' defined ICD-9-CM codes.

icd9IsValidMapping: Deprecated: check whether a mapping has only valid ICD-9...

icd9LongToWide: Deprecated: convert ICD-9 patient data from long to wide...

icd9MajMinToCode: Convert major and minor vectors to single code

icd9_map_ahrq: AHRQ comorbidities

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_order_short: Get order of short-form ICD-9 codes

icd9_parse_ahrq_sas: parse AHRQ SAS code to get mapping

icd9_parse_cc: Generate ICD to HCC Crosswalks from CMS

icd9_parse_leaf_desc_ver: Read the ICD-9-CM description data as provided by the Center...

icd9_parse_quan_deyo_sas: parse original SAS code defining Quan's update of Deyo...

icd9RandomShort: Generate random short-form ICD-9 codes

icd9Sort: Deprecated: sort ICD-9 codes

icd9Valid: Deprecated: check validity of ICD-9 codes

icd9VanWalraven: Deprecated: calculate Van Walraven score from ICD-9 codes

icd_charlson: Calculate Charlson Comorbidity Index (Charlson Score)

icd_children: Get children of ICD codes

icd_children_defined: defined children of ICD codes

icd_classes_conflict: Check whether there are any ICD class conflicts

icd_classes_ordered: prefer an order of classes

icd_comorbid: Find comorbidities from ICD-9 codes.

icd_comorbid_df_to_mat: convert comorbidity matrix to data frame

icd_comorbid_mat_to_df: convert comorbidity data frame from matrix

icd_condense: Condense ICD-9 code by replacing complete families with...

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_decimal_to_parts: Convert decimal ICD codes to component parts

icd_decimal_to_short: Convert Decimal format ICD codes to short format

icd_deprecated: wrapper for '.Deprecated'

icd_diff_comorbid: show the difference between two comorbidity mappings

icd_expand_minor: expand decimal part of ICD-9 code to cover all possible...

icd_expand_range: take two ICD-9 codes and expand range to include all child...

icd_expand_range.icd10cm: Expand range of ICD-10 codes returning only defined codes in...

icd_expand_range_major: Expand major codes to range

icd_explain: Explain ICD-9 and ICD-10 codes in English

icd_explain_table: Explain ICD-9 and ICD-10 codes in English from decimal...

icd_explain_table_worker: generate table of ICD code explanations

icd_filter_poa: Filters data frame based on present-on-arrival flag

icd_filter_valid: Filter ICD codes by validity.

icd_get_billable: Get billable ICD codes

icd_get_defined: Select only defined ICD codes

icd_get_invalid: Get invalid ICD codes

icd_get_major: Get major part of an ICD code

icd_get_missing_kids: Find children of a code which are not in a given environment

icd_get_valid: invalid subset of decimal or short_code ICD-9 codes

icd_guess_pair_version: Guess the ICD version (9 or 10) from a pair of codes

icd_guess_short: Guess whether codes are 'short_code' or 'decimal_code'

icd_guess_short_update: Guess short vs decimal of ICD and update class

icd_guess_version: Guess version of ICD codes

icd_guess_version_update: Guess version of ICD and update class

icd_in_reference_code: match ICD9 codes

icd_is_billable: Determine whether codes are billable leaf-nodes

icd_is_defined: Check whether ICD-9 codes exist

icd_is_major: Check whether a code is major

icd_is_valid: Check whether ICD-9 codes are syntactically valid

icd_is_valid_major: Test whether an ICD code is major

icd_long_to_wide: Convert ICD data from long to wide format

icd_names_elix: Comorbidity names

icd-package: Tools for Working with ICD-9 and ICD-10 Codes, and Finding...

icd_parse_cc_hierarchy: Import CMS HCC Rules

icd_poa_choices: Present-on-admission flags

icd_short_to_decimal: Convert ICD codes from short to decimal forms

icd_short_to_parts: Convert short format ICD codes to component parts

icd_sort: Sort short-form ICD-9 codes

icd_update_everything: generate all package data

icd_van_walraven: Calculate van Walraven Elixhauser Score

icd_wide_to_long: Convert ICD data from wide to long format

is.icd9: test ICD-related classes

logical_to_binary: Encode 'TRUE' as 1, and 'FALSE' as 0 (integers)

my_test_check: run 'testtthat::test_check' with a Perl regular expression...

parse_leaf_desc_icd9cm_v27: Parse billable codes for ICD-9-CM version 27

parse_leaf_descriptions_all: Get billable codes from all available years

parse_rtf_lines: parse lines of RTF

parse_rtf_year: parse RTF description of entire ICD-9-CM for a specific year

print.icd_comorbidity_map: Print a comorbidity map

random_string: generate random strings

re_just: Limit a regular expression to just what is given

rtf_generate_fourth_lookup: generate look-up for four digit codes

rtf_lookup_fourth: apply fourth digit qualifiers

rtf_parse_fifth_digit_range: parse a row of RTF source data for ranges to apply fifth...

rtf_strip: Strip RTF

sas_extract_let_strings: Extract quoted or unquoted SAS string definitions

sas_format_extract: Extract assignments from a SAS FORMAT definition

sas_parse_assignments: Get assignments from a character string strings

save_in_data_dir: Save given variable in package data directory

set_full_test_options: Set test options to do everything

set_icd_class: Construct ICD-9 data types

setup_test_check: Set-up test options

shortcode_icd9: set 'icd_short_to_decimal' attribute

show_test_options: Show options which control testing

str_extract: str_extract replacement

strim: Trim leading and trailing white space from a single string

strip: Strip character(s) from character vector

str_pair_match: Match pairs of strings to get named vector

subset_icd: extract subset from ICD data

sub-sub-.icd_comorbidity_map: Extract vector of codes from an ICD comorbidity map

swap_names_vals: swap names and values of a vector

trim: Trim leading and trailing white space

unzip_single: unzip a single file from URL

unzip_to_data_raw: Unzip file to 'data-raw'

uranium_pathology: United States Transuranium & Uranium Registries

vermont_dx: Hospital discharge data from Vermont

Functions

ahrq Man page
ahrqComorbid Man page
ahrqComorbidNames Man page
ahrqComorbidNamesAbbrev Man page
ahrqComorbidNamesHtn Man page
ahrqComorbidNamesHtnAbbrev Man page
apply_hier Man page
apply_hier_ahrq Man page
apply_hier_elix Man page
apply_hier_quan_deyo Man page
apply_hier_quan_elix Man page
as_char_no_warn Man page
as.icd10 Man page
as.icd10cm Man page
as.icd9 Man page
as.icd9cm Man page
as.icd_comorbidity_map Man page
as.icd_decimal_diag Man page
as.icd_long_data Man page
as.icd_short_diag Man page
as.icd_wide_data Man page
.attr_decimal_diag Man page
.attr_short_diag Man page
.chapter_to_desc_range Man page
chapter_to_desc_range Man page
chapter_to_desc_range.icd10 Man page
chapter_to_desc_range.icd9 Man page
charlsonComorbidNames Man page
charlsonComorbidNamesAbbrev Man page
c.icd10 Man page
c.icd9 Man page
combine Man page
condense_explain_table Man page
condense_explain_table_worker Man page
convert Man page
cr Man page
download_to_data_raw Man page
elixComorbid Man page
elixComorbidNames Man page
elixComorbidNamesAbbrev Man page
elixComorbidNamesHtn Man page
elixComorbidNamesHtnAbbrev Man page
expand_range_worker Man page
expect_chap_equal Man page
expect_chap_present Man page
expect_equal_no_icd Man page
expect_icd10_chap_present Man page
expect_icd10_sub_chap_equal Man page
expect_icd10_sub_chap_present Man page
expect_icd9_chap_present Man page
expect_icd9_sub_chap_equal Man page
expect_icd9_sub_chap_present Man page
expect_icd_classes_ordered Man page
factor_nosort Man page
fastIntToStringRcpp Man page
fastIntToStringStd Man page
fetch_rtf_year Man page
fix_rtf_duplicates Man page
fix_rtf_quirks_2015 Man page
fixSubchapterNa Man page
fix_unicode Man page
generate_deprecated_data Man page
generate_random_decimal_icd9 Man page
generate_random_ordered_pts Man page
generate_random_pts Man page
generate_random_short_ahrq_icd9 Man page
generate_random_short_icd10cm_bill Man page
generate_random_short_icd9 Man page
generate_random_unordered_pts Man page
generate_spelling Man page
generate_sysdata Man page
generate_uranium_pathology Man page
generate_vermont_dx Man page
get_encodings Man page
get_non_ASCII Man page
get_visit_name Man page
\%i9d\% Man page
\%i9da\% Man page
\%i9in\% Man page
\%i9mj\% Man page
\%i9s\% Man page
\%i9sa\% Man page
icd Man page
icd10 Man page
[.icd10 Man page
[[.icd10 Man page
icd10_chapters Man page
icd10cm Man page
icd10cm2016 Man page
icd10cm_extract_sub_chapters Man page
icd10cm_get_all_defined Man page
icd10_comorbid Man page
icd10_comorbid_ahrq Man page
icd10_comorbid_elix Man page
icd10_comorbid_hcc Man page
icd10_comorbid_parent_search Man page
icd10_comorbid_parent_search_cpp Man page
icd10_comorbid_quan_deyo Man page
icd10_comorbid_quan_elix Man page
icd10_filter_invalid Man page
icd10_filter_valid Man page
icd10_generate_map_elix Man page
icd10_generate_map_quan_deyo Man page
icd10_generate_map_quan_elix Man page
icd10_map_ahrq Man page
icd10_map_cc Man page
icd10_map_elix Man page
icd10_map_quan_deyo Man page
icd10_map_quan_elix Man page
icd10-package Man page
icd10_parse_cc Man page
icd10_sub_chapters Man page
icd9 Man page
[.icd9 Man page
[[.icd9 Man page
icd9_add_leading_zeroes_cpp Man page
icd9Billable Man page
icd9_chapters Man page
icd9Chapters Man page
icd9ChaptersMajor Man page
icd9ChaptersSub Man page
icd9_chapters_to_map Man page
icd9Charlson Man page
icd9CharlsonComorbid Man page
icd9Charlson.data.frame Man page
icd9Children Man page
icd9ChildrenDecimal Man page
icd9ChildrenShort Man page
icd9cm Man page
icd9cm_billable Man page
icd9cm_generate_chapters_hierarchy Man page
icd9cm_get_billable Man page
icd9cm_hierarchy Man page
icd9cm_latest_edition Man page
icd9_comorbid Man page
icd9Comorbid Man page
icd9_comorbid_ahrq Man page
icd9ComorbidAhrq Man page
icd9ComorbidDfToMat Man page
icd9_comorbid_elix Man page
icd9ComorbidElix Man page
icd9_comorbid_hcc Man page
icd9Comorbidities Man page
icd9ComorbiditiesAhrq Man page
icd9ComorbiditiesElixHauser Man page
icd9ComorbiditiesQuanDeyo Man page
icd9ComorbiditiesQuanElixhauser Man page
icd9ComorbidMatToDf Man page
icd9_comorbid_quan_deyo Man page
icd9ComorbidQuanDeyo Man page
icd9_comorbid_quan_elix Man page
icd9ComorbidQuanElix Man page
icd9ComorbidQuanElixhauser Man page
icd9ComorbidShort Man page
icd9ComorbidShortCpp Man page
icd9Condense Man page
icd9_condense_decimal Man page
icd9CondenseDecimal Man page
icd9_condense_short Man page
icd9CondenseShort Man page
icd9Count Man page
icd9CountComorbidBin Man page
icd9CountWide Man page
icd9DecimalToParts Man page
icd9DecimalToPartsCpp Man page
icd9DecimalToShort Man page
icd9DiffComorbid Man page
icd9_drop_leading_zeroes Man page
icd9_drop_leading_zeroes_major Man page
icd9ExpandRange Man page
icd9_expand_range_decimal Man page
icd9ExpandRangeDecimal Man page
icd9ExpandRangeMajor Man page
icd9_expand_range_short Man page
icd9ExpandRangeShort Man page
icd9Explain Man page
icd9Explain.character Man page
icd9ExplainDecimal Man page
icd9Explain.list Man page
icd9Explain.numeric Man page
icd9ExplainShort Man page
icd9_extract_alpha_numeric Man page
icd9_fetch_ahrq_sas Man page
icd9_filter_invalid Man page
icd9FilterInvalid Man page
icd9FilterPoa Man page
icd9FilterPoaNo Man page
icd9FilterPoaNotNo Man page
icd9FilterPoaNotYes Man page
icd9FilterPoaYes Man page
icd9_filter_valid Man page
icd9FilterValid Man page
icd9_generate_map_elix Man page
icd9_generate_map_quan_elix Man page
icd9GetBillable Man page
icd9GetBillableDecimal Man page
icd9GetBillableShort Man page
icd9_get_chapters Man page
icd9GetChapters Man page
icd9GetInvalid Man page
icd9GetInvalidDecimal Man page
icd9GetInvalidMappingDecimal Man page
icd9GetInvalidMappingShort Man page
icd9GetInvalidShort Man page
icd9GetMajor Man page
icd9GetNonBillable Man page
icd9GetNonBillableDecimal Man page
icd9GetNonBillableShort Man page
icd9GetReal Man page
icd9GetRealDecimal Man page
icd9GetRealShort Man page
icd9GetValid Man page
icd9GetValidDecimal Man page
icd9GetValidShort Man page
icd9Hierarchy Man page
icd9IsBillable Man page
icd9IsBillableDecimal Man page
icd9IsBillableShort Man page
icd9_is_e Man page
icd9IsE Man page
icd9_is_e_cpp Man page
icd9IsMajor Man page
icd9_is_n Man page
icd9IsN Man page
icd9_is_n_cpp Man page
icd9IsReal Man page
icd9IsRealDecimal Man page
icd9IsRealShort Man page
icd9_is_v Man page
icd9IsV Man page
icd9IsValid Man page
icd9IsValidDecimal Man page
icd9IsValidDecimalE Man page
icd9IsValidDecimalN Man page
icd9IsValidDecimalV Man page
icd9IsValidMajor Man page
icd9_is_valid_major_e Man page
icd9IsValidMajorE Man page
icd9_is_valid_major_n Man page
icd9IsValidMajorN Man page
icd9_is_valid_major_v Man page
icd9IsValidMajorV Man page
icd9IsValidMapping Man page
icd9IsValidMappingDecimal Man page
icd9IsValidMappingShort Man page
icd9IsValidShort Man page
icd9IsValidShortE Man page
icd9IsValidShortN Man page
icd9IsValidShortV Man page
icd9_is_v_cpp Man page
icd9LongToWide Man page
icd9MajMinToCode Man page
icd9_majors Man page
icd9_map_ahrq Man page
icd9_map_cc Man page
icd9_map_elix Man page
icd9_map_hcc Man page
icd9_map_quan_deyo Man page
icd9_map_quan_elix Man page
icd9_order_short Man page
icd9-package Man page
icd9_parse_ahrq_sas Man page
icd9_parse_cc Man page
icd9_parse_leaf_desc_ver Man page
icd9_parse_quan_deyo_sas Man page
icd9PartsToDecimal Man page
icd9PartsToShort Man page
icd9PoaChoices Man page
icd9RandomShort Man page
icd9RandomShortE Man page
icd9RandomShortN Man page
icd9RandomShortV Man page
icd9ShortToDecimal Man page
icd9ShortToParts Man page
icd9ShortToPartsCpp Man page
icd9Sort Man page
icd9SortDecimal Man page
icd9SortShort Man page
icd9_sub_chapters Man page
icd9Valid Man page
icd9ValidDecimal Man page
icd9ValidShort Man page
icd9VanWalraven Man page
icd9VanWalravenComorbid Man page
icd9WideToLong Man page
icd_charlson Man page
icd_charlson.data.frame Man page
icd_charlson_from_comorbid Man page
icd_children Man page
icd_children.character Man page
icd_children_defined Man page
icd_children_defined.icd10cm Man page
icd_children.icd10 Man page
icd_children.icd10cm Man page
icd_children.icd9 Man page
icd_classes_conflict Man page
icd_classes_ordered Man page
icd_comorbid Man page
icd_comorbid_ahrq Man page
icd_comorbid_common Man page
icd_comorbid_df_to_mat Man page
icd_comorbid_elix Man page
icd_comorbid_hcc Man page
[[.icd_comorbidity_map Man page
icd_comorbidity_map Man page
icd_comorbid_mat_to_df Man page
icd_comorbid_quan_deyo Man page
icd_comorbid_quan_elix Man page
icd_condense Man page
icd_condense.character Man page
icd_count_codes Man page
icd_count_codes_wide Man page
icd_count_comorbid Man page
icd_decimal_to_parts Man page
icd_decimal_to_parts.character Man page
icd_decimal_to_parts.icd10 Man page
icd_decimal_to_parts.icd9 Man page
icd_decimal_to_short Man page
icd_decimal_to_short.default Man page
icd_deprecated Man page
icd_diff_comorbid Man page
icd_diff_comorbid.list Man page
icd_expand_minor Man page
icd_expand_range Man page
icd_expand_range.character Man page
icd_expand_range.icd10cm Man page
icd_expand_range.icd9 Man page
icd_expand_range_major Man page
icd_expand_range_major.default Man page
icd_expand_range_major.icd10cm Man page
icd_expand_range_major.icd9 Man page
icd_explain Man page
icd_explain.default Man page
icd_explain.icd10 Man page
icd_explain.icd9 Man page
icd_explain.icd9cm Man page
icd_explain.list Man page
icd_explain_table Man page
icd_explain_table.default Man page
icd_explain_table.icd10 Man page
icd_explain_table.icd10cm Man page
icd_explain_table.icd9 Man page
icd_explain_table.icd9cm Man page
icd_explain_table_worker Man page
icd_filter_invalid Man page
icd_filter_poa Man page
icd_filter_poa_no Man page
icd_filter_poa_not_no Man page
icd_filter_poa_not_yes Man page
icd_filter_poa_yes Man page
icd_filter_valid Man page
icd_get_billable Man page
icd_get_billable.default Man page
icd_get_billable.icd10 Man page
icd_get_billable.icd10cm Man page
icd_get_billable.icd9 Man page
icd_get_billable.icd9cm Man page
icd_get_defined Man page
icd_get_invalid Man page
icd_get_invalid.default Man page
icd_get_invalid.icd10 Man page
icd_get_invalid.icd9 Man page
icd_get_invalid.icd_comorbidity_map Man page
icd_get_major Man page
icd_get_major.icd10 Man page
icd_get_major.icd9 Man page
icd_get_missing_kids Man page
icd_get_valid Man page
icd_get_valid.character Man page
icd_get_valid.icd10 Man page
icd_get_valid.icd10cm Man page
icd_get_valid.icd9 Man page
icd_guess_pair_version Man page
icd_guess_short Man page
icd_guess_short_update Man page
icd_guess_version Man page
icd_guess_version.character Man page
icd_guess_version.data.frame Man page
icd_guess_version.factor Man page
icd_guess_version.icd10 Man page
icd_guess_version.icd9 Man page
icd_guess_version_update Man page
icd_in_reference_code Man page
icd_is_billable Man page
icd_is_billable.default Man page
icd_is_billable.icd10 Man page
icd_is_billable.icd10cm Man page
icd_is_billable.icd9 Man page
icd_is_billable.icd9cm Man page
icd_is_defined Man page
icd_is_defined.default Man page
icd_is_defined.icd10 Man page
icd_is_defined.icd10cm Man page
icd_is_defined.icd9 Man page
icd_is_major Man page
icd_is_major.default Man page
icd_is_major.icd10 Man page
icd_is_major.icd10cm Man page
icd_is_major.icd9 Man page
icd_is_valid Man page
icd_is_valid.default Man page
icd_is_valid.icd10 Man page
icd_is_valid.icd9 Man page
icd_is_valid.icd_comorbidity_map Man page
icd_is_valid_major Man page
icd_is_valid_major.default Man page
icd_is_valid_major.icd10 Man page
icd_is_valid_major.icd9 Man page
icd_long_data Man page
icd_long_to_wide Man page
icd_map_cc_hcc Man page
icd_names_ahrq Man page
icd_names_ahrq_abbrev Man page
icd_names_ahrq_htn Man page
icd_names_ahrq_htn_abbrev Man page
icd_names_cc Man page
icd_names_charlson Man page
icd_names_charlson_abbrev Man page
icd_names_elix Man page
icd_names_elix_abbrev Man page
icd_names_elix_htn Man page
icd_names_elix_htn_abbrev Man page
icd_names_quan_elix Man page
icd_names_quan_elix_abbrev Man page
icd_names_quan_elix_htn Man page
icd_names_quan_elix_htn_abbrev Man page
icd-package Man page
icd_parse_cc_hierarchy Man page
icd_poa_choices Man page
icd_short_to_decimal Man page
icd_short_to_decimal.default Man page
icd_short_to_decimal.icd10 Man page
icd_short_to_decimal.icd10cm Man page
icd_short_to_decimal.icd9 Man page
icd_short_to_parts Man page
icd_short_to_parts.character Man page
icd_short_to_parts.icd10 Man page
icd_short_to_parts.icd9 Man page
icd_sort Man page
icd_sort.default Man page
icd_sort.icd10 Man page
icd_sort.icd9 Man page
icd_update_everything Man page
icd_van_walraven Man page
icd_van_walraven.data.frame Man page
icd_van_walraven_from_comorbid Man page
icd_wide_data Man page
icd_wide_to_long Man page
is.icd10 Man page
is.icd10cm Man page
is.icd9 Man page
is.icd9cm Man page
is.icd_comorbidity_map Man page
is.icd_decimal_diag Man page
is.icd_long_data Man page
is.icd_short_diag Man page
is.icd_wide_data Man page
is_non_ASCII Man page
logical_to_binary Man page
my_test_check Man page
package-icd10 Man page
package-icd9 Man page
parse_leaf_desc_icd9cm_v27 Man page
parse_leaf_descriptions_all Man page
parse_rtf_lines Man page
parse_rtf_year Man page
print.icd_comorbidity_map Man page
quanDeyoComorbid Man page
quanElixComorbid Man page
quanElixComorbidNames Man page
quanElixComorbidNamesAbbrev Man page
quanElixComorbidNamesHtn Man page
quanElixComorbidNamesHtnAbbrev Man page
random_string Man page
re_just Man page
re_just_ws Man page
re_wrap_or Man page
rtf_generate_fourth_lookup Man page
rtf_lookup_fourth Man page
rtf_parse_fifth_digit_range Man page
rtf_strip Man page
sas_extract_let_strings Man page
sas_format_extract Man page
sas_format_extract_rcomfmt Man page
sas_parse_assignments Man page
save_in_data_dir Man page
set_full_test_options Man page
set_icd_class Man page
setup_test_check Man page
shortcode_icd10 Man page
shortcode_icd9 Man page
show_test_options Man page
str_extract Man page
strim Man page
strip Man page
str_pair_match Man page
subset_icd Man page
swap_names_vals Man page
trim Man page
unzip_single Man page
unzip_to_data_raw Man page
uranium_pathology Man page
vermont_dx Man page

Files

icd
icd/COPYING
icd/inst
icd/inst/COPYING
icd/inst/COPYRIGHTS
icd/inst/doc
icd/inst/doc/icd-10.Rmd
icd/inst/doc/icd-10.html
icd/inst/doc/Charlson_and_other_scores.Rmd
icd/inst/doc/introduction.R
icd/inst/doc/Charlson_and_other_scores.html
icd/inst/doc/introduction.html
icd/inst/doc/Charlson_and_other_scores.R
icd/inst/doc/icd-10.R
icd/inst/doc/introduction.Rmd
icd/inst/include
icd/inst/include/icd_RcppExports.h
icd/inst/include/icd.h
icd/tests
icd/tests/test-current-only-comorbid.R
icd/tests/test-deprecated.R
icd/tests/test-current-no-comorbid.R
icd/tests/testthat
icd/tests/testthat/test-current-longtowide.R
icd/tests/testthat/test-deprecated-util.R
icd/tests/testthat/test-deprecated-comorbid.R
icd/tests/testthat/helper-icd10.R
icd/tests/testthat/helper-deprecated.R
icd/tests/testthat/test-deprecated-openmp.R
icd/tests/testthat/test-current-comorbid-calcs-icd10.R
icd/tests/testthat/test-current-hierarchy.R
icd/tests/testthat/test-deprecated-valid.R
icd/tests/testthat/test-current-score.R
icd/tests/testthat/test-current-who-icd10.R
icd/tests/testthat/test-current-convert.R
icd/tests/testthat/test-deprecated-comorbid-calcs.R
icd/tests/testthat/test-current-ranges-icd10.R
icd/tests/testthat/test-deprecated-parse.R
icd/tests/testthat/test-current-comorbid-maps-icd9.R
icd/tests/testthat/test-current-sample-data.R
icd/tests/testthat/test-current-util.R
icd/tests/testthat/test-deprecated-condense.R
icd/tests/testthat/test-deprecated-convert.R
icd/tests/testthat/test-current-hcc.R
icd/tests/testthat/test-future-explain-icd10.R
icd/tests/testthat/test-current-sas.R
icd/tests/testthat/test-deprecated-score.R
icd/tests/testthat/test-current-explain-table.R
icd/tests/testthat/test-deprecated-LongToWide.R
icd/tests/testthat/test-current-parse-icd10.R
icd/tests/testthat/test-current-comorbid-calcs-icd9.R
icd/tests/testthat/test-current-valid-icd10.R
icd/tests/testthat/test-current-class.R
icd/tests/testthat/test-current-guess.R
icd/tests/testthat/test-current-ranges.R
icd/tests/testthat/test-current-valid.R
icd/tests/testthat/test-current-filter-icd10.R
icd/tests/testthat/test-current-cpp.R
icd/tests/testthat/test-current-examples.R
icd/tests/testthat/test-deprecated-manip.R
icd/tests/testthat/test-deprecated-ranges.R
icd/tests/testthat/test-current-is.R
icd/tests/testthat/test-current-manip.R
icd/tests/testthat/test-current-comorbid-maps-icd10.R
icd/tests/testthat/test-deprecated-filter.R
icd/tests/testthat/test-current-attr.R
icd/tests/testthat/test-current-condense.R
icd/tests/testthat/test-current-explain.R
icd/tests/testthat/test-deprecated-reshape.R
icd/tests/testthat/test-current-children-icd10.R
icd/tests/testthat/test-current-billable.R
icd/tests/testthat/test-deprecated-billable.R
icd/tests/testthat/test-current-lints.R
icd/tests/testthat/helper-base.R
icd/tests/testthat/test-current-parse.R
icd/tests/testthat/test-deprecated-explain.R
icd/tests/testthat/test-current-parse-icd9.R
icd/tests/testthat/test-current-openmp.R
icd/tests/testthat/test-deprecated-sas.R
icd/tests/testthat/test-current-spell.R
icd/tests/testthat/test-current-reshape.R
icd/tests/testthat/test-deprecated-hierarchy.R
icd/tests/testthat/test-current-filter-poa.R
icd/tests/testthat/test-deprecated-is.R
icd/src
icd/src/convert.cpp
icd/src/comorbidIcd10.cpp
icd/src/class.cpp
icd/src/comorbidIcd10.h
icd/src/ranges.cpp
icd/src/guess.cpp
icd/src/attr.h
icd/src/cutil.c
icd/src/config.h.win
icd/src/test-runner.cpp
icd/src/ranges.h
icd/src/config.h.in
icd/src/class.h
icd/src/is.h
icd/src/comorbidCommon.cpp
icd/src/longToWide.cpp
icd/src/manip.h
icd/src/attr.cpp
icd/src/convert_alt.cpp
icd/src/test-cpp.cpp
icd/src/comorbid.cpp
icd/src/manip_alt.cpp
icd/src/util.h
icd/src/Makevars.in
icd/src/Makevars.win64
icd/src/convert.h
icd/src/local.h
icd/src/guess.h
icd/src/util.cpp
icd/src/cutil.h
icd/src/children.cpp
icd/src/Makevars.win
icd/src/RcppExports.cpp
icd/src/manip.cpp
icd/src/comorbidSetup.cpp
icd/src/is.cpp
icd/NAMESPACE
icd/data
icd/data/mappingNames.rda
icd/data/icd9_map_cc.RData
icd/data/icd10cm2016.RData
icd/data/icd9_sub_chapters.RData
icd/data/deprecated.RData
icd/data/vermont_dx.RData
icd/data/icd9cm_billable.RData
icd/data/icd9_map_quan_elix.RData
icd/data/icd9ChaptersMajor.RData
icd/data/icd10_map_elix.RData
icd/data/icd10_map_cc.RData
icd/data/icd9cm_hierarchy.RData
icd/data/icd_map_cc_hcc.RData
icd/data/icd9_map_ahrq.RData
icd/data/icd10_map_quan_deyo.RData
icd/data/icd9ChaptersSub.RData
icd/data/icd10_map_quan_elix.RData
icd/data/datalist
icd/data/uranium_pathology.RData
icd/data/icd9_map_quan_deyo.RData
icd/data/icd10_map_ahrq.RData
icd/data/icd10_sub_chapters.RData
icd/data/icd9_map_elix.RData
icd/data/icd9Chapters.rda
icd/data/icd9_majors.RData
icd/R
icd/R/convert.R icd/R/parse-icd10cm-xml.R icd/R/explain.R icd/R/children.R icd/R/icd-package.R icd/R/generate_mappings.R icd/R/parse-rtf.R icd/R/manip.R icd/R/generate_deprecated_data.R
icd/R/sysdata.rda
icd/R/score.R icd/R/filter.R icd/R/sort.R icd/R/datadocs.R icd/R/valid.R icd/R/parse-comorbid.R icd/R/parse-icd10.R icd/R/RcppExports.R icd/R/deprecated.R icd/R/real.R icd/R/comorbid.R icd/R/parse.R icd/R/util-file.R icd/R/generate_spelling.R icd/R/condense.R icd/R/util.R icd/R/generate_sysdata.R icd/R/ranges.R icd/R/util-test.R icd/R/diff_comorbid.R icd/R/explain-table.R icd/R/sas.R icd/R/attr.R icd/R/class.R icd/R/print.icd_comorbidity_map.R icd/R/zzz.R icd/R/guess.R
icd/vignettes
icd/vignettes/icd-10.Rmd
icd/vignettes/Charlson_and_other_scores.Rmd
icd/vignettes/introduction.Rmd
icd/README.md
icd/MD5
icd/build
icd/build/vignette.rds
icd/DESCRIPTION
icd/configure
icd/man
icd/man/rtf_parse_fifth_digit_range.Rd icd/man/icd_filter_poa.Rd icd/man/icd9_add_leading_zeroes_cpp.Rd icd/man/icd9FilterValid.Rd icd/man/icd_get_defined.Rd icd/man/shortcode_icd9.Rd icd/man/rtf_generate_fourth_lookup.Rd icd/man/icd9Charlson.Rd icd/man/icd9GetValid.Rd icd/man/icd_decimal_to_short.Rd icd/man/icd9Condense.Rd icd/man/setup_test_check.Rd icd/man/icd9MajMinToCode.Rd icd/man/icd10_chapters.Rd icd/man/icd_long_to_wide.Rd icd/man/icd_guess_version.Rd icd/man/expect_chap_equal.Rd icd/man/print.icd_comorbidity_map.Rd icd/man/icd10cm_get_all_defined.Rd icd/man/strim.Rd icd/man/parse_leaf_descriptions_all.Rd icd/man/fix_unicode.Rd icd/man/icd9cm_hierarchy.Rd icd/man/icd10_sub_chapters.Rd icd/man/icd10cm2016.Rd icd/man/icd9IsBillable.Rd icd/man/icd_sort.Rd icd/man/icd_comorbid.Rd icd/man/icd9_extract_alpha_numeric.Rd icd/man/icd_get_major.Rd icd/man/cr.Rd icd/man/icd9_map_elix.Rd icd/man/icd_short_to_decimal.Rd icd/man/generate_sysdata.Rd icd/man/icd_count_comorbid.Rd icd/man/generate_vermont_dx.Rd icd/man/combine.Rd icd/man/fixSubchapterNa.Rd icd/man/expand_range_worker.Rd icd/man/icd9_is_n.Rd icd/man/icd9_get_chapters.Rd icd/man/icd_van_walraven.Rd icd/man/get_visit_name.Rd icd/man/apply_hier.Rd icd/man/icd_is_major.Rd icd/man/sub-sub-.icd_comorbidity_map.Rd icd/man/unzip_to_data_raw.Rd icd/man/icd_get_missing_kids.Rd icd/man/icd_decimal_to_parts.Rd icd/man/rtf_strip.Rd icd/man/icd_classes_ordered.Rd icd/man/icd_explain.Rd icd/man/generate_deprecated_data.Rd icd/man/icd9DiffComorbid.Rd icd/man/as.icd_short_diag.Rd icd/man/icd9_order_short.Rd icd/man/strip.Rd icd/man/icd9_chapters_to_map.Rd icd/man/is.icd9.Rd icd/man/icd9_fetch_ahrq_sas.Rd icd/man/icd_is_defined.Rd icd/man/icd9_parse_quan_deyo_sas.Rd icd/man/icd9_drop_leading_zeroes.Rd icd/man/icd9RandomShort.Rd icd/man/icd_charlson.Rd icd/man/icd10_comorbid_parent_search.Rd icd/man/unzip_single.Rd icd/man/vermont_dx.Rd icd/man/icd_expand_range_major.Rd icd/man/icd9DecimalToParts.Rd icd/man/sas_extract_let_strings.Rd icd/man/icd_count_codes.Rd icd/man/icd10_parse_cc.Rd icd/man/icd9_map_quan_deyo.Rd icd/man/convert.Rd icd/man/icd_guess_short.Rd icd/man/uranium_pathology.Rd icd/man/icd9_map_quan_elix.Rd icd/man/icd9IsReal.Rd icd/man/icd_expand_minor.Rd icd/man/icd_guess_short_update.Rd icd/man/icd9GetChapters.Rd icd/man/icd_comorbid_df_to_mat.Rd icd/man/condense_explain_table.Rd icd/man/icd_comorbid_mat_to_df.Rd icd/man/icd9LongToWide.Rd icd/man/icd_classes_conflict.Rd icd/man/generate_random_short_icd10cm_bill.Rd icd/man/icd9Children.Rd icd/man/icd_is_billable.Rd icd/man/icd9ExpandRange.Rd icd/man/icd-package.Rd icd/man/icd_get_invalid.Rd icd/man/icd_guess_version_update.Rd icd/man/icd_expand_range.Rd icd/man/icd_filter_valid.Rd icd/man/icd_names_elix.Rd icd/man/icd_children_defined.Rd icd/man/icd9VanWalraven.Rd icd/man/icd10_generate_map_quan_elix.Rd icd/man/icd_wide_to_long.Rd icd/man/swap_names_vals.Rd icd/man/icd_deprecated.Rd icd/man/icd10_generate_map_quan_deyo.Rd icd/man/icd9IsValidMapping.Rd icd/man/icd_get_billable.Rd icd/man/expect_chap_present.Rd icd/man/icd9cm_get_billable.Rd icd/man/icd9ComorbidMatToDf.Rd icd/man/generate_uranium_pathology.Rd icd/man/expect_equal_no_icd.Rd icd/man/icd9_parse_leaf_desc_ver.Rd icd/man/as_char_no_warn.Rd icd/man/icd9_generate_map_quan_elix.Rd icd/man/icd9_map_ahrq.Rd icd/man/show_test_options.Rd icd/man/subset_icd.Rd icd/man/set_icd_class.Rd icd/man/icd_children.Rd icd/man/parse_rtf_lines.Rd icd/man/condense_explain_table_worker.Rd icd/man/icd_poa_choices.Rd icd/man/random_string.Rd icd/man/icd9_parse_cc.Rd icd/man/set_full_test_options.Rd icd/man/parse_leaf_desc_icd9cm_v27.Rd icd/man/icd9_parse_ahrq_sas.Rd icd/man/icd9_chapters.Rd icd/man/icd9Comorbid.Rd icd/man/generate_spelling.Rd icd/man/trim.Rd icd/man/generate_random_short_icd9.Rd icd/man/icd9Valid.Rd icd/man/icd9cm_latest_edition.Rd icd/man/icd9GetMajor.Rd icd/man/my_test_check.Rd icd/man/factor_nosort.Rd icd/man/get_non_ASCII.Rd icd/man/fastIntToString.Rd icd/man/icd_short_to_parts.Rd icd/man/icd_count_codes_wide.Rd icd/man/icd9_map_hcc.Rd icd/man/str_extract.Rd icd/man/icd_parse_cc_hierarchy.Rd icd/man/icd9cm_billable.Rd icd/man/icd9_generate_map_elix.Rd icd/man/icd_condense.Rd icd/man/icd_explain_table_worker.Rd icd/man/icd_is_valid.Rd icd/man/icd_expand_range.icd10cm.Rd icd/man/chapter_to_desc_range.Rd icd/man/icd10_comorbid_parent_search_cpp.Rd icd/man/icd_guess_pair_version.Rd icd/man/fetch_rtf_year.Rd icd/man/sas_parse_assignments.Rd icd/man/logical_to_binary.Rd icd/man/save_in_data_dir.Rd icd/man/re_just.Rd icd/man/icd10cm_extract_sub_chapters.Rd icd/man/str_pair_match.Rd icd/man/fix_rtf_quirks_2015.Rd icd/man/icd_in_reference_code.Rd icd/man/parse_rtf_year.Rd icd/man/icd_get_valid.Rd icd/man/rtf_lookup_fourth.Rd icd/man/icd9Sort.Rd icd/man/icd9IsN.Rd icd/man/icd9Explain.Rd icd/man/icd9_is_n_cpp.Rd icd/man/icd_update_everything.Rd icd/man/sas_format_extract.Rd icd/man/icd_diff_comorbid.Rd icd/man/icd9Count.Rd icd/man/icd9cm_generate_chapters_hierarchy.Rd icd/man/icd_explain_table.Rd icd/man/fix_rtf_duplicates.Rd icd/man/icd_is_valid_major.Rd
icd/configure.win
icd/cleanup
icd/.Rinstignore

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.