- 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.
- field
The columns from the table in tableName to intersect over.
For example, if the user uses visit_occurrence in tableName then for field the possible
options include visit_occurrence_id, visit_concept_id, visit_type_concept_id.
- 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 when intersecting with the chosen column.
- targetDate
The dates in the target columns in tableName that the user may want to restrict to.
- inObservation
If TRUE only records inside an observation period
will be considered.
- order
which record is considered in case of multiple records (only
required for date and days options).
- allowDuplicates
Whether to allow multiple records with same
conceptSet, person_id and targetDate. If switched to TRUE, it can have a
different and unpredictable behavior depending on the cdm_source.
- 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.