@Deprecated
public interface CohortDefinitionProvider
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.
|
java.lang.Class<? extends CohortDefinition> getClassHandled()
java.util.List<CohortDefinitionItemHolder> getAllCohortDefinitions()
CohortDefinition getCohortDefinition(java.lang.Integer id)
id
- CohortDefinition saveCohortDefinition(CohortDefinition cohortDefinition)
cohortDefinition
- void purgeCohortDefinition(CohortDefinition cohortDefinition)
cohortDefinition
- Cohort evaluate(CohortDefinition cohortDefinition, EvaluationContext evaluationContext)
StaticCohortDefinitionProvider
cohortDefinition
- CohortDefinition to evaluateevaluationContext
- context to use during evaluationCopyright © 2018 OpenMRS Inc.. All Rights Reserved.