@Deprecated public class LogicPatientFilter extends AbstractPatientFilter implements PatientFilter, Parameterizable
Constructor and Description |
---|
LogicPatientFilter()
Deprecated.
|
LogicPatientFilter(LogicCriteria criteria)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
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.
|
LogicCriteria |
getCriteria()
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 |
setCriteria(LogicCriteria criteria)
Deprecated.
|
getConceptName
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
getUuid, setUuid
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getReportObjectId, setDescription, setName, setReportObjectId
getId, getUuid, setId, setUuid
public LogicPatientFilter()
public LogicPatientFilter(LogicCriteria criteria)
public LogicCriteria getCriteria()
public void setCriteria(LogicCriteria criteria)
public Cohort filter(Cohort input, EvaluationContext context)
PatientFilter
filter
in interface PatientFilter
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteriaPatientFilter.filter(org.openmrs.Cohort,
org.openmrs.report.EvaluationContext)
public 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 criteriaPatientFilter.filterInverse(org.openmrs.Cohort,
org.openmrs.report.EvaluationContext)
public boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
PatientFilter.isReadyToRun()
public List<Parameter> getParameters()
Parameterizable
getParameters
in interface Parameterizable
Parameterizable.getParameters()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
AbstractReportObject.getDescription()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.