get_icd_history {ICD10gm} | R Documentation |
Get ICD history metadata
Description
A utility function to query the icd_meta_transition table.
Usage
get_icd_history(years = NULL, icd3 = NULL)
Arguments
years |
Year or years to get (numeric or character vector) |
icd3 |
(optional) ICD codes to select (regular expression, matched exactly using grep) |
Details
Returns a data frame with ICD transition history, consisting of year, ICD code and label. Optional arguments allow selection of entries by year or ICD code. This is beneficial because the entire history is relatively large and rarely required in full.
Value
data.frame, see icd_hist
Examples
get_icd_history(years = 2009:2010, icd3 = "K52")
[Package ICD10gm version 1.2.5 Index]