This usually just entails removing the decimal point, but also does some limited validation and tidying up.
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)
icd_decimal_to_short.default(...)
icd_decimal_to_short.icd10(...)
icd_decimal_to_short.icd10cm(...)
icd_decimal_to_short.icd9(...)
icd_decimal_to_short(...)
ICD codes
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