Incorrect Referral Handling: “No” Selection Changes to “Yes” and Results Generated for Non-Referred Cases (Chest X-ray & Truenat)

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 2.0
    • Affects Version/s: None
    • None
    • STOP TB Sprint 4, STOP TB Sprint 5

      When the user selects “No” for referral in both Chest X-ray and Truenat, and submits the form with a denial reason (e.g., {}Patient refused{_}), the system does not retain the correct selection.

      After submission and when revisiting the record or after result processing:

      • The system incorrectly shows “Yes” in the conducted field
      • Diagnostic results are generated and displayed
      • System behaves as if tests were conducted, even though the patient refused

      Steps to Reproduce:

      1. Navigate to Referral module
      2. Select:
        • Chest X-ray → No
        • Truenat → No
      3. Provide denial reason (e.g., Patient refused)
      4. Click Submit
      5. Reopen the same record / wait for result sync
      6. Observe the fields

      Expected Result:

      • Selected value “No” should persist for both modules
      • Denial reason should be saved and displayed correctly
      • No “conducted” status should be marked as Yes
      • No diagnostic results should be generated or shown

      Actual Result:

      • Value changes from “No” → “Yes” automatically
      • “Conducted” field shows Yes
      • Results are generated and displayed
      • System treats the case as completed diagnostics

         

              Assignee:
              Nidhi Saini
              Reporter:
              Nidhi Saini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: