org.openmrs.reporting
Class DrugOrderPatientFilter

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

Deprecated. Use org.openmrs.reporting.DrugOrderFilter instead

@Deprecated
public class DrugOrderPatientFilter
extends AbstractPatientFilter
implements PatientFilter, java.lang.Comparable<DrugOrderPatientFilter>


Field Summary
protected static org.apache.commons.logging.Log log
          Deprecated.  
 
Constructor Summary
DrugOrderPatientFilter()
          Deprecated.  
 
Method Summary
 int compareTo(DrugOrderPatientFilter other)
          Deprecated.  
 Cohort filter(Cohort input, EvaluationContext context)
          Deprecated. Determine all patients in _input_ who also match some criteria.
 Cohort filterInverse(Cohort input, EvaluationContext context)
          Deprecated. Determine all patients in _input_ who do *not* match some criteria
 java.lang.String getDescription()
          Deprecated.  
 Concept getDrugConcept()
          Deprecated.  
 java.lang.Integer getDrugId()
          Deprecated.  
 PatientSetService.GroupMethod getGroupMethod()
          Deprecated.  
 java.util.Date getOnDate()
          Deprecated.  
 boolean isReadyToRun()
          Deprecated. Check whether this filter has had enough parameters set to be run properly
 void setDrugConcept(Concept drugConcept)
          Deprecated.  
 void setDrugId(java.lang.Integer drugId)
          Deprecated.  
 void setGroupMethod(PatientSetService.GroupMethod groupMethod)
          Deprecated.  
 void setOnDate(java.util.Date onDate)
          Deprecated.  
 
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
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Deprecated. 
Constructor Detail

DrugOrderPatientFilter

public DrugOrderPatientFilter()
Deprecated. 
Method Detail

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
Returns:
true if the filter has enough parameters set, false otherwise

compareTo

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

getGroupMethod

public PatientSetService.GroupMethod getGroupMethod()
Deprecated. 

setGroupMethod

public void setGroupMethod(PatientSetService.GroupMethod groupMethod)
Deprecated. 

getOnDate

public java.util.Date getOnDate()
Deprecated. 

setOnDate

public void setOnDate(java.util.Date onDate)
Deprecated. 

getDrugId

public java.lang.Integer getDrugId()
Deprecated. 

setDrugId

public void setDrugId(java.lang.Integer drugId)
Deprecated. 

getDrugConcept

public Concept getDrugConcept()
Deprecated. 

setDrugConcept

public void setDrugConcept(Concept drugConcept)
Deprecated. 

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 search
context - EvaluationContext specifying filtering criteria
Returns:
Cohort of the patients matching the criteria

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 search
context - EvaluationContext specifying filtering criteria
Returns:
Cohort of patients in input who do not meet specified criteria

getDescription

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

OpenMRS-1.7.x

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