the chapter headings can be converted into the full set of their children,
and then used to look-up which chapter, sub-chapter, or 'major' a given code
belongs. Always returns a map with short-form ICD-9 codes. These can be
converted in bulk with lapply
and icd_short_to_decimal
.
icd9_chapters_to_map(x)
Either a chapter list itself, or the name of one, e.g.
icd9_sub_chapters
Other ICD-9 convert: icd9PartsToShort
,
icd9_drop_leading_zeroes
,
icd_long_to_wide
,
icd_wide_to_long