get_icd_history: Get ICD history metadata

Description Usage Arguments Details Value Examples

View source: R/data.R

Description

A utility function to query the icd_meta_transition table.

Usage

1
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

1
get_icd_history(years = 2009:2010, icd3 = "K52")

edonnachie/ICD documentation built on Dec. 10, 2019, 11:35 a.m.