@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.
|
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 InversePatientFilter()
public InversePatientFilter(PatientFilter baseFilter)
public PatientFilter getBaseFilter()
public void setBaseFilter(PatientFilter baseFilter)
public Cohort filter(Cohort input, EvaluationContext context)
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 boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
public java.lang.String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
public java.util.List<Parameter> getParameters()
Parameterizable
getParameters
in interface Parameterizable
Parameterizable.getParameters()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.