Compatibility
- BIRT Report Module 2.5.2.1 requires BIRT Runtime 2.5.2
- BIRT Report Module 2.1 requires BIRT Runtime 2.3.2
- BIRT Report Module 2.0 requires BIRT Runtime 2.3.1
- BIRT Report Module 1.9 requires BIRT Runtime 2.2.2
- BIRT Report Module 1.8 requires BIRT Runtime 2.2.2
- BIRT Report Module 1.7 requires BIRT Runtime 2.2.2
- BIRT Report Module 1.6 requires BIRT Runtime 2.2.2
- BIRT Report Module 1.5 requires BIRT Runtime 2.2.2
- BIRT Report Module 1.4 requires BIRT Runtime 2.2.1.1 (can be compiled from source)
- BIRT Report Module 1.3 requires BIRT Runtime 2.2.1 (can be compiled from source)
- BIRT Report Module 1.2 requires BIRT Runtime 2.2.0
- BIRT Report Module 1.1 requires BIRT Runtime 2.2.0 (can be compiled from source)
- BIRT Report Module 0.6 requires BIRT Runtime 2.2.0
- BIRT Report Module 0.3 requires BIRT Runtime 2.2.0 (can be compiled from source)
- BIRT Report Module 0.2 requires BIRT Runtime 2.2.0
Download & Install
- BIRT RCP Designer (click RCP Designer)
- BIRT Runtime Engine (click Runtime)
- BIRT Report Module
Installation Instructions
Install BIRT RCP Desginer
- Download the latest BIRT RCP Designer (click RCP Designer button).
- Extract the BIRT RCP Designer Engine to your local file system (i.e. c:/birt-rcp-report-designer-2_2_0)
Install BIRT Runtime Engine
- Download the latest compatible BIRT Runtime Engine (click Runtime button).
- Extract the BIRT Runtime Engine to your local file system (i.e. c:/birt-runtime-2_2_0)
- Note the path to the BIRT Runtime Engine (it will be used later)
- If you need to generate PDF reports, make sure to follow any extra instructions on the BIRT Download page. Look for a section titled "Need to Output to PDF?". For the record, I'm not including the instructions here because they will likely be outdated within a few weeks/months.
Install MySQL Driver
To install the MySQL Driver into BIRT Runtime Engine
- Download the MySQL driver from OpenMRS source
- Copy file to BIRT Runtime Plugin directory
- For example, PATH_TO_BIRT_RUNTIME\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_2.3.1.v20080827\drivers
To Install MySQL Driver into BIRT Report Designer
- Open BIRT Report Designer
- Create New Data Source > JDBC Data Source
- Manage Drivers ...
- Add ...
- Locate the appropriate MySQL driver
- Click Open
- Click Ok
To create a new SQL Data Source in the BIRT Report Designer
- Open BIRT Report Designer
- Create New Data Source > JDBC Data Source
- Enter properties
- Driver Class: com.mysql.jdbc.Driver (v3.1)
- Database URL: jdbc:mysql://localhost:3306/openmrs?autoReconnect=true
- User Name: your db username
- Password: your db password
- Click 'Test Connection ...'
- Click 'Finish'
Install BIRT Report Module to OpenMRS
Install BIRT Report Module
- Download the latest BIRT Report Module (click the Download button).
- Login to OpenMRS as an administrator
- Navigate to Administration > Manage Modules
- Browse for .omod file that you downloaded
- Click the Add Module button
Edit Global Properties
Assuming you are logged in as an Administrator:
- Navigate to Administration > Manage Global Properties
- Enter values for the BIRT global properties
- Click Save at the bottom of the page
- birt.birtHome
Specifies the absolute path to the BIRT Report Engine. Must include ReportEngine subdirectory.
Example: C:/Java/birt-runtime-2_2_2/ReportEngine
- birt.datasetDir
Specifies the absolute path to the reports dataset directory (for CSV/XML data sources).
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/datasets
- birt.defaultReportDesignFile
Specifies the name of the default report design file. Not implemented yet.
Example: default.rptdesign
- birt.imageDir
Specifies the absolute path to the image directory where BIRT will find generated charts and graphs. Not implemented yet.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/output/images
- birt.loggingDir
Specifies the absolute path for log files written by BIRT Engine.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/logs
- birt.outputDir
Specifies the absolute path to the report output file when reports are generated.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/output
- birt.reportDir
Specifies the absolute path where report design files are uploaded.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports
- birt.reportOutputFile
Specifies the absolute path to the reports output file.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/output/ReportOutput.pdf
- birt.reportOutputFormat
Default output format.
Example: pdf
- birt.reportPreviewFile
Specifies the absolute path to the report preview file.
Example: C:/Documents and Settings/Justin Miranda/Application Data/OpenMRS/reports/ReportPreview.pdf
Start BIRT Report Module
Assuming you are logged in as an Administrator:
- Naviagate to the Administration > Manage Modules
- Click the green arrow next to the BIRT Report Module
Required Privilege
The following privilege may be necessary for various activities.
- "Manage Reports" <-- Required to view lists of reports and to run reports