@Deprecated public interface DataSetProvider
DataSetDefinition
to a DataSet
.
This is one of three interfaces that work together to define and evaluate an OpenMRS DataSet. You
need to implement all three of DataSetProvider, DataSetDefinition
, and DataSet
in order to get useful behavior. For example: RowPerObsDataSetProvider
,
RowPerObsDataSetDefinition
, and RowPerObsDataSet
The metadata that describes what data will be produced is defined in DataSetDefinition
The logic that evaluates that metadata goes in an implementation of this interface. After
evaluation, the data is represented by a DataSet
.
DataSetDefinition
,
DataSet
Modifier and Type | Method and Description |
---|---|
boolean |
canEvaluate(DataSetDefinition dataSetDefinition)
Deprecated.
|
DataSet |
evaluate(DataSetDefinition dataSetDefinition,
Cohort inputCohort,
EvaluationContext evalContext)
Deprecated.
Evaluate a dataset on a given input cohort (which may be null, and may be ignored by some
data sets)
|
boolean canEvaluate(DataSetDefinition dataSetDefinition)
dataSetDefinition
- DataSet evaluate(DataSetDefinition dataSetDefinition, Cohort inputCohort, EvaluationContext evalContext)
dataSetDefinition
- inputCohort
- DataSet
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.