Learn R Programming

icd (version 3.3)

short_to_decimal: Convert ICD codes from short to decimal forms

Description

Convert codes between short and decimal forms

Usage

short_to_decimal(x)

# S3 method for default short_to_decimal(x)

# S3 method for icd9 short_to_decimal(x)

# S3 method for icd10 short_to_decimal(x)

# S3 method for icd10cm short_to_decimal(x)

icd_short_to_decimal.default(...)

icd_short_to_decimal.icd10(...)

icd_short_to_decimal.icd10cm(...)

icd_short_to_decimal.icd9(...)

icd_sort(...)

icd_short_to_decimal(...)

Arguments

x

ICD codes

...

arguments passed on to other functions

...

arguments passed on to other functions

...

arguments passed on to other functions

Methods (by class)

  • default: convert ICD codes of unknown type from short to decimal format

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

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

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

Deprecated function names

Future versions of icd will drop the icd_ prefix. For example, charlson should be used in favor of icd_charlson. To distinguish icd function calls, consider using the prefix icd:: instead, e.g., icd::charlson. Functions which specifically operate on either ICD-9 or ICD-10 codes or their sub-types will retain the prefix. E.g. icd9_comorbid_ahrq. icd specific classes also retain the prefix, e.g., icd_wide_data.