A named list, with each element containing the corresponding
standard codes (and descendants) of ICD chapters and sub-chapters.
Arguments
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
"{concept_code}","{concept_id}", "{concept_name}", or a combination (i.e.,
"{concept_code}_{concept_name}").
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.