Learn R Programming

icd (version 3.3)

rtf_parse_year: parse RTF description of entire ICD-9-CM for a specific year

Description

Currently only the most recent update is implemented. Note that CMS have published additional ICD-9-CM billable code lists since the last one from the CDC: I think these have been the same every year since 2011, though. The last CDC release is Dtab12.rtf from 2011.

Usage

rtf_parse_year(year = "2011", ..., save_data = FALSE,
  verbose = FALSE, offline = TRUE)

Arguments

year

from 1996 to 2012 (this is what CDC has published). Only 2012 implemented thus far

save_data

single logical value, if TRUE will save the generated data

verbose

single logical value, defaults to FALSE in most functions.

Details

The file itself is 7 bit ASCII, but has its own internal encoding using 'CP1252.' Test 'Meniere's' disease with lines 24821 to 24822 from 2012 RTF