Creates the generation options object for use in generateSql()
createGenerateOptions( cohortIdFieldName, cohortId, cdmSchema, targetTable, resultSchema, vocabularySchema, generateStats )
cohortIdFieldName | The field that contains the cohortId in the cohort table. |
---|---|
cohortId | The generated cohort ID. |
cdmSchema | The value of the CDM schema. |
targetTable | the cohort table name. |
resultSchema | the schema the cohort table belongs to. |
vocabularySchema | the schema of the vocabulary tables (defaults to cdmSchema) |
generateStats | a boolean representing if the query should include inclusion rule statistics calculation |
A jObj that can be passed to generateSql().