|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.reporting.AbstractReportObject org.openmrs.reporting.AbstractPatientFilter org.openmrs.reporting.ProgramPatientFilter
@Deprecated public class ProgramPatientFilter
Currently can only determine whether a patient was in a given program ever, or on a specific date, or relative to dates
Constructor Summary | |
---|---|
ProgramPatientFilter()
Deprecated. |
Method Summary | |
---|---|
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. |
java.util.Date |
getFromDate()
Deprecated. |
java.util.Date |
getOnDate()
Deprecated. |
Program |
getProgram()
Deprecated. |
java.util.Date |
getToDate()
Deprecated. |
boolean |
isReadyToRun()
Deprecated. Check whether this filter has had enough parameters set to be run properly |
void |
setFromDate(java.util.Date fromDate)
Deprecated. |
void |
setOnDate(java.util.Date onDate)
Deprecated. |
void |
setProgram(Program program)
Deprecated. |
void |
setToDate(java.util.Date toDate)
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 |
Constructor Detail |
---|
public ProgramPatientFilter()
Method Detail |
---|
public Cohort filter(Cohort input, EvaluationContext context)
PatientFilter
filter
in interface PatientFilter
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteria
public Cohort filterInverse(Cohort input, EvaluationContext context)
PatientFilter
filterInverse
in interface PatientFilter
input
- Cohort of the patients to searchcontext
- EvaluationContext specifying filtering criteria
input
who do not meet specified criteriapublic java.lang.String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
public boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
public java.util.Date getFromDate()
public void setFromDate(java.util.Date fromDate)
public java.util.Date getOnDate()
public void setOnDate(java.util.Date onDate)
public Program getProgram()
public void setProgram(Program program)
public java.util.Date getToDate()
public void setToDate(java.util.Date toDate)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |