Hi,
I have installed Bahmni and by using a bash script I want to remove (or hide) any tab within the Clinical module.
Any suggestions how I can do this ? Or at least where I can locate where are these tabs specified within the files ?
Hi,
I have installed Bahmni and by using a bash script I want to remove (or hide) any tab within the Clinical module.
Any suggestions how I can do this ? Or at least where I can locate where are these tabs specified within the files ?
You can remove the unwanted “Patient Queue Tab” from following configuration:
I.e. If we want to remove Tab “Program” we will remove following configuration from “/openmrs/apps/clinical/extension.json” path here
"bahmniClinicalPatientsSearchActivePatientsForPrograms": {
"id": "bahmni.clinical.patients.search.activePatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.activePatients",
"translationKey": "MODULE_LABEL_PROGRAMS_KEY",
"forwardUrl": "#/default/patient/{{patientUuid}}/consultationContext"
},
"label": "Active",
"order": 1,
"requiredPrivilege": "app:clinical" },
For more details refer Bahmni wiki
Thank you for the answer. I was expecting that there is a specific “property” which might be added for hiding at least the tab. Some kind of visibility: false or smth similar, without the need of removing the whole section.