Search in sources :

Example 6 with EncounterProviderDataDefinition

use of org.openmrs.module.reporting.data.encounter.definition.EncounterProviderDataDefinition in project openmrs-module-pihcore by PIH.

the class PihObsDataLibrary method getEncounterProvider.

@DocumentedDefinition
public ObsDataDefinition getEncounterProvider() {
    EncounterProviderDataDefinition epdd = new EncounterProviderDataDefinition();
    epdd.setSingleProvider(true);
    return new EncounterToObsDataDefinition(epdd);
}
Also used : EncounterToObsDataDefinition(org.openmrs.module.reporting.data.obs.definition.EncounterToObsDataDefinition) EncounterProviderDataDefinition(org.openmrs.module.reporting.data.encounter.definition.EncounterProviderDataDefinition) DocumentedDefinition(org.openmrs.module.reporting.definition.library.DocumentedDefinition)

Aggregations

EncounterProviderDataDefinition (org.openmrs.module.reporting.data.encounter.definition.EncounterProviderDataDefinition)6 ObjectFormatter (org.openmrs.module.reporting.data.converter.ObjectFormatter)4 ConvertedEncounterDataDefinition (org.openmrs.module.reporting.data.encounter.definition.ConvertedEncounterDataDefinition)4 DocumentedDefinition (org.openmrs.module.reporting.definition.library.DocumentedDefinition)4 PropertyConverter (org.openmrs.module.reporting.data.converter.PropertyConverter)3 Person (org.openmrs.Person)2 Provider (org.openmrs.Provider)2 Date (java.util.Date)1 Drug (org.openmrs.Drug)1 Location (org.openmrs.Location)1 ChainedConverter (org.openmrs.module.reporting.data.converter.ChainedConverter)1 CollectionConverter (org.openmrs.module.reporting.data.converter.CollectionConverter)1 CountConverter (org.openmrs.module.reporting.data.converter.CountConverter)1 DateConverter (org.openmrs.module.reporting.data.converter.DateConverter)1 EncounterDatetimeDataDefinition (org.openmrs.module.reporting.data.encounter.definition.EncounterDatetimeDataDefinition)1 EncounterLocationDataDefinition (org.openmrs.module.reporting.data.encounter.definition.EncounterLocationDataDefinition)1 ObsForEncounterDataDefinition (org.openmrs.module.reporting.data.encounter.definition.ObsForEncounterDataDefinition)1 EncounterToObsDataDefinition (org.openmrs.module.reporting.data.obs.definition.EncounterToObsDataDefinition)1 ObsDataSetDefinition (org.openmrs.module.reporting.dataset.definition.ObsDataSetDefinition)1 Parameter (org.openmrs.module.reporting.evaluation.parameter.Parameter)1