|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.cohort.impl.PatientSearchCohortDefinitionProvider
@Deprecated public class PatientSearchCohortDefinitionProvider
This class provides access to PatientSearch
objects that are saved
in the report_object table, but exposes them as CohortDefinition
Constructor Summary | |
---|---|
PatientSearchCohortDefinitionProvider()
Deprecated. |
Method Summary | |
---|---|
Cohort |
evaluate(CohortDefinition cohortDefinition,
EvaluationContext evaluationContext)
Deprecated. Computes the list of patients who currently meet the given definition CohortService ensures that this method is only called with a CohortDefinition of a class this provider is registered for. |
java.util.List<CohortDefinitionItemHolder> |
getAllCohortDefinitions()
Deprecated. |
java.lang.Class<? extends CohortDefinition> |
getClassHandled()
Deprecated. TODO: this is potentially not necessary because its set via spring's application context |
CohortDefinition |
getCohortDefinition(java.lang.Integer id)
Deprecated. |
void |
purgeCohortDefinition(CohortDefinition cohortDefinition)
Deprecated. Deletes a cohort definition from the database. |
CohortDefinition |
saveCohortDefinition(CohortDefinition cohortDefinition)
Deprecated. Creates or updates a CohortDefinition in the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatientSearchCohortDefinitionProvider()
Method Detail |
---|
public java.lang.Class<? extends CohortDefinition> getClassHandled()
getClassHandled
in interface CohortDefinitionProvider
CohortDefinitionProvider.getClassHandled()
public Cohort evaluate(CohortDefinition cohortDefinition, EvaluationContext evaluationContext)
CohortDefinitionProvider
StaticCohortDefinitionProvider
evaluate
in interface CohortDefinitionProvider
cohortDefinition
- CohortDefinition to evaluateevaluationContext
- context to use during evaluation
CohortDefinitionProvider.evaluate(org.openmrs.cohort.CohortDefinition,
org.openmrs.report.EvaluationContext)
public java.util.List<CohortDefinitionItemHolder> getAllCohortDefinitions()
getAllCohortDefinitions
in interface CohortDefinitionProvider
CohortDefinitionProvider.getAllCohortDefinitions()
public CohortDefinition getCohortDefinition(java.lang.Integer id)
getCohortDefinition
in interface CohortDefinitionProvider
CohortDefinitionProvider.getCohortDefinition(java.lang.Integer)
public void purgeCohortDefinition(CohortDefinition cohortDefinition)
CohortDefinitionProvider
purgeCohortDefinition
in interface CohortDefinitionProvider
CohortDefinitionProvider.purgeCohortDefinition(org.openmrs.cohort.CohortDefinition)
public CohortDefinition saveCohortDefinition(CohortDefinition cohortDefinition)
CohortDefinitionProvider
saveCohortDefinition
in interface CohortDefinitionProvider
CohortDefinitionProvider.saveCohortDefinition(org.openmrs.cohort.CohortDefinition)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |