Provider Acknowledgement for Emergency Medication Administered by Ward Nurse
Overview
In an Inpatient Department (IPD) setting, it is essential to document and acknowledge emergency medications administered by ward nurses without a prior prescription (Rx) reference. The newly added 'Notifications' tab in the Clinical module enables providers to confirm these emergency administrations, ensuring accurate record-keeping and continuity of patient care.
Configurations
Configure Notification Tab in the Clinical Module
The openmrs/apps/clinical/extension.json
file is crucial for configuring the 'Notifications' tab within the Clinical module. This file defines how the tab appears, where it is placed in the module, and who can access it.
By setting up this configuration, the Provider Acknowledgement (Notification) tab is seamlessly integrated into the Clinical module, providing healthcare providers with a streamlined interface for acknowledging emergency medication administrations.
{
"bahmniClinicalPatientsCustomNotifications": {
"id": "bahmni.clinical.patients.custom.notifications",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"translationKey": "MODULE_LABEL_NOTIFICATIONS_KEY",
"templateUrl": "/bahmni_config/openmrs/apps/clinical/customQueues/notifications.html",
"view": "custom"
},
"label": "Notifications",
"order": 4,
"requiredPrivilege": "app:clinical"
}
}
Add the Tab’s label in openmrs/i18n/clinical/locale_en.json
{
"MODULE_LABEL_NOTIFICATIONS_KEY": "Notifications"
}
The locale_en.json
file is part of the internationalization (i18n) system in OpenMRS. This file contains the translation keys and their corresponding English values, enabling the application to display the appropriate text based on the user’s language settings. For the 'Notifications' tab, this file ensures that the tab’s label is correctly translated and displayed.
Define the Notification Interface
Now define your own custom Notification interface here in openmrs/apps/clinical/customQueues/notifications.html
in clinic config.
The notifications.html
file is the HTML template that defines the structure and content of the 'Notifications' tab. This template dictates how the information within the tab is displayed to the user, including the layout, elements, and overall user interface. This file is essential for creating a user-friendly experience that allows healthcare providers to efficiently acknowledge emergency medication administrations.
Bahmni provides a template for the same and add the following to openmrs/apps/clinical/customQueues/notifications.html
.
<mfe-next-ui-provider-notifications></mfe-next-ui-provider-notifications>
Define the SQL query to fetch the Unacknowledged Medications
Below is an example of how emergencyMedicationToAcknowledge
can be introduced via the initializer:
Conclusion
This implementer guide outlines the configuration of the Provider Acknowledgement (Notifications) tab in the Clinical module, specifically designed for the provider acknowledgment of emergency medication administered by ward nurses. Proper implementation ensures accurate documentation and review of all emergency medications, enhancing patient safety and care continuity.
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)