Closed mdlavallee92 closed 2 months ago
From this PR the following will work on a ConceptSetDefinition Line Item:
library(Capr) cs1 <- list( 't2d' = cs(descendants(201826), name = "t2d"), 'ckd' = cs(descendants(46271022), name = "ckd") ) hh <- createConceptSetLineItem( name = "Baseline Conditions", ordinal = 1, statistic = createPresence(), timeWindows = createTimeWindows( timeInterval(lb = -365, rb = -1), timeInterval(lb = 0, rb = 90) ), conceptSets = cs1, domain = "condition_occurrence" ) hh$getTimeWindows() hh$getConceptSets() hh$getDomain() hh$getDefinitionType() hh$getStatisticType()
Additional Updates:
From this PR the following will work on a ConceptSetDefinition Line Item: