View source: R/define_observation_periods.R
define_observation_periods | R Documentation |
define_observation_periods
creates baseline and treatment period columns
define_observation_periods(.data, ...)
.data |
A tibble |
This function defines the baseline and treatment period columns from clinical data from electronic health record (EHR) databases that have adopted the Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) format.
Baseline period = "start_date" to "first_drug_exposure". Treatment period = ("first_drug_exposure" + 30 days) to "last_drug_exposure". If treatment period > 12 months, then treatment period = ("first_drug_exposure" + 30 days) to "end_date".
Updated: 2021-03-27
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.