-
Type:
Task
-
Resolution: Done
-
Priority:
Medium
-
Affects Version/s: None
-
None
-
FLW Sprint 55
-
FLW Mobile App
-
UAT
Description
The following UI changes are required to improve follow-up visibility and avoid user confusion.
1. CBAC → HWC Referral Follow-up
When a user fills in the relevant HWC referral fields, including Treatment Start Date, Follow-up Status, and Select Refer To, and submits the form, the follow-up button should update according to the follow-up status.
Expected UI Behaviour:
- Start Follow-up: Red button when follow-up has not been completed.
- Add Follow-up: Yellow button after the first follow-up is submitted, allowing users to record subsequent follow-up visits.
- View Follow-up: Green button after the follow-up is completed, allowing users to view the submitted details.
The button status and colour should update correctly for all follow-up visits. Currently, the Start Follow-up button remains red even after the user has completed the follow-up, which causes confusion.
2. Leprosy Module → Leprosy Confirmed Case
When a beneficiary's status changes from Suspected to Confirmed in the Leprosy module, the follow-up button should follow the same status-based UI behaviour.
Expected UI Behaviour:
- Start Follow-up: Red button when follow-up is pending.
- View Follow-up: Green button after the follow-up has been completed.
Acceptance Criteria
- Follow-up buttons should display the correct label and colour based on the follow-up status.
- Users should be able to add subsequent follow-up visits where applicable.
- Completed follow-ups should be accessible through the green View Follow-up button.
- The same consistent UI behaviour should be implemented for CBAC HWC referrals and Leprosy Confirmed cases.