observation_period_drug_exposures prepares drug exposures during baseline and treatment periods

observation_period_drug_exposures(df_drug_obsperiod, drugs, ...)

Arguments

df_drug_obsperiod

A tibble with columns, c('person_id','start_date','first_drug_exposure', 'final_end_date')

drugs

A tibble with columns, c('person_id','rxcui_ingr','rxcui_ingr_name', 'drug_exposure_start_date')

Details

This function prepares drug exposures during baseline and treatment periods. Updated: 2021-03-27