org.openmrs.reporting
Class CachingPatientFilter
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.reporting.AbstractReportObject
org.openmrs.reporting.AbstractPatientFilter
org.openmrs.reporting.CachingPatientFilter
- All Implemented Interfaces:
- OpenmrsObject, PatientFilter, ReportObject
- Direct Known Subclasses:
- DrugOrderFilter, DrugOrderStopFilter, EncounterPatientFilter, LocationPatientFilter, ObsPatientFilter, PatientCharacteristicFilter, PersonAttributeFilter, ProgramStatePatientFilter, RelationshipPatientFilter
Deprecated. see reportingcompatibility module
@Deprecated
public abstract class CachingPatientFilter
- extends AbstractPatientFilter
- implements PatientFilter
Field Summary |
protected org.apache.commons.logging.Log |
log
Deprecated. |
Methods inherited from class org.openmrs.reporting.AbstractReportObject |
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
- Deprecated.
CachingPatientFilter
public CachingPatientFilter()
- Deprecated.
filterImpl
public abstract Cohort filterImpl(EvaluationContext context)
- Deprecated.
- Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
- Parameters:
context
-
- Returns:
- TODO
getCacheKey
public abstract java.lang.String getCacheKey()
- Deprecated.
- Returns:
- The key under which this object, with its current parameter values, will store
results in a cache. Changing properties of this object will typically change the
cache key returned.
filter
public Cohort filter(Cohort input,
EvaluationContext context)
- Deprecated.
- Description copied from interface:
PatientFilter
- Determine all patients in _input_ who also match some criteria. If input is null, then this
should return all patients who match.
- Specified by:
filter
in interface PatientFilter
- Parameters:
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteria
- Returns:
- Cohort of the patients matching the criteria
- See Also:
PatientFilter.filter(org.openmrs.Cohort,
org.openmrs.report.EvaluationContext)
filterInverse
public Cohort filterInverse(Cohort input,
EvaluationContext context)
- Deprecated.
- Description copied from interface:
PatientFilter
- Determine all patients in _input_ who do *not* match some criteria
- Specified by:
filterInverse
in interface PatientFilter
- Parameters:
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteria
- Returns:
- Cohort of patients in
input
who do not meet specified criteria - See Also:
PatientFilter.filterInverse(org.openmrs.Cohort,
org.openmrs.report.EvaluationContext)
isReadyToRun
public abstract boolean isReadyToRun()
- Deprecated.
- Description copied from interface:
PatientFilter
- Check whether this filter has had enough parameters set to be run properly
- Specified by:
isReadyToRun
in interface PatientFilter
- Returns:
- true if the filter has enough parameters set, false otherwise
- See Also:
PatientFilter.isReadyToRun()
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change