Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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. The steps below show how you can add an additional "Bahmni App" for reporting purposes, with its own report configuration.
Steps
To configure a new app for reports,
in home/extension.json add a new module with parameter appName=“new_reports_name"
Code Block language js linenumbers true "bahmni_exports": { "id": "bahmni.reports", "extensionPointId": "org.bahmni.home.dashboard", "type": "link", "translationKey": "MODULE_LABEL_EXPORTS_KEY", "url": "../reports/#/dashboard?appName=new_reports_name, "icon": "icon-bahmni-reports", "order": 6, "requiredPrivilege": "app:reports" }
- Create a new directory with name “new_reports_name” under openmrs/apps directory. Add reports.json to this directory.
- For internationalization, create a directory under openmrs/i18n with the name "new_reports_name".
- .
Tip | ||
---|---|---|
| ||
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||