Learn R Programming

icd (version 4.0.9)

decimal_to_short: Convert Decimal format ICD codes to short format

Description

This usually just entails removing the decimal point, but also does some limited validation and tidying up. Missing leading zeroes will be added for correctness of the shortened codes.

Usage

decimal_to_short(x)

# S3 method for icd9 decimal_to_short(x)

# S3 method for icd10 decimal_to_short(x)

# S3 method for icd10cm decimal_to_short(x)

# S3 method for default decimal_to_short(x)

Arguments

x

ICD codes

Methods (by class)

  • icd9: convert ICD-9 codes from decimal to short format

  • icd10: convert ICD-10 codes from decimal to short format

  • icd10cm: convert ICD-10-CM codes from decimal to short format

  • default: Guess ICD version and convert decimal to short format

See Also

Other ICD data conversion: comorbid_df_to_mat(), comorbid_mat_to_df(), convert, long_to_wide(), short_to_decimal(), wide_to_long()