entry: Create a cohort entry criteria

View source: R/cohort.R

entryR Documentation

Create a cohort entry criteria

Description

Create a cohort entry criteria

Usage

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


OHDSI/Capr documentation built on Feb. 20, 2025, 4 a.m.