Generates the OMOP CDM Sql to generate the cohort expression

buildCohortQuery(expression, options)

Arguments

expression

result of cohortExpressionFromJson containing the cohort expression.

options

The options built using createGenerateOptions()

Value

A character vector containing the OHDSI Sql for the cohort expression