Skip to contents

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 icd_parse)

year

ICD-10-GM version to use (Default: most recent year available)

expand

Should all subcodes of the given code be returned? (Default: TRUE)

Value

A tibble with three columns: (year, icd_sub, label) and one row for each result

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.

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")
#>   year icd_sub
#> 1 2023    E109
#> 2 2023   E1090
#> 3 2023   E1091
#>                                                                           label
#> 1                                 Diabetes mellitus, Typ 1: Ohne Komplikationen
#> 2 Diabetes mellitus, Typ 1: Ohne Komplikationen: Nicht als entgleist bezeichnet
#> 3       Diabetes mellitus, Typ 1: Ohne Komplikationen: Als entgleist bezeichnet