with_icd10cm_version: Evaluate code with a particular version of ICD-10-CM

Description Usage Arguments Examples

View source: R/icd-cm-ver.R

Description

Temporarily sets and restores the option icd.icd10cm_active_year, analogous to functions in withr.

Usage

1

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"

code

Code block to execute, may be in braces, or a single statement without braces.

Examples

1
2

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