# \donttest{
library(CohortConstructor)
cdm <- mockCohortConstructor()
cdm$cohort1 |>
requireCohortIntersect(targetCohortTable = "cohort2",
targetCohortId = 1,
indexDate = "cohort_start_date",
window = c(-Inf, 0))
# }
Run the code above in your browser using DataLab