HH Amenities – update Separate Kitchen, Source of water, Source of lighting and Type of Toilet fields

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Low
    • 2.5
    • Affects Version/s: None
    • None
    • STOP TB Sprint 10

      What to build

      Update four fields in the House Hold Amenities section of HH registration: Separate Kitchen, Source of water, Source of lighting and Toilet. Also apply the same rules to their "Other" textboxes.

      Where

      New Household Registration → House Hold Amenities section

      What exists today

      STOP-410 (Done) made the amenities fields mandatory. STOP-583 (To Do) covers "Primary source of Fuel used for cooking", so fuel is not part of this ticket.

      Requirement (as per PRD)

      Field Type Options Rule
      Is there a Separate Kitchen? Radio button Yes, No Change from spinner to radio button.
      Primary Source of water Dropdown Tap Water, Handpump Inside House, Handpump Outside House, Well, Tank, River, Pond, Other Single select (was multi-select). Mandatory.
      Other Source of Water Textbox — Enabled if "Other" is selected above, and Mandatory. Accept alphabets only. Character limit 50. Also allow Speech to Text.
      Primary source of lighting Dropdown Electricity Supply, Generator, Solar Power, Kerosene Lamp, Solar lamps, Other Rename from "Availability of Electricity". Add "Solar lamps". Single select. Mandatory.
      Other Primary source of lighting Textbox — Enabled if "Other" is selected above, and Mandatory. Accept alphabets only. Character limit 50. Also allow Speech to Text.
      Availability of Toilet (Type of Toilet) Spinner Flush Toilet with Running Water, Flush Toilet without Water, Pit Toilet with Running Water Supply, Pit Toilet without Water Supply, None, Other Show label as "Availability of Toilet (Type of Toilet)". Single selection. Mandatory.
      Other Type of Toilet Textbox — Rename from "Other Availability of Toilet". Enabled if "Other" is selected above, and Mandatory. Accept alphabets only. Character limit 50. Also allow Speech to Text.

      Checks

      1. "Is there a Separate Kitchen?" shows Yes / No as radio buttons.
      2. Primary Source of water allows only one selection and cannot be left blank.
      3. Primary source of lighting shows the new label and 6 options including "Solar lamps"; only one can be selected; it cannot be left blank.
      4. Toilet field shows the label "Availability of Toilet (Type of Toilet)", allows one selection, and cannot be left blank.
      5. For water, lighting and toilet: selecting "Other" shows its textbox, which is mandatory, accepts alphabets only, up to 50 characters, and supports Speech to Text.
      6. The textbox is hidden when "Other" is not selected.

      PRD reference

      TBMJA PRD – New Household Registration → House Hold Amenities
      https://pmp.piramalswasthya.org/confluence/spaces/AMRIT/pages/149487638/TBMJA+PRD

      Related: STOP-410, STOP-583

              Assignee:
              Deepak Kumar
              Reporter:
              Shivani Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: