Learn R Programming

icd (version 3.3)

is.icd9: test ICD-related classes

Description

currently no checks on correctness of the classes for these functions

Usage

is.icd9(x)

is.icd10(x)

is.icd9cm(x)

is.icd10cm(x)

is.comorbidity_map(x)

is.icd_comorbidity_map(...)

Arguments

x

Any object which may have ICD-related classes set

...

arguments passed on to other functions

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.