public class RelationshipPatientFilter extends CachingPatientFilter
log| Constructor and Description |
|---|
RelationshipPatientFilter() |
| Modifier and Type | Method and Description |
|---|---|
Cohort |
filterImpl(EvaluationContext context)
Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
|
String |
getCacheKey() |
String |
getDescription() |
Person |
getPerson() |
RelationshipType |
getRelationshipType() |
boolean |
isIncludeAtoB() |
boolean |
isIncludeBtoA() |
boolean |
isReadyToRun()
Check whether this filter has had enough parameters set to be run properly
|
void |
setIncludeAtoB(boolean includeAtoB) |
void |
setIncludeBtoA(boolean includeBtoA) |
void |
setPerson(Person person) |
void |
setRelationshipType(RelationshipType relationshipType) |
filter, filterInversegetConceptNameequals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toStringgetUuid, setUuidclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getReportObjectId, setDescription, setName, setReportObjectIdgetId, getUuid, setId, setUuidpublic Cohort filterImpl(EvaluationContext context)
CachingPatientFilterfilterImpl in class CachingPatientFilterCachingPatientFilter.filterImpl(org.openmrs.report.EvaluationContext)public String getDescription()
getDescription in interface ReportObjectgetDescription in class AbstractReportObjectAbstractReportObject.getDescription()public String getCacheKey()
getCacheKey in class CachingPatientFilterCachingPatientFilter.getCacheKey()public boolean isReadyToRun()
PatientFilterisReadyToRun in interface PatientFilterisReadyToRun in class CachingPatientFilterCachingPatientFilter.isReadyToRun()public Person getPerson()
public void setPerson(Person person)
public RelationshipType getRelationshipType()
public void setRelationshipType(RelationshipType relationshipType)
public boolean isIncludeAtoB()
public void setIncludeAtoB(boolean includeAtoB)
public boolean isIncludeBtoA()
public void setIncludeBtoA(boolean includeBtoA)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.