chars_injury_matrix: View available combinations of CHARS injury mechanisms and...

View source: R/chars_functions.R

chars_injury_matrixR Documentation

View available combinations of CHARS injury mechanisms and intents

Description

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.

Usage

chars_injury_matrix()

Details

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.

Value

A data.table with two columns: mechanism & intent. The number of rows are determined dynamically by scanning the data available in SQL.

Note

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+).

Source

Derived from columns beginning with mechanism_ and intent_ in Azure Server 16 (chars.final_analytic) that were created during the CHARS ETL process.

References

WA DOH CHAT: https://secureaccess.wa.gov/doh/chat/Content/FilesForDownload/CodeSetDefinitions/Hospitalization%20Injury%20Matrix%20ICD10CM.xlsx

Examples

# Save and view table as a data.table named 'blah'
blah <- chars_injury_matrix()
print(blah)


PHSKC-APDE/rads documentation built on April 14, 2025, 10:47 a.m.