OHDSI / CohortGenerator

An R package for instantiating cohorts using data in the CDM.
https://ohdsi.github.io/CohortGenerator/
11 stars 10 forks source link

Prevent upload of inclusion rule names #156

Closed anthonysena closed 1 month ago

anthonysena commented 1 month ago

Adds a cohortDefinitionSet parameter to exportCohortStatsTables which, when specified, will extract the inclusion rules from the cohort definition set and use those vs. attempting to export from the database. When the cohortDefinitionSet is NULL, a warning is now emitted to warn the user that if they have not inserted the inclusion rules into the DB, they may be missing (a common error I've made myself).

Also exports the getCohortInclusionRules function so that a user can extract the inclusion rules for a given cohort set as this useful.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.55%. Comparing base (4ce1ae0) to head (7f11c01). Report is 35 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #156 +/- ## =========================================== - Coverage 98.80% 97.55% -1.26% =========================================== Files 12 13 +1 Lines 1336 1593 +257 =========================================== + Hits 1320 1554 +234 - Misses 16 39 +23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.