-
Type:
Task
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
FLW Sprint 35
-
FLW Mobile App
-
All
Implement conditional logic and dropdown configuration for the “Reason for Death” section in the HBNC and HBYC modules (ASHA workflow).
Requirements:
1. Field Behavior
- Field: Reason for Death
- Field Type: Dropdown / Spinner
- Default Value: Yes
2. Conditional Logic (when user selects “No”)
If “No” is selected:
- Enable and make mandatory the following fields:
- Date of Death (Date Picker)
- Reason for Death (Dropdown)
- Place of Death (Text or Dropdown as per existing structure)
- Disable next follow-up home visits:
-
- Visits: Day 3, 7, 14, 21, 28, and 42
- Disable all fields from Serial No. 9 to 24 in the HBNC form.
- Update Beneficiary record:
-
- Set Beneficiary Status = “Death”
- Save and sync the following to AMRIT:
- Date of Death
- Reason for Death
-
-
- Place of Death
-
- Hide child record from:
-
- HBYC Visits
-
- Immunization Section