Malaria Confirm Case – ‘Treatment Given’ Field Issues, Missing Day‑Wise Tracking Options, and Date Field Restrictions [FLW‑436]

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 2.5
    • 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:

      1. 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.

        1. image-2025-08-11-14-39-46-207.png
          94 kB
          Pratiksha Pandey
        2. image-2025-08-11-15-30-37-104.png
          23 kB
          Pratiksha Pandey
        3. image-2025-08-11-15-31-02-737.png
          101 kB
          Pratiksha Pandey
        4. image-2025-08-18-14-40-41-726.png
          93 kB
          Pratiksha Pandey
        5. image-2025-08-18-14-41-13-310.png
          90 kB
          Pratiksha Pandey

              Assignee:
              Pratiksha Pandey
              Reporter:
              Pratiksha Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: