Search in sources :

Example 1 with CountConverter

use of org.openmrs.module.reporting.data.converter.CountConverter in project openmrs-module-pihcore by PIH.

the class PihEncounterDataLibrary method getNumberOfProviders.

@DocumentedDefinition
public EncounterDataDefinition getNumberOfProviders() {
    EncounterProviderDataDefinition dd = new EncounterProviderDataDefinition();
    dd.setSingleProvider(false);
    return new ConvertedEncounterDataDefinition(dd, new CountConverter());
}
Also used : CountConverter(org.openmrs.module.reporting.data.converter.CountConverter) ConvertedEncounterDataDefinition(org.openmrs.module.reporting.data.encounter.definition.ConvertedEncounterDataDefinition) EncounterProviderDataDefinition(org.openmrs.module.reporting.data.encounter.definition.EncounterProviderDataDefinition) DocumentedDefinition(org.openmrs.module.reporting.definition.library.DocumentedDefinition)

Aggregations

CountConverter (org.openmrs.module.reporting.data.converter.CountConverter)1 ConvertedEncounterDataDefinition (org.openmrs.module.reporting.data.encounter.definition.ConvertedEncounterDataDefinition)1 EncounterProviderDataDefinition (org.openmrs.module.reporting.data.encounter.definition.EncounterProviderDataDefinition)1 DocumentedDefinition (org.openmrs.module.reporting.definition.library.DocumentedDefinition)1