buildCohortQuery: Build cohort SQL
Description
Generates the OMOP CDM Sql to generate the cohort expression
Usage
buildCohortQuery(expression, options)
Value
A character vector containing the OHDSI Sql for the cohort expression
Arguments
- expression
result of cohortExpressionFromJson containing the cohort expression.
- options
The options built using createGenerateOptions()