load_inpatient_diagnoses | R Documentation |
Load records of clinical diagnoses into the
warehouse along with an ICD-10 reference table (`reference_icd`
).
In addition, this function automatically generates derived ICD-10 look up
tables for comorbidities (`reference_icd_comorbidity`
),
infection indications, (`reference_icd_infections`
), and the ccs
(`reference_icd_ccs`
and `reference_icd_ccsr`
).
load_inpatient_diagnoses(
conn,
diagnoses_data,
diagnoses_lookup,
overwrite = FALSE
)
conn |
a database connection |
diagnoses_data |
a data frame validated with
|
diagnoses_lookup |
a data frame containing an ICD-10 reference lookup table |
overwrite |
if |
validate_inpatient_episodes()
,
map_infections_abx_indications()
,
map_charlson_comorbidities()
,
map_ICD10_CCS()
,
map_ICD10_CCSR()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.