View source: R/chars_functions.R
chars_injury_matrix | R Documentation |
Function to view all combinations of the Comprehensive Hospital Abstract Reporting System (CHARS) Injury Matrix mechanisms and intents available in rads.
Generates a table with two columns, mechanism
& intent
.
Use it to identify the combinations of mechanism
& intent
that
you want to use in chars_injury_matrix_count
.
chars_injury_matrix()
This function provides the terms used by the hospitalization function
chars_injury_matrix_count
and may not be the same as those used with
death_injury_matrix_count
.
A data.table with two columns: mechanism
& intent
. The number
of rows are determined dynamically by scanning the data available in SQL.
This function does not take any arguments.
This function will return all available categories, some of which are specific to ICD9-cm (2012-2015) and some of which are specific to ICD10-cm (2016+).
Derived from columns beginning with mechanism_
and intent_
in
Azure Server 16 (chars.final_analytic) that were created during the CHARS
ETL process.
# Save and view table as a data.table named 'blah'
blah <- chars_injury_matrix()
print(blah)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.