I am currently working on the Jira issue REPORT-823 and have run into issues attempting to access the members of a cohort.
From the OpenMRS Core, the Cohort class contains the method getMemberIds() which has been deprecated since 2.1.0 because “cohorts are more complex than just a set of patient ids, so there is no one-line replacement.”
What is the replacement for getting the members of a cohort?
@dkayiwa@mozzy, the Reporting Module’s POM seems to be depending on an older version of OpenMRS. Should I update the POM so the above methods are compatible or would it be better to keep the backwards compatibility and continue to use the deprecated getMemberIds() method?