|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.reporting.AbstractReportObject
org.openmrs.reporting.data.CohortDefinition
public class CohortDefinition
This class allows us to define a Cohort based on a patient filter or a cohort instance.
| Field Summary | |
|---|---|
static java.lang.String |
SUB_TYPE_NAME
|
static java.lang.String |
TYPE_NAME
|
| Constructor Summary | |
|---|---|
CohortDefinition()
Default public constructor |
|
| Method Summary | |
|---|---|
Cohort |
getCohort()
Get the cohort instance assigned to this cohort definition |
PatientFilter |
getPatientFilter()
Get the patient filter assigned to the cohort definition. |
void |
setCohort(Cohort cohort)
Set the cohort instance for this cohort definition. |
void |
setPatientFilter(PatientFilter filter)
Set the patient filter. |
| Methods inherited from class org.openmrs.reporting.AbstractReportObject |
|---|
equals, getDescription, getName, getReportObjectId, getSubType, getType, setDescription, setName, setReportObjectId, setSubType, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_NAME
public static final java.lang.String SUB_TYPE_NAME
| Constructor Detail |
|---|
public CohortDefinition()
| Method Detail |
|---|
public Cohort getCohort()
public void setCohort(Cohort cohort)
cohort - public PatientFilter getPatientFilter()
public void setPatientFilter(PatientFilter filter)
filter -
|
OpenMRS-trunk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||