Search in sources :

Example 1 with EncounterToObsDataDefinition

use of org.openmrs.module.reporting.data.obs.definition.EncounterToObsDataDefinition 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)1 EncounterToObsDataDefinition (org.openmrs.module.reporting.data.obs.definition.EncounterToObsDataDefinition)1 DocumentedDefinition (org.openmrs.module.reporting.definition.library.DocumentedDefinition)1