All functions |
|
|---|---|
Age attribute for a query |
|
Age at era end attribute (for era and period domains) |
|
Age at era start attribute (for era and period domains) |
|
Coerce a concept set expression to a dataframe |
|
Coerce Capr object to json |
|
Require at least N occurrences of a query within a window |
|
Require at most N occurrences of a query within a window |
|
Add male attribute to a query |
|
Define cohort inclusion/exclusion rules (attrition) |
|
Between operator |
|
An S4 class identifying a censoring criteria for the cohort |
|
Constructor for a set of censoring events |
|
Build a cohort definition |
|
Compile a Capr cohort to json |
|
Compile a Capr object to json |
|
An S4 class for a single OMOP Concept |
|
An S4 class for a concept attribute |
|
An S4 class for ConceptSetExpresion |
|
An S4 class for a concept set attribute that holds a reference to a concept set ID |
|
An S4 class for ConceptSetItem |
|
Query the condition era domain |
|
Query the condition occurrence domain |
|
Add a condition source concept attribute |
|
Add a condition status attribute |
|
Condition status filter via concept set — ConditionOccurrence |
|
Add a condition type attribute to determine the provenance of the record |
|
ConditionType filter via concept set (ConceptSetSelection) |
|
ConditionTypeExclude query attribute |
|
A function to construct the observationWindow |
|
An S4 for a criteria |
|
Create a concept set |
|
Shift the start and/or end date of a query event |
|
An S4 class for a date adjustment attribute |
|
Function to create days supply attribute |
|
Query the death domain |
|
Add a death type attribute to determine the provenance of the record |
|
DeathType filter via concept set (ConceptSetSelection) |
|
DeathTypeExclude query attribute |
|
Detect domain keys not in the supported set and emit skipOrStop for each (non-null/non-empty). Prevents silent semantic drift when new Circe fields appear. |
|
Query the device exposure domain |
|
Add a device type attribute to determine the provenance of the record |
|
DeviceType filter via concept set (ConceptSetSelection) |
|
DeviceTypeExclude query attribute |
|
Query the dose era domain |
|
Dose unit attribute for drug exposure |
|
Dose unit filter via concept set — DrugExposure |
|
Dose value attribute for DoseEra |
|
Query the drug era domain |
|
Function to create an exit based on exit based on the end of a continuous drug exposure |
|
Query the drug exposure domain |
|
An S4 class for a cohort exit based on continuous exposure persistence. |
|
Function to create quantity attribute |
|
Function to create refills attribute |
|
Add a drug source concept attribute |
|
Add a drug type attribute to determine the provenance of the record |
|
DrugType filter via concept set (ConceptSetSelection) |
|
DrugTypeExclude query attribute |
|
Function that creates an eventAperture an opening where an event can occur relative to the index event |
|
Function that creates a end date attribute |
|
An S4 class for an Endpoint |
|
Create a cohort entry definition |
|
Equal to operator |
|
FUnction checks if two concept set class objects are equivalent |
|
Define cohort era collapse settings |
|
Era length attribute for DrugEra |
|
Ethnicity filter via concept set (ConceptSetSelection, for demographic criteria) |
|
An S4 class for Aperture |
|
Function creates an event window where the event ends |
|
Function creates an event window where the event starts |
|
An S4 class for a Window |
|
Require exactly N occurrences of a query within a window |
|
Define cohort exit strategy |
|
Add first occurrence attribute |
|
An S4 class for a cohort exit based on fixed duration persistence. |
|
Function to create an exit based on exit based on the end of a continuous drug exposure |
|
Add gender attribute with one or more concept IDs (e.g. both sexes) |
|
Gender filter via concept set (ConceptSetSelection, for demographic criteria) |
|
Get all descendants of one or more standard concepts |
|
Look up concept details by concept ID |
|
Create the Capr code to build a concept set |
|
Fill in Concept Set details using a vocab |
|
An S4 class for a group |
|
Greater than operator |
|
Greater than or equal to operator |
|
Insert decompiled Capr code into the current document (RStudio only) |
|
Decompile Atlas/Circe cohort JSON to Capr R code |
|
Write decompiled Capr R code to a file |
|
Attribute that serializes to a single key-value pair in query JSON. Used for boolean query options like ConditionTypeExclude. Has a |
|
An S4 class for a logical attribute |
|
Lot number attribute for DrugExposure |
|
Less than operator |
|
Less than or equal to operator |
|
Make a cohort dataframe for cohort generator |
|
Map source (non-standard) codes to their standard OMOP concepts |
|
Query the measurement domain |
|
Measurement operator attribute (e.g. equal to, less than) |
|
Measurement operator filter via concept set |
|
Add a measurement source concept attribute |
|
Add a measurement type attribute to determine the provenance of the record |
|
MeasurementType filter via concept set (ConceptSetSelection) |
|
MeasurementTypeExclude query attribute |
|
Unit attribute for a query |
|
Not between operator |
|
An S4 class for a nested attribute |
|
Construct a nested group where all criteria and groups must be satisfied |
|
Function to construct a nested group where any criteria and groups may be satisfied |
|
Function to construct a nested group where at least some of the criteria or groups must be satisfied |
|
Function to construct a nested group where at most some of the criteria or groups must be satisfied |
|
Query the observation domain |
|
An S4 class for a cohort exit based on end of continuous observation. |
|
Function to create an exit based on continuous observation |
|
Query the observation period domain |
|
Add a observation period type attribute to determine the provenance of the record |
|
Observation qualifier attribute |
|
Observation qualifier filter via concept set |
|
Add a observation source concept attribute |
|
Add an observation type attribute to determine the provenance of the record |
|
ObservationType filter via concept set (ConceptSetSelection) |
|
ObservationTypeExclude query attribute |
|
An S4 class for an ObservationWindow |
|
An S4 class for an occurrence. |
|
Occurrence count attribute for ConditionEra |
|
An S4 class for a op attribute that is a character |
|
An S4 class for a op attribute that is a date |
|
An S4 class for a op attribute that is an integer |
|
An S4 class for a op attribute that is a numeric |
|
An S4 super class for other opAttribute objects to inherit. |
|
Payer concept attribute for PayerPlanPeriod |
|
Query the payer plan period domain (CDM >= 5.3) |
|
Payer source concept attribute for PayerPlanPeriod |
|
Period length attribute — ObservationPeriod, PayerPlanPeriod |
|
ObservationPeriod period type filter via concept set (ConceptSetSelection) |
|
Place of service attribute for visit occurrence |
|
Place of service filter via concept set — VisitOccurrence, VisitDetail |
|
Plan concept attribute for PayerPlanPeriod |
|
Plan source concept attribute for PayerPlanPeriod |
|
Query the procedure occurrence domain |
|
Procedure modifier attribute |
|
Procedure modifier filter via concept set |
|
Add a procedure source concept attribute |
|
Add a procedure type attribute to determine the provenance of the record |
|
ProcedureType filter via concept set (ConceptSetSelection) |
|
ProcedureTypeExclude query attribute |
|
Add provider specialty filter to a visit (round-trip from Atlas JSON) |
|
Provider specialty filter via concept set — multiple domains |
|
Quantity attribute — ProcedureOccurrence, DeviceExposure, Specimen |
|
An S4 class for a Circe Query |
|
Race filter via concept set (ConceptSetSelection, for demographic criteria) |
|
Function to create rangeHigh attribute |
|
Range high ratio attribute for Measurement |
|
Function to create rangeLow attribute |
|
Ranked vocabulary search with dialect-specific similarity scoring |
|
Read a concept set json or csv into R |
|
Route concept attribute for drug exposure |
|
Route concept filter via concept set — DrugExposure |
|
Search the OMOP vocabulary by keyword |
|
Query the specimen domain |
|
Specimen anatomic site attribute |
|
Specimen anatomic site filter via concept set |
|
Specimen disease status attribute |
|
Specimen disease status filter via concept set |
|
Filter by specimen source ID text — Specimen |
|
Add a specimen type attribute to determine the provenance of the record |
|
SpecimenType filter via concept set (ConceptSetSelection) |
|
SpecimenTypeExclude query attribute |
|
Sponsor concept attribute for PayerPlanPeriod |
|
Sponsor source concept attribute for PayerPlanPeriod |
|
Function that creates a start date attribute |
|
Filter by stop reason text — ConditionOccurrence or DrugExposure |
|
Stop reason concept attribute for PayerPlanPeriod |
|
Stop reason source concept attribute for PayerPlanPeriod |
|
String contains operator |
|
String ends with operator |
|
String does not contain operator |
|
String does not end with operator |
|
String does not start with operator |
|
String starts with operator |
|
Summarise a Capr object |
|
Function to coerce cohort to circe |
|
Convert a Capr cohort to JSON |
|
Convert a Capr concept set to JSON |
|
Filter by unique device ID text — DeviceExposure |
|
Unit filter via concept set — Measurement, Observation, DoseEra, Specimen |
|
Add a value as concept attribute |
|
ValueAsConcept attribute from a concept set (for round-trip without DB) |
|
Function to create valueAsNumber attribute |
|
Attribute for Observation value_as_string filter (round-trip from Atlas ValueAsString) |
|
Query the visit occurrence domain |
|
Query the visit detail domain |
|
Add a visit detail source concept attribute |
|
Visit detail type filter via concept set — VisitDetail |
|
Visit length attribute for VisitOccurrence |
|
Add a visit source concept attribute |
|
Add a visit type attribute to determine the provenance of the record |
|
VisitType filter via concept set (ConceptSetSelection) |
|
VisitTypeExclude query attribute |
|
Add a visit type attribute (filter by visit_concept_id) from a concept set |
|
Function to construct a group where all criteria and groups must be satisfied |
|
Function to construct a group where any criteria and groups may be satisfied |
|
Function to construct a group where at least some of the criteria or groups must be satisfied |
|
Function to construct a group where at most some of the criteria or groups must be satisfied |
|
Write Cohort json file |
|
Save a concept set as a json file |
|