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

Description Usage Arguments

View source: R/explain.R

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

1
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.


icd documentation built on Aug. 19, 2018, 1:05 a.m.