powered by
Get corresponding standard codes for ICD-10 chapters and sub-chapters
getICD10StandardCodes( cdm, level = c("ICD10 Chapter", "ICD10 SubChapter"), name = NULL, includeDescendants = TRUE, type = "codelist" )
A named list, with each element containing the corresponding standard codes (and descendants) of ICD chapters and sub-chapters
cdm_reference via CDMConnector
Can be either "ICD10 Chapter" or "ICD10 SubChapter"
Name of chapter or sub-chapter of interest. If NULL, all will be considered.
If FALSE only direct mappings from ICD-10 codes to standard codes will be returned. If TRUE descendants of standard concepts will also be included.
Can be "codelist", "codelist_with_details", or "concept_set_expression"
# \donttest{ cdm <- mockVocabRef() getICD10StandardCodes(cdm = cdm, level = c( "ICD10 Chapter", "ICD10 SubChapter" )) # }
Run the code above in your browser using DataLab