Description Usage Arguments Value Examples
Use date to apply ICD-9_CM intent criteria to pre fiscal year 2016 and ICD-10-CM criteria to the rest.
1 | od_intent_trans(data, diag_ecode_col, date)
|
diag_ecode_col |
numeric vector of the selected diagnosis and E codes |
data: |
input data |
date: |
date of discharge |
intent_drugs with values 1, 2, 3, 4 for unintentional, self-harm, assault and undetermined
1 | #' od_intent_trans(diag_ecode_col = c(3, 6), date = discharge_date) %>% select(-age, -diagnosis_2, -diagnosis_3, -ecode2, -year) %>% sample_n(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.