Skip to contents

Get all ICD codes from the cdm

Usage

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

Arguments

cdm

cdm_reference via CDMConnector

level

Can be either "ICD10 Chapter" or "ICD10 SubChapter"

Value

A vector list of all ICD10 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-02-19
#>  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"                                               
# }