@Deprecated public class PatientSearchCohortDefinitionProvider extends java.lang.Object implements CohortDefinitionProvider
PatientSearch
objects that are saved
in the report_object table, but exposes them as CohortDefinition
Constructor and Description |
---|
PatientSearchCohortDefinitionProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PatientSearchCohortDefinitionProvider()
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 evaluationCohortDefinitionProvider.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)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.