@Deprecated public class CompoundPatientFilter extends AbstractPatientFilter implements PatientFilter
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Deprecated.
|
Constructor and Description |
---|
CompoundPatientFilter()
Deprecated.
|
CompoundPatientFilter(PatientSetService.BooleanOperator operator,
List<PatientFilter> filters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
filter(Cohort input,
EvaluationContext context)
Deprecated.
Determine all patients in _input_ who also match some criteria.
|
Cohort |
filterInverse(Cohort input,
EvaluationContext context)
Deprecated.
Basic implementation of filterInverse that delegates to PatientSetService.getAllPatients() and
this class's filter() method.
|
String |
getDescription()
Deprecated.
|
List<PatientFilter> |
getFilters()
Deprecated.
|
PatientSetService.BooleanOperator |
getOperator()
Deprecated.
|
boolean |
isReadyToRun()
Deprecated.
Check whether this filter has had enough parameters set to be run properly
|
void |
setFilters(List<PatientFilter> filters)
Deprecated.
|
void |
setOperator(PatientSetService.BooleanOperator operator)
Deprecated.
|
getConceptName
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getReportObjectId, setDescription, setName, setReportObjectId
getId, getUuid, setId, setUuid
public CompoundPatientFilter()
public CompoundPatientFilter(PatientSetService.BooleanOperator operator, List<PatientFilter> filters)
public List<PatientFilter> getFilters()
public void setFilters(List<PatientFilter> filters)
public PatientSetService.BooleanOperator getOperator()
public void setOperator(PatientSetService.BooleanOperator operator)
public Cohort filter(Cohort input, EvaluationContext context)
PatientFilter
filter
in interface PatientFilter
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteriapublic Cohort filterInverse(Cohort input, EvaluationContext context)
AbstractPatientFilter
filterInverse
in interface PatientFilter
filterInverse
in class AbstractPatientFilter
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteriainput
who do not meet specified criteriapublic String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
public boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.