A utility function to query the icd_meta_transition table.
Usage
get_icd_history(years = NULL, icd3 = NULL)
Value
data.frame, see icd_hist
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.