Patient Relationships Section Enhancement
This documentation gives insights into the enhancements done to the patient relationship section on the patient registration page.
Introduction
The patient relationships section in Bahmni plays a crucial role in capturing and managing the relationships between patients and other individuals involved in their care. Traditionally, this section allowed users to associate only patients and providers as relations. However, with the recent modifications, an expanded functionality has been introduced, enabling the addition of any person as a relation.
Overview of Existing Functionality
Prior to the modifications, the patient relationships section in Bahmni allowed users to establish relationships between patients and providers exclusively. This functionality served as a valuable tool for capturing the professional associations between patients and their healthcare providers, enabling better care coordination and facilitating communication within the healthcare system.
Notable points from the current implementation:-
A dedicated search box for the patient or provider-type relationships would list the patient or provider that we want to add as a relationship. The search results in the search box depend on the type of relationship that you choose initially.
An external link is provided against a patient who is set as a relationship (in this case, Test TB), which when clicked will redirect to that patient’s registration screen.
For provider relationships, the above-mentioned external link is not present.
Modifications from Existing Flow
As per the new relationship screen, we would be leveraging the person-management-app in order to create, search and edit a person in Bahmni. This app would be rendered as a popup in the relationship section at the click of a button. The advantage here is that we can even add a person, who is not part of Bahmni, as a relationship to the patient and also view information or even edit certain ones in the person-management-app.
Furthermore, the search boxes are also taken away since we would be displaying the person’s name in that space after selecting/creating a person from the popup.
Modified the UX like:-
New Select Person button which would render the popup containing person-management-app.
The Till date has been changed to Valid Until, which is an optional field.
Color of removing relationship button in the new and existing relationship.
Moving away from an external link to a hyperlink for the person.
New User Flow
The new flow for adding a relationship for a patient would look like this:-
Expand the Relationships tab and select the type of relationship that you want for this person from the dropdown.
Click the Select Person button which would bring up a popup screen with the search page of person-management-app in it
From here, we can either
search for a person who is already present in Bahmni and click the name which would close the popup and add that person as a relationship in the new relationship section
Or, we can click the Register New Person button in the app to create a new person, and upon clicking the register button, a modal with a success message would be shown. Once the popup automatically closes, the person would be shown as a relationship in the new relationship section.
Once the save button is clicked, the new relationship is created and will be shown in a tabular fashion.
The hyperlinks that we see on each of the people in the relationship section when clicked will bring up the person-management-app in edit view and currently, it provides editing of only the optional fields.
Conclusion
In conclusion, we have leveraged the person-management app to capture a person’s information and use them effectively to set them as a relationship for a patient in Bahmni. As of now, there is a provision to search and create a person through the person-management-app and also edit optional fields ie. email, phone numbers, and so on. Finally, certain changes in the UX front have also been made as mentioned above to enhance the user experience of relationship section.