Purpose and Benefits
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.
Configuring the Reports Module
Note |
---|
To configure multiple reports module refer here. |
Follow these steps to configure the reporting module and then run reports in Bahmni
1. Configure reports app on home page:
Image RemovedGo to openmrs/apps/home/extension.json of your config and add the code snippet below:
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
"reports": {
"id": "bahmni.reports",
"extensionPointId": "org.bahmni.home.dashboard",
"type": "link",
"translationKey": "MODULE_LABEL_REPORTS_KEY",
"url": "../reports/#/dashboard",
"icon": "fa-user",
"order": 8,
"requiredPrivilege": "app:reports"
} |
Key Fields
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 |
Tip |
---|
|
Child pages (Children Display) |
---|
|
|