Learn R Programming

icd (version 4.0.6)

set_icd10cm_active_year: Get or set the annual version of ICD-10-CM to use

Description

Get or set the annual version of ICD-10-CM to use

Usage

set_icd10cm_active_year(ver, check_exists = TRUE)

get_icd10cm_active_year()

Arguments

ver

Character vector of length one: the version of ICD-10-CM to use, corresponding to the suffix of the data.frame name, e.g., for 2019 ICD-10-CM, use "icd10cm2019" for Dutch 2014 ICD-CM translations, use "icd10cm2014_nl"

check_exists

TRUE by default, which forces a check that the requested version is actually available in this R session.