Man pages for OHDSI/Capr
Cohort Definition Application Programming

ageFunction to create age attribute
as.data.frame-ConceptSet-methodCoerce a concept set expression to a dataframe
as.jsonCoerce Capr object to json
atLeastFunction to enumerate an minimal count of occurrences
atMostFunction to enumerate a maximum count of occurrences
attributesAdd male attribute to a query
attritionCreate a cohort attrition object
btBetween operator
Capr-packageCapr: Cohort Definition Application Programming
CensoringCriteria-classAn S4 class identifying a censoring criteria for the cohort
censoringEventsConstructor for a set of censoring events
cohortFunction that creates a cohort object
compileCompile a Capr object to json
compile-methodsCompile a Capr cohort to json
conceptAttribute-classAn S4 class for a concept attribute
Concept-classAn S4 class for a single OMOP Concept
ConceptSet-classAn S4 class for ConceptSetExpresion
ConceptSetItem-classAn S4 class for ConceptSetItem
conditionEraQuery the condition era domain
conditionOccurrenceQuery the condition domain
conditionTypeAdd a condition type attribute to determine the provenance of...
continuousObservationA function to construct the observationWindow
Criteria-classAn S4 for a criteria
csCreate a concept set
dateAdjustmentFunction to create age attribute
dateAdjustmentAttribute-classAn S4 class for a date adjustment attribute
daysOfSupplyFunction to create days supply attribute
deathQuery the condition era domain
deviceExposureQuery the drug domain
drugEraQuery the drug era domain
drugExitFunction to create an exit based on exit based on the end of...
drugExposureQuery the drug domain
DrugExposureExit-classAn S4 class for a cohort exit based on continuous exposure...
drugQuantityFunction to create quantity attribute
drugRefillsFunction to create refills attribute
drugTypeAdd a drug type attribute to determine the provenance of the...
duringIntervalFunction that creates an eventAperture an opening where an...
endDateFunction that creates a end date attribute
Endpoint-classAn S4 class for an Endpoint
entryCreate a cohort entry criteria
eqEqual to operator
equals-methodsFUnction checks if two concept set class objects are...
eraCreate a Cohort Era class object
EventAperture-classAn S4 class for Aperture
eventEndsFunction creates an event window where the event ends
eventStartsFunction creates an event window where the event starts
EventWindow-classAn S4 class for a Window
exactlyFunction to enumerate an exact count of occurrences
exitFunction that creates a cohort exit object
firstOccurrenceAdd first occurrence attribute
FixedDurationExit-classAn S4 class for a cohort exit based on fixed duration...
fixedExitFunction to create an exit based on exit based on the end of...
getConceptSetCallCreate the Capr code to build a concept set
getConceptSetDetailsFill in Concept Set details using a vocab
Group-classAn S4 class for a group
gtGreater than operator
gteGreater than or equal to operator
logicAttribute-classAn S4 class for a logical attribute
ltLess than operator
lteLess than or equal to operator
makeCohortSetMake a cohort dataframe for cohort generator
measurementQuery the measurement domain
measurementTypeAdd a measurement type attribute to determine the provenance...
nbtNot between operator
nestedAttribute-classAn S4 class for a nested attribute
nestedWithAllConstruct a nested group where all criteria and groups must...
nestedWithAnyFunction to construct a nested group where any criteria and...
nestedWithAtLeastFunction to construct a nested group where at least some of...
nestedWithAtMostFunction to construct a nested group where at most some of...
observationQuery the observation domain
observationExitFunction to create an exit based on continuous observation
ObservationExit-classAn S4 class for a cohort exit based on end of continuous...
observationTypeAdd a observation type attribute to determine the provenance...
ObservationWindow-classAn S4 class for an ObservationWindow
Occurrence-classAn S4 class for an occurrence.
opAttributeDate-classAn S4 class for a op attribute that is a date
opAttributeInteger-classAn S4 class for a op attribute that is an integer
opAttributeNumeric-classAn S4 class for a op attribute that is a numeric
opAttributeSuper-classAn S4 super class for other opAttribute objects to inherit.
procedureQuery the procedure domain
procedureTypeAdd a procedure type attribute to determine the provenance of...
Query-classAn S4 class for a Circe Query
rangeHighFunction to create rangeHigh attribute
rangeLowFunction to create rangeLow attribute
readConceptSetRead a concept set json or csv into R
startDateFunction that creates a start date attribute
toCirceFunction to coerce cohort to circe
unitAdd unit attribute to a query
valueAsNumberFunction to create valueAsNumber attribute
visitQuery the visit occurrence domain
visitTypeAdd a visit type attribute to determine the provenance of the...
withAllFunction to construct a group where all criteria and groups...
withAnyFunction to construct a group where any criteria and groups...
withAtLeastFunction to construct a group where at least some of the...
withAtMostFunction to construct a group where at most some of the...
writeCohortWrite Cohort json file
writeConceptSetSave a concept set as a json file
OHDSI/Capr documentation built on Feb. 20, 2025, 4 a.m.