@Deprecated public abstract class CachingPatientFilter extends AbstractPatientFilter implements PatientFilter
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log
Deprecated.
|
Constructor and Description |
---|
CachingPatientFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
filter(Cohort input,
EvaluationContext context)
Deprecated.
Determine all patients in _input_ who also match some criteria.
|
abstract Cohort |
filterImpl(EvaluationContext context)
Deprecated.
Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
|
Cohort |
filterInverse(Cohort input,
EvaluationContext context)
Deprecated.
Basic implementation of filterInverse that delegates to PatientSetService.getAllPatients() and
this class's filter() method.
|
abstract String |
getCacheKey()
Deprecated.
|
abstract boolean |
isReadyToRun()
Deprecated.
Check whether this filter has had enough parameters set to be run properly
|
getConceptName
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getName, getReportObjectId, setDescription, setName, setReportObjectId
getId, getUuid, setId, setUuid
public abstract Cohort filterImpl(EvaluationContext context)
context
- public abstract String getCacheKey()
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 abstract boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
PatientFilter.isReadyToRun()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.