Export cohort definition set from WebAPI

exportCohortDefinitionSet(baseUrl, cohortIds, generateStats = FALSE)

Arguments

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

cohortIds

A set of cohortIds to fetch from WebApi.

generateStats

Should cohort inclusion rule statistics be generated?

Details

Constructs a CohortDefinition set containing the following fields:

atlasId

The cohort ID in ATLAS.

cohortId

a copy of the value in atlasId.

cohortName

The name of the cohort.

sql

The cohort generation sql.

json

The cohort definition JSON.

logicDescription

The cohort description.