DOB/Age Selection and Conditional School Fields for Newborn/Child/Adolescent Registration (Age 0 to <15 Years)

XMLWordPrintable

      As an ASHA I want to enter a child’s details using either Date of Birth or Age, with automatic calculations and appropriate field enable/disable rules, so that I can accurately register newborns, children, and adolescents and ensure the correct mandatory fields appear based on age.

      Acceptance Criteria

      1. The following fields and rules apply only when the beneficiary’s age is 0 to <15 years (Newborn/Child/Adolescent Registration).

      DOB or Age Selection

      2. The ASHA must select either:

      • Date of Birth, OR
      • Age

      Only one of these options should be entered (mutually exclusive).

      Date of Birth Field

      3. When the ASHA selects Date of Birth:

      • Display a Calendar Date Picker.
      • The field is Mandatory.

      4. When DOB is entered:

      • The system must auto-calculate the Age.
      • The calculated Age must fall within 0 to <15 years.
      • If the age calculation exceeds 15 years, show an appropriate validation message.

      5. When the ASHA selects Age:

      • Display Age (Textbox) and Age Unit (Mandatory).
      • Age value allowed: 0 to <15.
      • Character limit for Age: 2 digits.
      • Age Unit must be selected (mandatory).

      6. When Age + Age Unit is entered:

      • The system must auto-calculate Date of Birth.
      • The calculated DOB must belong to 0 to <15 years range.

      Conditional School-Related Fields

      These rules apply ONLY when Age is >3 and <15 years (strict range: 4 to 14 years).

      7. If Age >3 and <15, enable the following fields:

      • Is the Child Registered at School? (Yes/No)
      • Type of School/Institution

      8. If user selects "Yes" for Is the Child Registered at School?:

      • The Type of School/Institution field becomes enabled and mandatory.

      9. If user selects "No":

      • The Type of School/Institution field remains disabled and not mandatory.

      Mandatory Field for Ages 3–6

      10. For children aged 3 to 6 years (inclusive), the field Is the Child Registered at School? becomes mandatory, regardless of Yes/No selection.

              Assignee:
              Deep Shikha
              Reporter:
              Shashank Kharkwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: