-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
STOP TB Sprint 5
In the TPT Follow-Up form, there are multiple issues related to date validations and calculations:
- TPT Start Date validation is missing – The system allows selection of a start date earlier than the screening date, which should not be permitted.
- TPT Expected Completion Date is not auto-calculated based on the selected regimen and start date.
- Expected Completion Date validation is missing – The system allows selecting a date earlier than the TPT Start Date, which is logically incorrect.
- Date of TPT Outcome validation is missing - It should be mandatory field as per PRD.
Steps to Reproduce:
- Navigate to Contact Tracing → TPT Follow-Up form
- Select any TPT Regimen
- Enter a TPT Start Date before screening date
- Enter Expected Completion Date before Start Date
- Submit the form
- Now, go to TPT follow up.
- Select "Completed" in TPT outcome status.
- Observe Date of TPT outcome field.
Actual Result:
- System allows invalid TPT Start Date (before screening date)
- Expected Completion Date is not auto-calculated
- System allows Expected Completion Date before Start Date
- Date of TPT outcome field mandatory validation is missing.
Expected Result:
- TPT Start Date should not allow dates before screening date
- Expected Completion Date should be auto-calculated based on regimen duration (e.g., 6H → 6 months, 3HP → 3 months, etc.)
- Expected Completion Date should not allow dates before Start Date
- Date of TPT outcome field should be mandatory.

- relates to
-
STOP-285 Contact Tracing Module
-
- Closed
-