Quick User Logout

The Quick User Logout feature allows users to log out of Bahmni quickly using a keyboard shortcut (Cmd/Ctrl + Esc). This is particularly useful in hospital settings and other environments with shared terminals, where users often need to log off quickly to enable another user, such as another nurse on the same shift, to log in. This ensures that each user can enter patient-specific information using their own credentials, maintaining accuracy and accountability.

To facilitate this quick logout from screens across Bahmni, we are introducing a shortcut key (Cmd/Ctrl + Esc) for logging out.

The Quick logout shortcut key will be functional only on pages where a logout button is available in the header.

Demonstration of Quick Logout: The default key combination "Cmd/Ctrl + Esc" logs the user out.

Usage Instructions

  1. Logging In: Log into Bahmni as usual with your credentials.

  2. Logging Out: On any page with a logout button in the header, press Cmd/Ctrl + Esc.

Configurability

The key combination for logout can be customized. If Cmd/Ctrl + Esc is not suitable, you can change it to another combination by updating the quickLogoutComboKey global property.

You can change the quickLogoutComboKey global property through:

  1. Initializer: Heading over to the globalproperties subfolder in bahmni-config. This subfolder contains XML configuration files that specify which global properties to override. Add the quickLogoutComboKey, with the desired combination keys as the value.

Global properties XML configuration file example:
<config> <globalProperties> <globalProperty> <property>bahmni.quickLogoutComboKey</property> <value>Escape</value> <description>Secondary shortcut key used for quick user logout</description> </globalProperty> </globalProperties> </config>

The above XML configuration will set bahmni.quickLogoutComboKey to use the Escape key as the secondary shortcut key used for quick user logout.

  1. Advanced Settings: Head over to Advanced Settings Tab and update the secondary shortcut key used for quick user logout.

Feedback

For feedback or issues with the Quick User Logout feature, please file an issue on the Bahmni GitHub or contact support through the Bahmni Community Forum.

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)