- add conceptTypes to determine data provenance #93
- allow numeric as offsetDays #90
- add deviceExposure #86
- other minor edits
- add CirceR in REMOTES section
- correct date attribute names (OccurrenceStartDate, OccurrenceEndDate)
- add
makeCohortSet()
function to pipe into CohortGenerator
(from Issue #79)
- add
dateAdjustment()
function to deploy new circe attribute to a query (from Issue #77)
- prepare for CRAN release
- change query functions to match known syntax (i.e. drug => drugExposure, condition => conditionOccurrence)
- require a name for
cs()
- improve documentation (add vignette for query, count and group)
- hot fix add procedure occurrence into query
- add opAttribute super class
- add version dependency for purrr v1.0.1 for list_flatten
- fix issue with first exposure
- 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