Configure Multiple Report Apps
- Prabhu Awasthi
- Gurpreet Luthra
- Shireesha Bongarala
- Teresa Gracias
Owned by Prabhu Awasthi
Purpose and Benefits
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"
"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".
On this Page
Feature Details
Usage Details
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)