exportCohortDefinitionSet: Export cohort definition set from WebAPI

View source: R/exportCohortDefinitionSet.R

exportCohortDefinitionSetR Documentation

Export cohort definition set from WebAPI

Description

Export cohort definition set from WebAPI

Usage

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.


OHDSI/ROhdsiWebApi documentation built on March 15, 2023, 1:23 p.m.