Enhance “Reason for Death” Logic and Dropdown Configuration in ASHA HBNC & HBYC Modules

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: High
    • 2.7
    • Affects Version/s: None

      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

              Assignee:
              Deep Shikha
              Reporter:
              Rohit.Prajapati
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: