-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
Multiple issues observed in the Follow-Up module related to validation, field behavior, and default values:
- Follow-Up Date Validation Missing:
- No validation present for follow-up date.
- System allows invalid or incorrect date selection.
- Actual Treatment Completion Date Error:
- Error is displayed on second click of submit button even when data is correct.
- Validation Missing for Date of Death Field:
- No validation applied on Date of Death field.
- Incorrect or empty values are allowed.
- Reason for Death Not Prefilled:
- "Reason for Death" field is not auto-filled as "Tuberculosis" for TB beneficiaries as expected.
- Submit Button Behavior Issue:
- Submit button remains enabled even after completing follow-up.
- It should be disabled once follow-up is submitted to prevent duplicate entries.
Steps to Reproduce:
- Navigate to Follow-Up module.
- Fill form with different combinations:
- Leave date fields invalid/empty.
- Submit form multiple times.
- Check death-related fields.
- Observe validation behavior and button state.
Expected Result:
- Proper validation should be applied on:
- Follow-Up Date
- Actual Treatment Completion Date
- Date of Death
- "Reason for Death" should be auto-filled as "Tuberculosis" where applicable.
- Submit button should be disabled after successful submission.
Actual Result:
- Missing validations on key fields.
- Incorrect error behavior on second submit.
- Reason for Death not prefilled.
- Submit button remains active after submission.
- blocks
-
STOP-42 Record treatment completion and outcomes so that cure, failure or death can be reported
-
- In QA
-