Load episodes of care records into the warehouse
load_inpatient_episodes(
conn,
patients_data,
episodes_data,
wards_data = NULL,
overwrite = TRUE
)
a database connection
a data frame validated with
validate_inpatient_episodes()
a data frame validated with
validate_inpatient_episodes()
a data frame validated with
validate_inpatient_episodes()
if TRUE
(the default), will overwrite any existing
inpatient_episodes
database table