|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface DataSetProvider
Implementations of this interface perform the work of converting from a 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
Method Summary | |
---|---|
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) |
Method Detail |
---|
boolean canEvaluate(DataSetDefinition dataSetDefinition)
dataSetDefinition
-
DataSet evaluate(DataSetDefinition dataSetDefinition, Cohort inputCohort, EvaluationContext evalContext)
dataSetDefinition
- inputCohort
-
DataSet
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |