readmission | R Documentation |
using facility claim data, left join by member id
readmission( original_data, std_data_root = wd$std_data_root, fac_clm_folder = "fac_clm", emergent_admission_medpar_claim_ids, year = 2007, max_year = 2018 )
original_data |
data to add on |
std_data_root |
data path to the standardized data folder |
fac_clm_folder |
facility claim folder name |
emergent_admission_medpar_claim_ids |
a list of all emergent MedPAR admission claim IDs |
year |
select one year to process, e.g. 2007 |
max_year |
the most recent medicare year we have; for example, in 2020, we have Medpar processed up to 2018 |
Find the 30-day readmission, maybe multiple readmission
Roll up to a single row per member_id & prof_calim_id
Merge the 30-day readmission flag back to the main analytic file
readmission to emergent inpatient admission
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.