@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.
|
String |
getDescription()
Deprecated.
|
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
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, 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 String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
public List<Parameter> getParameters()
Parameterizable
getParameters
in interface Parameterizable
Parameterizable.getParameters()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.