-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Low
-
Affects Version/s: None
-
None
-
STOP TB Sprint 10
What to build
In the Non Household (Non HH) section, ask "Place of current living" before the beneficiary registration form opens, and give a button on the Non HH beneficiary card to link the beneficiary to an existing HH or create a new HH.
Where
Home >> Non HH section >> Add Beneficiary button
What exists today
STOP-140 (Done) built the Non HH list, the "No HH" flag (cross on the home icon), and linking to an HH from the Beneficiary Card edit screen. The fields and button below are not built.
Requirement (as per PRD)
1. Place of current living
Ask this question before the Beneficiary registration form opens (or as the first question at the top of the form).
| Field | Type | Options | Rule |
|---|---|---|---|
| Place of current living | Dropdown | Footpath, Railway Platform, Bus Station, Under a Tree, In a Temple, In a Mosque, In a Church, Any other Praying place, Educational Institution (School/ College), Ekalavya School, Rehabilitation center, Orphanage Home, Old Age Home, Private Hostel, Govt Hostel, NGO's Hostel, Other | — |
| Other places | Free textbox | — | Show only if "Other" is selected. Allow 200 characters. |
| Name of the institution | Textbox | — | Show only if one of these is selected: Educational Institution (School/ College), Rehabilitation center, Orphanage Home, Old Age Home, Private Hostel, Govt Hostel, NGO's Hostel |
Once this is completed, the beneficiary registration form opens and captures all the individual details.
2. Button on the Non HH beneficiary card
On the Non HH ben card, give a button with two options:
- Link to an existing HH
- Create a new HH
When the beneficiary is linked or a new HH is created, the card moves to the HH list.
Checks
- Given I tap Add Beneficiary in the Non HH section, when the screen opens, then "Place of current living" is asked first with all 17 options.
- Given I select "Other", then the "Other places" textbox appears and accepts up to 200 characters.
- Given I select any of the 7 institution options listed above, then "Name of the institution" appears.
- Given any other option is selected, then neither extra field is shown.
- Given a Non HH beneficiary card, when I tap the new button, then I can choose "Link to an existing HH" or "Create a new HH".
- Given the beneficiary is linked or a new HH is created, then the card moves to the HH list.
Questions to confirm
- Is "Place of current living" mandatory? Is "Name of the institution" mandatory when shown? (PRD does not say.)
- Should "Place of current living" be a separate screen before the form, or the first question on the form? (PRD allows either.)
PRD reference
TBMJA PRD – 3.2.1 Home Tab → Non House Hold list
https://pmp.piramalswasthya.org/confluence/spaces/AMRIT/pages/149487638/TBMJA+PRD
Related: STOP-140