org.openmrs.reporting
Class PatientCharacteristicFilter

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.PatientCharacteristicFilter
All Implemented Interfaces:
java.lang.Comparable<PatientCharacteristicFilter>, OpenmrsObject, PatientFilter, ReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class PatientCharacteristicFilter
extends CachingPatientFilter
implements java.lang.Comparable<PatientCharacteristicFilter>


Field Summary
 
Fields inherited from class org.openmrs.reporting.CachingPatientFilter
log
 
Constructor Summary
PatientCharacteristicFilter()
          Deprecated.  
PatientCharacteristicFilter(java.lang.String gender, java.util.Date minBirthdate, java.util.Date maxBirthdate)
          Deprecated.  
 
Method Summary
 int compareTo(PatientCharacteristicFilter o)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 Cohort filterImpl(EvaluationContext context)
          Deprecated. Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
 java.lang.Boolean getAliveOnly()
          Deprecated.  
 java.lang.String getCacheKey()
          Deprecated.  
 java.lang.Boolean getDeadOnly()
          Deprecated.  
 java.lang.String getDescription()
          Deprecated.  
 java.util.Date getEffectiveDate()
          Deprecated.  
 java.lang.String getGender()
          Deprecated.  
 java.lang.Integer getMaxAge()
          Deprecated.  
 java.util.Date getMaxBirthdate()
          Deprecated.  
 java.lang.Integer getMinAge()
          Deprecated.  
 java.util.Date getMinBirthdate()
          Deprecated.  
 boolean isReadyToRun()
          Deprecated. Check whether this filter has had enough parameters set to be run properly
 void setAliveOnly(java.lang.Boolean aliveOnly)
          Deprecated.  
 void setDeadOnly(java.lang.Boolean deadOnly)
          Deprecated.  
 void setEffectiveDate(java.util.Date effectiveDate)
          Deprecated.  
 void setGender(java.lang.String gender)
          Deprecated.  
 void setMaxAge(java.lang.Integer maxAge)
          Deprecated.  
 void setMaxBirthdate(java.util.Date maxBirthdate)
          Deprecated.  
 void setMinAge(java.lang.Integer minAge)
          Deprecated.  
 void setMinBirthdate(java.util.Date minBirthdate)
          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, 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

PatientCharacteristicFilter

public PatientCharacteristicFilter()
Deprecated. 

PatientCharacteristicFilter

public PatientCharacteristicFilter(java.lang.String gender,
                                   java.util.Date minBirthdate,
                                   java.util.Date maxBirthdate)
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.

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()

compareTo

public int compareTo(PatientCharacteristicFilter o)
Deprecated. 
Specified by:
compareTo in interface java.lang.Comparable<PatientCharacteristicFilter>

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

getDescription

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

getGender

public java.lang.String getGender()
Deprecated. 
Returns:
Returns the gender.

setGender

public void setGender(java.lang.String gender)
Deprecated. 
Parameters:
gender - The gender to set.

getMaxBirthdate

public java.util.Date getMaxBirthdate()
Deprecated. 
Returns:
Returns the maxBirthdate.

setMaxBirthdate

public void setMaxBirthdate(java.util.Date maxBirthdate)
Deprecated. 
Parameters:
maxBirthdate - The maxBirthdate to set.

getMinBirthdate

public java.util.Date getMinBirthdate()
Deprecated. 
Returns:
Returns the minBirthdate.

setMinBirthdate

public void setMinBirthdate(java.util.Date minBirthdate)
Deprecated. 
Parameters:
minBirthdate - The minBirthdate to set.

getAliveOnly

public java.lang.Boolean getAliveOnly()
Deprecated. 

setAliveOnly

public void setAliveOnly(java.lang.Boolean aliveOnly)
Deprecated. 

getDeadOnly

public java.lang.Boolean getDeadOnly()
Deprecated. 

setDeadOnly

public void setDeadOnly(java.lang.Boolean deadOnly)
Deprecated. 

getMaxAge

public java.lang.Integer getMaxAge()
Deprecated. 

setMaxAge

public void setMaxAge(java.lang.Integer maxAge)
Deprecated. 

getMinAge

public java.lang.Integer getMinAge()
Deprecated. 

setMinAge

public void setMinAge(java.lang.Integer minAge)
Deprecated. 

getEffectiveDate

public java.util.Date getEffectiveDate()
Deprecated. 

setEffectiveDate

public void setEffectiveDate(java.util.Date effectiveDate)
Deprecated. 

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

OpenMRS-1.7.x

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