Learn R Programming

icd (version 2.2)

icd9_chapters_to_map: convert the chapter headings to lists of codes

Description

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.

Usage

icd9_chapters_to_map(x)

Arguments

x

Either a chapter list itself, or the name of one, e.g. icd9_sub_chapters

See Also

Other ICD-9 convert: icd9PartsToShort, icd9_drop_leading_zeroes, icd_long_to_wide, icd_wide_to_long