@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,
java.util.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.
|
java.lang.String |
getDescription()
Deprecated.
|
java.util.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(java.util.List<PatientFilter> filters)
Deprecated.
|
void |
setOperator(PatientSetService.BooleanOperator operator)
Deprecated.
|
getConceptName
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getReportObjectId, setDescription, setName, setReportObjectId
getId, getUuid, setId, setUuid
public CompoundPatientFilter()
public CompoundPatientFilter(PatientSetService.BooleanOperator operator, java.util.List<PatientFilter> filters)
public java.util.List<PatientFilter> getFilters()
public void setFilters(java.util.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 java.lang.String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
public boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.