- fix tests for CRAN
- additions and corrections to vignettes and documentation
- compile cohort function added
- fix concept set print
- prep for CRAN submission
New user interface for cohort construction
- cs()
function to build and combine concept ids into sets
- improved readability code to build cohort definition
- coercion of Capr object to json to save as file for study
- maintained support for Capr templates
- Bug Fixes
- allow for numeric attributes stop automatic integer coersion
- allow for death query without CSE in Censoring and Primary Criteria
- Fix bug in guid generation...did not create unique guid each time
- Add function to create cohort data frame for CohortGenerator and CohortDiagnostics
- Fix pdf documentation in readme
- Fix Hades and github logo on package down site
- Fix links to access vignettes from README
- Other minor changes to prep for PhenotypePheburary
- Minor edits to documentation
- Removed oracleTempSchema from functions that access vocabulary schema of OMOP database
Initial version of Capr package to functionalize the creation of cohort definitions of OMOP CDM mapped data. Features include:
-
Lookup functions to browse and identify concepts from OMOP Vocabularies
-
Creation functions of cohort definitions sub-components (concept set expressions, queries, counts, groups) and main-components (primary criteria, additional criteria, inclusion rules, censoring criteria and cohort eras).
-
Save and load component parts of cohort definition
-
Import circe json and convert into Capr objects
-
Print Capr R script that produces equivalent cohort definitions in Capr
-
Show functions for Capr objects