Reporting is an essential feature of any EMR. The data that is stored in the EMR needs to be exported and analyzed. Bahmni provides a reporting module for the same. There are some standard reports that come as a part of the reporting module and the implementer also has the ability to define some custom reports.
These are the attributes of the above configuration
Key
Use
Mandatory
"id"
Specific Id for reports app.
Yes
"extensionPointId"
Needed for configuring the reports.
Yes
"type"
Making reports app link on home page.
Yes
"translationKey"
Show name in particular locale used by app.
Yes
"url"
To redirect to reports page.
Yes
"icon"
To display icon.
No
"order"
Display in specific order.
No
"requiredPrivilege"
This is needed privilege for displaying reports module.
Yes
When two factor authentication is enabled, add 'bypass2fa' role to reports-user in openmrs to aviod authentication problems while running reports.
Reports SSL certificate configuration:
This allows implementer to configure to establish a trusted or untrusted connection to reports server based on the available certificates.
Default Behaviour
By default, all the SSL certificates are trusted.
Overriding the default behaviour
Default behaviour of reports service connection can be overriden by reconfiguring following property values from bahmni-reports.properties file found in /etc/bahmni-reports folder
Example
reports.trust.ssl.connections=false
In this case if ssl certificate is untrusted, reports will be queued, but will not be generated, instead shows status as "Error"