explain_ccs | R Documentation |
Look up CCS category descriptions
explain_ccs(ccs, detailed = FALSE)
ccs |
Vector of CCS codes to be explained. Can be a mix of diagnosis and/or procedure CCS groups. |
detailed |
Single logical value which indicates if more details should
be returned. The default is |
# Explain the CCS for diagnosis categories
explain_ccs("DX37")
# The same function works for procedures
explain_ccsr("PR28")
# Vectorized using `mutate()`
library(dplyr)
dplyr::tibble(
CCS = c("DX37", "PR28", "PR-5.6", "DX-9.6.3"),
Type = c("DX", "PR", "PR", "DX")) %>%
mutate(explained = explain_ccs(CCS))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.