View source: R/chars_functions.R
chars_icd_ccs | R Documentation |
chars_icd_ccs_count
A function to view the complete list of ICD-9-CM OR ICD-10-CM codes and descriptions as well as corresponding 'broad' and 'detailed' classifications. The 'broad' and 'detailed' classifications broadly follow AHRQ's HCUP Clinical Classifications Software Refined (CCSR) standards for ICD-10-CM. ICD-9-CM codes were then mapped to the same 'broad' and 'detailed' categories to maximize comparability across time. The 'superlevel' and 'midlevel' categorizations were developed by APDE, based in large part on the 'broad' and 'detailed' classifications.
Output is provided in the form of a table. Use this table to inform your
arguments in the chars_icd_ccs_count
function.
chars_icd_ccs(ref_type = "all", mykey = "hhsaw", icdcm_version = 10)
ref_type |
a character vector of length one specifying the hospital diagnosis
descriptions that are of interest to you. Acceptable options include: The default is |
mykey |
Character vector of length 1. Identifies the keyring:: service that can be used to access the Health & Human Services Analytic Workspace (HHSAW). The default is |
icdcm_version |
an integer vector of length one specifying the ICD CM
version that you want to reference. Acceptable options include: The default is |
A data.table. The number of rows and columns are dependent upon the arguments submitted to the function.
If you do not specify any arguments, the function will return a table with all ICD-10-CM codes as well ICD-10-CM, superlevel, broad, midlevel, and detailed descriptions.
kcitazrhpasqlprp16.azds.kingcounty.gov >> hhs_analytics_workspace >>
ref.icdcm_codes
https://hcup-us.ahrq.gov/toolssoftware/ccsr/ccs_refined.jsp
# Save and view table as a data.table named 'blah'
blah <- chars_icd_ccs(ref_type = 'all')
head(blah)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.