org.openmrs.reporting
Class CohortHistoryCompositionFilter
java.lang.Object
org.openmrs.reporting.AbstractReportObject
org.openmrs.reporting.AbstractPatientFilter
org.openmrs.reporting.CohortHistoryCompositionFilter
- All Implemented Interfaces:
- PatientFilter, ReportObject
public class CohortHistoryCompositionFilter
- extends AbstractPatientFilter
- implements PatientFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
CohortHistoryCompositionFilter
public CohortHistoryCompositionFilter()
getHistory
public CohortSearchHistory getHistory()
setHistory
public void setHistory(CohortSearchHistory history)
getParsedCompositionString
public java.util.List<java.lang.Object> getParsedCompositionString()
setParsedCompositionString
public void setParsedCompositionString(java.util.List<java.lang.Object> parsedCompositionString)
getName
public java.lang.String getName()
- Specified by:
getName in interface ReportObject- Overrides:
getName in class AbstractReportObject
- Returns:
- Returns the name;
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface ReportObject- Overrides:
setName in class AbstractReportObject
- Parameters:
name - The name to set.
toCohortDefinition
public PatientFilter toCohortDefinition()
filter
public Cohort filter(Cohort input,
EvaluationContext context)
- 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
- Returns:
filterInverse
public Cohort filterInverse(Cohort input,
EvaluationContext context)
- Description copied from interface:
PatientFilter
- Determine all patients in _input_ who do *not* match some criteria
- Specified by:
filterInverse in interface PatientFilter
- Returns:
isReadyToRun
public boolean isReadyToRun()
- Specified by:
isReadyToRun in interface PatientFilter
- Returns:
- Whether or not this filter has had enough parameters set to be run properly
Generated May 29 2008 02:01 AM. NOTE - these libraries are in active development and subject to change