View source: R/build_db_functions.R
get_dx_dates | R Documentation |
This function is a wrapper around 'get_dx9_dates()' and 'get_dx10_dates()'
get_dx_dates(setting, source, year, dx9_list, dx10_list, con, collect_n = 10)
setting |
"inpatient", "outpatient", "rx" |
source |
"ccae" or "mdcr" or c("ccae","mdcr") |
year |
vector of years to collect. Note: if no argument is provided all years will be selected |
dx9_list |
vector of ICD-9 diagnoses to pull visits for |
dx10_list |
vector of ICD-10 diagnoses to pull visits for |
con |
a database connection |
collect_n |
number of rows to collect |
A list containing three tibbles (timemap, outpatient keys, and inpatient keys)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.