org.openmrs.reporting
Class EncounterPatientFilter

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.reporting.AbstractPatientFilter
              extended by org.openmrs.reporting.CachingPatientFilter
                  extended by org.openmrs.reporting.EncounterPatientFilter
All Implemented Interfaces:
OpenmrsObject, PatientFilter, ReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class EncounterPatientFilter
extends CachingPatientFilter


Field Summary
 
Fields inherited from class org.openmrs.reporting.CachingPatientFilter
log
 
Constructor Summary
EncounterPatientFilter()
          Deprecated.  
 
Method Summary
 Cohort filterImpl(EvaluationContext context)
          Deprecated. Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
 java.lang.Integer getAtLeastCount()
          Deprecated.  
 java.lang.Integer getAtMostCount()
          Deprecated.  
 java.lang.String getCacheKey()
          Deprecated.  
 java.lang.String getDescription()
          Deprecated.  
 EncounterType getEncounterType()
          Deprecated. 
 java.util.List<EncounterType> getEncounterTypeList()
          Deprecated.  
 Form getForm()
          Deprecated.  
 Location getLocation()
          Deprecated.  
 java.util.Date getSinceDate()
          Deprecated.  
 java.util.Date getUntilDate()
          Deprecated.  
 java.lang.Integer getUntilDaysAgo()
          Deprecated.  
 java.lang.Integer getUntilMonthsAgo()
          Deprecated.  
 java.lang.Integer getWithinLastDays()
          Deprecated.  
 java.lang.Integer getWithinLastMonths()
          Deprecated.  
 boolean isReadyToRun()
          Deprecated. Check whether this filter has had enough parameters set to be run properly
 void setAtLeastCount(java.lang.Integer atLeastCount)
          Deprecated.  
 void setAtMostCount(java.lang.Integer atMostCount)
          Deprecated.  
 void setEncounterType(EncounterType encounterType)
          Deprecated. 
 void setEncounterTypeList(java.util.List<EncounterType> encounterTypeList)
          Deprecated.  
 void setForm(Form form)
          Deprecated.  
 void setLocation(Location location)
          Deprecated.  
 void setSinceDate(java.util.Date sinceDate)
          Deprecated.  
 void setUntilDate(java.util.Date untilDate)
          Deprecated.  
 void setUntilDaysAgo(java.lang.Integer untilDaysAgo)
          Deprecated.  
 void setUntilMonthsAgo(java.lang.Integer untilMonthsAgo)
          Deprecated.  
 void setWithinLastDays(java.lang.Integer withinLastDays)
          Deprecated.  
 void setWithinLastMonths(java.lang.Integer withinLastMonths)
          Deprecated.  
 
Methods inherited from class org.openmrs.reporting.CachingPatientFilter
filter, filterInverse
 
Methods inherited from class org.openmrs.reporting.AbstractPatientFilter
getConceptName
 
Methods inherited from class org.openmrs.reporting.AbstractReportObject
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmrs.reporting.ReportObject
getName, getReportObjectId, setDescription, setName, setReportObjectId
 
Methods inherited from interface org.openmrs.OpenmrsObject
getId, getUuid, setId, setUuid
 

Constructor Detail

EncounterPatientFilter

public EncounterPatientFilter()
Deprecated. 
Method Detail

getCacheKey

public java.lang.String getCacheKey()
Deprecated. 
Specified by:
getCacheKey in class CachingPatientFilter
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.

getDescription

public java.lang.String getDescription()
Deprecated. 
Specified by:
getDescription in interface ReportObject
Overrides:
getDescription in class AbstractReportObject
Returns:
Returns the description

filterImpl

public Cohort filterImpl(EvaluationContext context)
Deprecated. 
Description copied from class: CachingPatientFilter
Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method

Specified by:
filterImpl in class CachingPatientFilter
Returns:
TODO

isReadyToRun

public 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
Specified by:
isReadyToRun in class CachingPatientFilter
Returns:
true if the filter has enough parameters set, false otherwise
See Also:
PatientFilter.isReadyToRun()

getEncounterType

@Deprecated
public EncounterType getEncounterType()
Deprecated. 


setEncounterType

@Deprecated
public void setEncounterType(EncounterType encounterType)
Deprecated. 


getEncounterTypeList

public java.util.List<EncounterType> getEncounterTypeList()
Deprecated. 

setEncounterTypeList

public void setEncounterTypeList(java.util.List<EncounterType> encounterTypeList)
Deprecated. 

getSinceDate

public java.util.Date getSinceDate()
Deprecated. 

setSinceDate

public void setSinceDate(java.util.Date sinceDate)
Deprecated. 

getUntilDate

public java.util.Date getUntilDate()
Deprecated. 

setUntilDate

public void setUntilDate(java.util.Date untilDate)
Deprecated. 

getUntilDaysAgo

public java.lang.Integer getUntilDaysAgo()
Deprecated. 

setUntilDaysAgo

public void setUntilDaysAgo(java.lang.Integer untilDaysAgo)
Deprecated. 

getUntilMonthsAgo

public java.lang.Integer getUntilMonthsAgo()
Deprecated. 

setUntilMonthsAgo

public void setUntilMonthsAgo(java.lang.Integer untilMonthsAgo)
Deprecated. 

getWithinLastDays

public java.lang.Integer getWithinLastDays()
Deprecated. 

setWithinLastDays

public void setWithinLastDays(java.lang.Integer withinLastDays)
Deprecated. 

getWithinLastMonths

public java.lang.Integer getWithinLastMonths()
Deprecated. 

setWithinLastMonths

public void setWithinLastMonths(java.lang.Integer withinLastMonths)
Deprecated. 

getAtLeastCount

public java.lang.Integer getAtLeastCount()
Deprecated. 

setAtLeastCount

public void setAtLeastCount(java.lang.Integer atLeastCount)
Deprecated. 

getAtMostCount

public java.lang.Integer getAtMostCount()
Deprecated. 

setAtMostCount

public void setAtMostCount(java.lang.Integer atMostCount)
Deprecated. 

getLocation

public Location getLocation()
Deprecated. 

setLocation

public void setLocation(Location location)
Deprecated. 

getForm

public Form getForm()
Deprecated. 

setForm

public void setForm(Form form)
Deprecated. 

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change