-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
FLW Mobile App
-
AMRIT Demo
Description:
On the Malaria Confirm Case page (including follow‑up workflows), multiple related issues are identified on a single screen:
1. ‘Treatment Given’ should be mandatory, but validation is inconsistent
2. Missing Day‑Wise Tracking Options – Pf Cases
3. Missing Day‑Wise Tracking Options – Pv Cases
4. Date Picker Restriction for ‘Date of Completion of Treatment’ & ‘Date of Referral’
5. ** ‘Date of Referral’ is currently mandatory but should be optional for cases where no referral is applicable.
Steps to Reproduce:
- Log in and navigate to Malaria → Confirm Case page.
2. Leave ‘Treatment Given’ blank and attempt to save → note if validation allows submission.
3. Select ‘Treatment Given’ for a Pf case → observe missing Day 1, Day 2, Day 3 options.
4. Select ‘Treatment Given’ for a Pv case → observe missing Day 1, Day 2, Day 3, Day 4 options.
5. For either case, open the ‘Date of Completion of Treatment’ or ‘Date of Referral’ picker → see that only the past 4 days are allowed.
6.Attempt to submit without a referral date → note that the form forces it as mandatory.
Expected Result:
1. ‘Treatment Given’ should always be mandatory before form submission.
2. Pf cases: display Day 1 – Day 3 when ‘Treatment Given’ is selected.
3. Pv cases: display Day 1 – Day 4 when ‘Treatment Given’ is selected.
4. Date pickers should allow an appropriate historical range (e.g., last 3 months).
5. ‘Date of Referral’ should be optional and only required when applicable.
Actual Result:
- ‘Treatment Given’ not consistently enforced as mandatory.
- Missing day‑wise options for both Pf and Pv cases.
- Date selection limited to past 3 days.
- ‘Date of Referral’ incorrectly enforced as mandatory.


