use of org.openmrs.module.reporting.data.converter.BooleanConverter in project openmrs-module-pihcore by PIH.
the class BaseEncounterDataSetManager method addCoreEncounterColumns.
/**
* Add columns that describe the common elements of encounters
*/
protected void addCoreEncounterColumns(EncounterDataSetDefinition dsd) {
addColumn(dsd, getEncounterColumnPrefix() + "_date", builtInEncounterData.getEncounterDatetime());
addColumn(dsd, getEncounterColumnPrefix() + "_location", builtInEncounterData.getLocationName());
addColumn(dsd, getEncounterColumnPrefix() + "_provider", pihEncounterData.getEncounterProvider());
addColumn(dsd, getEncounterColumnPrefix() + "_retrospective", new RetrospectiveEncounterDataDefinition(), new BooleanConverter());
}
Aggregations