BIRT Report Module Design
Background
The BIRT module is used to create, execute and display BIRT content using the reporting engine and OpenMRS data. So, we're looking for a design with the following requirements.
Module design
This is the current phase of the design to be enhanced over time.
List Reports
Report (Report design(s) or dataset(s) generation)
Download Report Design and DataSets
Create a New Report
Edit Report
View All Reports
Convert and Download Report
*
*
I'm a little confused by the requirements above. The reporting module already provides user interfaces for creating a new report definition, adding one or more datasets into the report definition, specifying one or more renderers that can produce a report from this report definition, and uploading design files for renderers as appropriate. It also provides a UI for viewing all existing report definitions, including filtering and pagination, editing and deleting. None of this is really required for this project, particularly in the first pass, so I do not think implementing any of the above mockups is desirable.
Regarding the list of requirements:
Any "publishing" of report definitions should happen as a general reporting module enhancement and there is already a ticket for this work. It is outside the scope of the BIRT module integration project.
I see the actual BIRT report design process as happening outside of OpenMRS in an external BIRT Report Design tool. So I do not see how "previewing report before saving to OpenMRS" fits in.
In general I think the requirements of the module can be summed up as:
Implement a ReportRenderer that can take a ReportDefinition and a BIRT Report Design file and produce appropriate, accurate rendered outputs
Provide tools (either via an ODA driver, web services, etc) in OpenMRS to facilitate authoring and previewing a report within an external BIRT report designer.
Implement everything (including any BIRT library dependencies) in a module so that someone who wishes to use the BIRT module does not need to install any additional dependencies on their server in order to do so.