Learn R Programming

icd (version 3.3)

icd9_get_chapters: get ICD-9 Chapters from vector of ICD-9 codes

Description

This runs quite slowly. Used too rarely to be worth optimizing now. This is used to build a master list of ICD-9 codes with their respective chapters, sub-chapters, etc..

Usage

icd9_get_chapters(x, short_code = guess_short(x), verbose = FALSE)

Arguments

x

vector of ICD-9 codes

short_code

single logical value which determines whether the ICD-9 code provided is in short (TRUE) or decimal (FALSE) form. Where reasonable, this is guessed from the input data.

verbose

single logical value, defaults to FALSE in most functions.