Abstract Base Class for subsets. Subsets should inherit from this and implement their own requirements.
namename of subset operation - should describe what the operation does e.g. "Males under the age of 18", "Exposed to Celecoxib"
new()SubsetOperator$new(definition = NULL)definitionjson character or list - definition of subset operator
instance of object Class Name
classname()Class name of object Get auto generated name
SubsetOperator$classname()
getAutoGeneratedName()Not intended to be used - should be implemented in subclasses Return query builder instance
SubsetOperator$getAutoGeneratedName()
getQueryBuilder()Return query builder instance Public Fields
SubsetOperator$getQueryBuilder(id)id- integer that should be unique in the sql (e.g. increment it by one for each subset operation in set)
publicFields()Publicly settable fields of object Is Equal to
SubsetOperator$publicFields()
isEqualTo()Compare Subsets - are they identical or not? Checks all fields and settings
SubsetOperator$isEqualTo(subsetOperatorB)subsetOperatorBA subset to test equivalence to To list
toList()convert to List representation To Json
SubsetOperator$toList()
toJSON()convert to json serialized representation
SubsetOperator$toJSON()list representation of object as json character Pretty print
print()SubsetOperator$print(...)...further arguments passed to or from other methods.
clone()The objects of this class are cloneable with this method.
SubsetOperator$clone(deep = FALSE)deepWhether to make a deep clone.
CohortSubsetOperator
DemographicSubsetOperator
LimitSubsetOperator