- x
Table with individuals in the cdm.
- tableName
Name of the table to intersect with. Options:
visit_occurrence, condition_occurrence, drug_exposure, procedure_occurrence,
device_exposure, measurement, observation, drug_era, condition_era, specimen,
episode.
- indexDate
Variable in x that contains the date to compute the
intersection.
- censorDate
whether to censor overlap events at a specific date
or a column date of x.
- window
window to consider events in.
- targetStartDate
Column name with start date for comparison.
- targetEndDate
Column name with end date for comparison.
- inObservation
If TRUE only records inside an observation period
will be considered.
- nameStyle
naming of the added column or columns, should include
required parameters.
- name
Name of the new table, if NULL a temporary table is returned.