This determines how many events need to occur to count the criteria in the cohort definition (relative to the index event)

Slots

type

a character string determine the logic for counting occurrences. Can be all, any, exactly, atLeast, or atMost

count

an integer specifying the number of occurrences for a criteria

isDistinct

optional logical; if TRUE, count distinct (e.g. by CountColumn)

countColumn

optional character; when counting, use this column for distinct (e.g. "DOMAIN_CONCEPT")