Skip to contents

Interactive lookup

Convenience functions to search for and look up ICD-10-GM codes

icd_lookup()
Lookup an ICD-10 code in R
icd_browse()
Lookup a 3-digit ICD-10-GM code in the official BfArM browser
icd_search()
Search ICD-10-GM labels for a string

ICD-10-GM Metadata

Data frames containing the underlying ICD-10-GM metadata and utility functions to perform common queries.

icd_meta_codes
data.frame containing metadata for all ICD-10-GM codes
icd_meta_blocks
data.frame containing metadata for the ICD-10-GM code blocks
icd_meta_chapters
data.frame containing metadata for the ICD-10-GM chapters
icd_meta_transition
data.frame detailling the changes in ICD-10-GM codes between versions
get_icd_labels()
Get or query ICD-10 labels
get_icd_history()
Get ICD history metadata
icd_showchanges()
Show historical changes to selected ICD-10-GM codes
icd_showchanges_icd3()
Show historical changes to selected three-digit ICD-10-GM codes

Specification

Specify and historize ICD-10 codes.

icd_expand()
Expand list of ICD codes to include all possible subcodes
icd_history()
Historize a list of ICD codes to cover the specified years

Parsing

Parsing and testing for ICD-10 codes

icd_parse()
Extract all ICD codes from a character vector
is_icd_code()
Test whether a string is a valid ICD code

Comorbidity Groupers

Specification of various comorbidity groupers

charlson_rcs
Charlson Comorbidities (Royal College of Surgeons)
charlson_sundararajan
Charlson Comorbidities (Sundararajan)