@Deprecated public class InversePatientFilter extends AbstractPatientFilter implements PatientFilter, Parameterizable
| Constructor and Description |
|---|
InversePatientFilter()
Deprecated.
|
InversePatientFilter(PatientFilter baseFilter)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Cohort |
filter(Cohort input,
EvaluationContext context)
Deprecated.
(The following at-should unit tests should really be distributed across many other classes,
but it's much faster to put them all here.)
|
Cohort |
filterInverse(Cohort input,
EvaluationContext context)
Deprecated.
Basic implementation of filterInverse that delegates to PatientSetService.getAllPatients()
and this class's filter() method.
|
PatientFilter |
getBaseFilter()
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
|
java.util.List<Parameter> |
getParameters()
Deprecated.
A object that can take parameters should examine itself and its child objects to find out all
of its required parameters.
|
boolean |
isReadyToRun()
Deprecated.
Check whether this filter has had enough parameters set to be run properly
|
void |
setBaseFilter(PatientFilter baseFilter)
Deprecated.
|
getConceptNameequals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toStringequals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getReportObjectId, setDescription, setName, setReportObjectIdgetId, getUuid, setId, setUuidpublic InversePatientFilter()
public InversePatientFilter(PatientFilter baseFilter)
public PatientFilter getBaseFilter()
public void setBaseFilter(PatientFilter baseFilter)
public Cohort filter(Cohort input, EvaluationContext context)
filter in interface PatientFilterinput - Cohort of the patients to searchcontext - EvaluationContext specifying filtering criteriapublic Cohort filterInverse(Cohort input, EvaluationContext context)
AbstractPatientFilterfilterInverse in interface PatientFilterfilterInverse in class AbstractPatientFilterinput - Cohort of the patients to searchcontext - EvaluationContext specifying filtering criteriainput who do not meet specified criteriapublic boolean isReadyToRun()
PatientFilterisReadyToRun in interface PatientFilterpublic java.lang.String getDescription()
getDescription in interface ReportObjectgetDescription in class AbstractReportObjectpublic java.util.List<Parameter> getParameters()
ParameterizablegetParameters in interface ParameterizableParameterizable.getParameters()Copyright © 2018 OpenMRS Inc.. All Rights Reserved.