You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
You can enable the new BM by configuring it as an extension in bahmni_config/home/extension.json like below or as configured in default config here
"newBedManagement": { "id": "bahmni.ipd", "extensionPointId": "org.bahmni.home.dashboard", "type": "link", "translationKey": "MODULE_LABEL_BED_MANAGEMENT_KEY", "label": "InPatient", "url": "../bedmanagement/#/home", "icon": "fa-bed", "order": 7, "requiredPrivilege": "app:adt" }
The new Bed Management Application is configured by typical app config in form a app.json file placed within "bahmni_config/openmrs/apps/ipd/". You can refer to this file as an example
Add the configuration in extension.json file in the ipd folder here https://github.com/Bahmni/default-config/blob/master/openmrs/apps/adt/extension.json
The extension that you need to implement is "org.bahmni.patient.search"
This tab is used to view the the list of patients who are asked to admit.
"bahmniAdtPatientsSearchPatientsToAdmit":{ "id": "bahmni.adt.patients.search.patientsToAdmit", "extensionPointId": "org.bahmni.patient.search", "type": "config", "extensionParams": { "searchHandler": "emrapi.sqlSearch.patientsToAdmit", "translationKey": "MODULE_LABEL_TO_ADMIT_KEY", "forwardUrl":"#/bedManagement/patient/{{patientUuid}}" }, "label": "To Admit", "order": 1, "requiredPrivilege": "app:adt" }
This tab is used to view the the list of patients who are already admitted.
"bahmniAdtPatientsSearchPatientsAdmitted":{ "id": "bahmni.adt.patients.search.patientsAdmitted", "extensionPointId": "org.bahmni.patient.search", "type": "config", "extensionParams": { "searchHandler": "emrapi.sqlSearch.admittedPatients", "translationKey": "MODULE_LABEL_ADMITTED_KEY", "forwardUrl" : "#/bedManagement/patient/{{patientUuid}}" }, "label": "Admitted", "order": 2, "requiredPrivilege": "app:adt" }
This tab is used to view the the list of patients who have to be discharged.
"bahmniAdtPatientsSearchPatientsToDischarge":{ "id": "bahmni.adt.patients.search.patientsToDischarge", "extensionPointId": "org.bahmni.patient.search", "type": "config", "extensionParams": { "searchHandler": "emrapi.sqlSearch.patientsToDischarge", "translationKey": "MODULE_LABEL_TO_DISCHARGE_KEY", "forwardUrl" : "#/bedManagement/patient/{{patientUuid}}" }, "label": "To Discharge", "order": 3, "requiredPrivilege": "app:adt" }
This tab is used to view the the list of patients who have to be admitted.
"bahmniAdtPatientsSearchAllPatients":{ "id": "bahmni.adt.patients.search.allPatients", "extensionPointId": "org.bahmni.patient.search", "type": "config", "extensionParams": { "translationKey": "MODULE_LABEL_ALL_KEY", "forwardUrl" : "#/bedManagement/patient/{{patientUuid}}" }, "label": "All", "order": 4, "requiredPrivilege": "app:adt" }
On this Page
Admit, Discharge and Transfer Patients
Ward Management
In-Patient Management (IPD) - Feature Guide
In-Patient Management (IPD) - User Guide