View source: R/getICD10StandardCodes.R
getICD10StandardCodes | R Documentation |
Get corresponding standard codes for International Classification of Diseases (ICD) 10 codes
getICD10StandardCodes(
cdm,
level = c("ICD10 Chapter", "ICD10 SubChapter"),
name = NULL,
nameStyle = "{concept_code}_{concept_name}",
includeDescendants = TRUE,
type = "codelist"
)
cdm |
A cdm reference via CDMConnector. |
level |
Can be either "ICD10 Chapter", "ICD10 SubChapter", "ICD10 Hierarchy", or "ICD10 Code". |
name |
Name of chapter or sub-chapter of interest. If NULL, all will be considered. |
nameStyle |
Name style to apply to returned list. Can be one of
|
includeDescendants |
Either TRUE or FALSE. If TRUE descendant concepts of identified concepts will be included in the candidate codelist. If FALSE only direct mappings from ICD-10 codes to standard codes will be returned. |
type |
Can be "codelist" or "codelist_with_details". |
A named list, with each element containing the corresponding standard codes (and descendants) of ICD chapters and sub-chapters.
library(CodelistGenerator)
cdm <- mockVocabRef()
getICD10StandardCodes(cdm = cdm, level = c(
"ICD10 Chapter",
"ICD10 SubChapter"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.