OHDSI / ROhdsiWebApi

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

Option for exportCohortDefinitionSet to exclude inactive concept sets #261

Open alondhe opened 1 year ago

alondhe commented 1 year ago

In the function exportCohortDefinitionSet(), the cohort definition's full JSON is exported, even unused concept sets. I'm proposing adding an optional parameter "removeUnusedConceptSets" that would clear those from the export.

The application of this is for CohortDiagnostics, being able to set this parameter at cohort diagnostics execution time would be helpful for the concept views in the finished dashboard.