@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 CohortDefinitionProviderCohortDefinitionProvider.getClassHandled()public Cohort evaluate(CohortDefinition cohortDefinition, EvaluationContext evaluationContext)
CohortDefinitionProviderStaticCohortDefinitionProviderevaluate in interface CohortDefinitionProvidercohortDefinition - 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 CohortDefinitionProviderCohortDefinitionProvider.getAllCohortDefinitions()public CohortDefinition getCohortDefinition(java.lang.Integer id)
getCohortDefinition in interface CohortDefinitionProviderCohortDefinitionProvider.getCohortDefinition(java.lang.Integer)public void purgeCohortDefinition(CohortDefinition cohortDefinition)
CohortDefinitionProviderpurgeCohortDefinition in interface CohortDefinitionProviderCohortDefinitionProvider.purgeCohortDefinition(org.openmrs.cohort.CohortDefinition)public CohortDefinition saveCohortDefinition(CohortDefinition cohortDefinition)
CohortDefinitionProvidersaveCohortDefinition in interface CohortDefinitionProviderCohortDefinitionProvider.saveCohortDefinition(org.openmrs.cohort.CohortDefinition)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.