-
Type:
Story
-
Resolution: Done
-
Priority:
Low
-
Affects Version/s: None
-
FLW Sprint 52, FLW Sprint 53
-
FLW Mobile App
-
Dev
Overview
Build the Vulnerable Population screen as a flat, patient-wise line listing — structurally the same as the household Members list used in TB Screening, except not grouped by household. Every vulnerable beneficiary appears as its own row/card regardless of household, carrying the same beneficiary details already shown in the Household Members list, plus:
- A risk-factor filter bar (filter beneficiaries by one or more of the 37 risk factors below)
- A "Vulnerability conditions" tag list per beneficiary card, showing which of the 37 risk factors apply to them
Reference prototype: Vulnerable Population Updated (standalone).html
Why this ticket
Most of the 37 risk factors have no existing field anywhere in the app today. To power the tag list and filter bar, we need to:
- Add a new multi-select "Vulnerability / Risk Factor" field on the TB Screening Form for the factors that must be manually captured (23 of 37).
- Wire up auto-tick logic for factors that can be derived from data already collected elsewhere in the app (9 of 37).
- Define follow-up/derived logic for factors tied to CBAC or HWC diagnosis workflows (5 of 37, some overlapping with #2).
Field-by-field logic
| # | Risk Factor | Source Type | Validation / Logic / Condition |
|---|---|---|---|
| 1 | Pregnancy | Auto-derived | If "Are you Pregnant" = "Yes" (Status of Woman = Pregnant Woman / Pregnant Women Registration is active) |
| 2 | Lactating mother | Auto-derived | If Status of Woman = PNC Mother List / Postnatal Mother (PNC section, within 42 days of delivery) |
| 3 | Anti-TNF treatment | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 4 | Bronchial Asthma | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 5 | Cancer | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 6 | Cardiovascular Disorder | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 7 | Contact of Known TB Patients | Auto-derived | TB Screening Form already asks "Anyone in Family Currently Suffering from TB" (Yes/No). Auto-tick this factor when that answer = "Yes" |
| 8 | COPD | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 9 | COVID recovered patients | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 10 | Diabetes | Derived from HWC follow-up | No confirmed-diagnosis field. CBAC screening computes a risk score and refers to HWC; when ASHA follows up the HWC referral and diagnosis = "Diabetes" is selected, tag this factor |
| 11 | Dialysis | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 12 | Health Care Worker | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 13 | Hypertensive | Derived from HWC follow-up | No confirmed-diagnosis field. CBAC screening computes a risk score and refers to HWC; when ASHA follows up the HWC referral and diagnosis = "Hypertension" is selected, tag this factor |
| 14 | Liver Impairment | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 15 | Migrant | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 16 | Miner | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 17 | Palliative Care | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 18 | Patient on immunosuppressants | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 19 | Prison | Auto-derived | Non-household Beneficiary module — refer to "Place of Current Living" field |
| 20 | Illegal Immigrant | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 21 | Renal Impairment | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 22 | Transplantation | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 23 | Urban Slum | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 24 | H/o Adult BCG Vaccination | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 25 | Undernourished/Malnourished (BMI less than 18.5 kg/m2) | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 26 | Elderly (age greater than 60 years) | Auto-derived | Auto-ticked if Beneficiary's Age (derived from DOB) is 60 years or more |
| 27 | Workplace settings (coal/sandblasting/brick kiln) | Auto-derived + manual | CBAC Part C "Occupational Exposure" dropdown (brick kilns, glass factories, smoke/dust exposure); manual selection also recommended |
| 28 | Tea garden worker | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 29 | Construction site worker | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 30 | Congregate settings | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 31 | Attendees of de-addiction centers | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 32 | Person exposed to indoor air pollution | Auto-derived | Household Amenities "Type of Fuel used for cooking" field already exists (Firewood, Crop Residue, Cow Dung Cake, Coal, Kerosene, LPG, Other). Auto-tick if fuel type is not LPG/Electricity (any solid/biomass fuel) |
| 33 | Marginalized populations at risk of HIV | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 34 | LGBTQAI++ | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
| 35 | Substance abuse (alcoholic/IV drug users) | Auto-derived (partial) + manual | CBAC Part A "Do you consume alcohol daily" (Yes/No) covers alcohol only, no IV drug use field; manual selection recommended to cover the gap |
| 36 | Tobacco/smoker | Auto-derived | CBAC Part A "Do you smoke or consume smokeless products such as gutka or khaini" already exists. Auto-tick if answer is not "Never" |
| 37 | Silica exposure/silicosis | New manual field | Manual selection in TB Screening Form — no corresponding field exists today |
Scope / Acceptance Criteria
- [ ] Add a new multi-select "Vulnerability / Risk Factor" field to the TB Screening Form covering all factors marked New manual field above (23 factors)
- [ ] Implement auto-derivation logic for factors marked Auto-derived, sourced from existing fields (Pregnancy, PNC status, Family TB contact, Place of Current Living, Age/DOB, Fuel type, Tobacco use)
- [ ] Implement HWC-follow-up-derived tagging for Diabetes and Hypertension based on ASHA follow-up diagnosis selection
- [ ] Implement combined auto + manual logic for Workplace settings (CBAC Part C) and Substance abuse (CBAC Part A alcohol + new IV drug use manual field)
- [ ] Build the Vulnerable Population listing screen: flat, patient-wise (not grouped by household), reusing Household Members list beneficiary card fields
- [ ] Build the risk-factor filter bar (multi-select filter across all 37 risk factors)
- [ ] Build the "Vulnerability conditions" tag list on each beneficiary card, reflecting all applicable ticked factors
- [ ] Validate against prototype: Vulnerable Population Updated (standalone).html
Open questions for engineering/design review
- Where exactly in the TB Screening Form UI should the new multi-select "Vulnerability / Risk Factor" field live, and should it be a single combined field or split by clinical vs. occupational vs. social categories?
- Should HWC-follow-up-derived tags (Diabetes, Hypertension) refresh retroactively on the Vulnerable Population screen once a follow-up diagnosis is recorded, or only from that point forward?
- is blocked by
-
FLW-1220 Vulnerable Population Module: Risk-Factor Fields, Auto-Derivation Logic & Vulnerability Tagging
-
- Todo/Open
-