Create a cohort entry criteria

entry(
  ...,
  observationWindow = continuousObservation(0L, 0L),
  primaryCriteriaLimit = c("First", "All", "Last"),
  additionalCriteria = NULL,
  qualifiedLimit = c("First", "All", "Last")
)

Arguments

...

Capr Queries

observationWindow

a time specifying the minimal time a person is observed

primaryCriteriaLimit

Which primary criteria matches should be considered for inclusion? "First", "Last" or "All"

additionalCriteria

a Capr group that adds restriction to the entry event

qualifiedLimit

Which criteria matches should be considered for inclusion? "First", "Last" or "All"

Value

A cohort entry Capr object