decimal_to_short: Convert Decimal format ICD codes to short format

Description Usage Arguments Methods (by class) See Also

View source: R/convert.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
decimal_to_short(x)

## S3 method for class 'icd9'
decimal_to_short(x)

## S3 method for class 'icd10'
decimal_to_short(x)

## S3 method for class 'icd10cm'
decimal_to_short(x)

## Default S3 method:
decimal_to_short(x)

Arguments

x

ICD codes

Methods (by class)

See Also

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


icd documentation built on July 2, 2020, 4:07 a.m.