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
|
java.lang.String |
getCacheKey() |
java.lang.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, filterInverse
getConceptName
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getReportObjectId, setDescription, setName, setReportObjectId
getId, getUuid, setId, setUuid
public Cohort filterImpl(EvaluationContext context)
CachingPatientFilter
filterImpl
in class CachingPatientFilter
CachingPatientFilter.filterImpl(org.openmrs.report.EvaluationContext)
public java.lang.String getDescription()
getDescription
in interface ReportObject
getDescription
in class AbstractReportObject
AbstractReportObject.getDescription()
public java.lang.String getCacheKey()
getCacheKey
in class CachingPatientFilter
CachingPatientFilter.getCacheKey()
public boolean isReadyToRun()
PatientFilter
isReadyToRun
in interface PatientFilter
isReadyToRun
in class CachingPatientFilter
CachingPatientFilter.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 Inc.. All Rights Reserved.