I think we can aggregate both Bahmni Reports and OpenMRS reports in one app but not on the same page. Bahmni Reports take startDate and endDate parameters to run the report. But OpenMRS has option to take lot of parameters types along with Date like concept, Location, Person, Boolean, User, Program…etc, though we are restricting the first version of our application to starDate and endDate.
yes…I was enabling the Download button once the reportRequest call was successful. The drawback with this approach is, user doesn’t know when the report is ready to download. He has to keep on clicking the Download button. It will be a problem when it comes to report which takes more than 1-2 minutes to process.
For this, one option is to enable the Download button only when the report is available for download. Then the user can click and download the report. This will give an option to download the same report multiple times. Or we can remove the download button as you mentioned.
yes…I have made code changes and updated the existing PR to support for queueing reports. As far as I know, the scope for the reporting UI app is to run the reports which takes startDate and endDate as parameters. This doesn’t include the queueing of the reports. @mksd can you please confirm.