OpenMRSCohortService

public interface OpenMRSCohortService

Service responsible for managing cohorts on the OpenMRS servers.

Methods

getCohortQueryReport

CohortQueryReport getCohortQueryReport(String configName, String cohortQueryUuid, Map<String, String> parameters)

Gets the Cohort Query report from the OpenMRS server with given parameters. The Cohort Query is identified by UUID. Configuration with the given configName will be used while performing this action.

Parameters:
  • configName – the name of the configuration
  • cohortQueryUuid – the cohort query uuid
  • parameters – the additional parameters
Returns:

the cohort query report