icd_lookup {ICD10gm} | R Documentation |
Lookup an ICD-10 code in R
Description
This is a convenience function to quickly look up the label associated with one or more ICD-10 codes. By default, it performs the lookup using the most recent version of the ICD-10-GM available.
Usage
icd_lookup(icd, year = NULL, expand = TRUE)
Arguments
icd |
ICD code to look up (any format that can be recognised by |
year |
ICD-10-GM version to use (Default: most recent year available) |
expand |
Should all subcodes of the given code be returned? (Default: TRUE) |
Details
This is a convenience function intended for interactive use. The browser will only be opened if R is being used interactively. The function always returns invisibly the URL of the page to be opened.
Value
A tibble with three columns: (year, icd_sub, label) and one row for each result
See Also
icd_search()
to search for a string in the ICD-10-GM labels
icd_browse()
to lookup an ICD-10-GM code in the official BfArM documentation, opening the page in a browser
Examples
icd_lookup("E10.9")