This merely checks whether the given object is a certain type of ICD code, it does no validation of any kind. For validation, see is_valid.

is.icd9(x)

is.icd9cm(x)

is.icd9cm_pc(x)

is.icd9who(x)

is.icd10(x)

is.icd10cm(x)

is.icd10cm_pc(x)

is.icd10who(x)

is.icd10fr(x)

is.icd10be(x)

is.comorbidity_map(x)

Arguments

x

Any object which may have ICD-related classes set

Examples

# A character string is not itself an ICD code is.icd9("100.1")
#> [1] FALSE
is_valid("100.1")
#> [1] TRUE
is.icd9(as.icd9cm("100.1"))
#> [1] TRUE