Skip to contents

Get the names of all International Classification of Diseases (ICD) 10 codes

Usage

availableICD10(cdm, level = c("ICD10 Chapter", "ICD10 SubChapter"))

Arguments

cdm

A cdm reference via CDMConnector.

level

Can be either "ICD10 Chapter", "ICD10 SubChapter", "ICD10 Hierarchy", or "ICD10 Code".

Value

A vector containing the names of all ICD-10 codes for the chosen level(s) found in the concept table of cdm.

Examples

# \donttest{
cdm <- mockVocabRef()
#> Warning: There are observation period end dates after the current date: 2025-04-11
#>  The latest max observation period end date found is 2025-12-31
availableICD10(cdm)
#> [1] "Diseases of the musculoskeletal system and connective tissue"
#> [2] "Arthropathies"                                               
# }