Description Usage Arguments Author(s)
Drug exposure durations are calculated as: exposure end date - exposure start date (if end date is specified) or according to 'days_supply' (if specified) or 1 day if neither is specified.
1 | getDrugDurationsFromExposure(drug_exposure, observation_period)
|
drug_exposure |
A dataframe-like object corresponding to the OMOP CDM 'drug_exposure' table, particularly, we use the columns 'person_id', 'drug_concept_id', 'drug_exposure_start_date', 'drug_exposure_end_date', and 'days_supply' |
observation_period |
A dataframe-like object corresponding to the OMOP CDM 'observation_period' table |
Yuriy Sverchkov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.