inst/doc/pccc-icd-codes.R

## ---- include = FALSE----------------------------------------------------
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")


## ------------------------------------------------------------------------
library(pccc)

## ------------------------------------------------------------------------
get_codes(9)   # ICD-9-CM
get_codes(10)  # ICD-10-CM

## ------------------------------------------------------------------------
get_codes(9)["cvd", ]

## ------------------------------------------------------------------------
as.data.frame(get_codes(9))

## ------------------------------------------------------------------------
get_codes(9)["neuromusc", ]

## ------------------------------------------------------------------------
get_codes(10)["neuromusc", ]

## ------------------------------------------------------------------------
get_codes(9)["cvd", ]

## ------------------------------------------------------------------------
get_codes(10)["cvd", ]

## ------------------------------------------------------------------------
get_codes(9)["respiratory", ]

## ------------------------------------------------------------------------
get_codes(10)["respiratory", ]

## ------------------------------------------------------------------------
get_codes(9)["renal", ]

## ------------------------------------------------------------------------
get_codes(10)["renal", ]

## ------------------------------------------------------------------------
get_codes(9)["gi", ]

## ------------------------------------------------------------------------
get_codes(10)["gi", ]

## ------------------------------------------------------------------------
get_codes(9)["hemato_immu", ]

## ------------------------------------------------------------------------
get_codes(10)["hemato_immu", ]

## ------------------------------------------------------------------------
get_codes(9)["metabolic", ]

## ------------------------------------------------------------------------
get_codes(10)["metabolic", ]

## ------------------------------------------------------------------------
get_codes(9)["congeni_genetic", ]

## ------------------------------------------------------------------------
get_codes(10)["congeni_genetic", ]

## ------------------------------------------------------------------------
get_codes(9)["malignancy", ]

## ------------------------------------------------------------------------
get_codes(10)["malignancy", ]

## ------------------------------------------------------------------------
get_codes(9)["neonatal", ]

## ------------------------------------------------------------------------
get_codes(10)["neonatal", ]

## ------------------------------------------------------------------------
get_codes(9)["tech_dep", ]

## ------------------------------------------------------------------------
get_codes(10)["tech_dep", ]

## ------------------------------------------------------------------------
get_codes(9)["transplant", ]

## ------------------------------------------------------------------------
get_codes(10)["transplant", ]

Try the pccc package in your browser

Any scripts or data that you put into this service are public.

pccc documentation built on July 5, 2018, 1:04 a.m.