OHDSI / ROhdsiWebApi

An R package for interfacing with a WebAPI instance
https://ohdsi.github.io/ROhdsiWebApi
10 stars 17 forks source link

Post definitions into Atlas #42

Closed gowthamrao closed 4 years ago

gowthamrao commented 4 years ago

We would like one or more functions to be able to post definitions such as cohort definitions into Atlas.

get cohorts json expressoin

cohortExpression <- ROhdsiWebApi::getCohortDefinitionExpression(definitionId = definitionId,
                                                                baseUrl = baseUrl)
cohortJson <- cohortExpression$expression

Reviewing webApi documentation http://webapidoc.ohdsi.org/index.html#398821407 http://webapidoc.ohdsi.org/index.html#-847210453