onaio / reveal-frontend

WebUI for the Reveal epidemiological surveillance platform
8 stars 4 forks source link

RVL-1027 - Add Indicator with Reasons for not-sprayed structures #1069

Closed samkanga closed 4 years ago

samkanga commented 4 years ago
  1. Go to the Zambia Reveal WebUI > Select Monitor > select IRS Reporting > Select a completed IRS Plan. On the dashboard table that comes up, drill down to the lowest level:
    • On the indicators list to the right hand side of the map, add an indicator named Reasons for not-sprayed structures . This would read e.g. 7 out of 100 structures not sprayed. The different reasons given for not sprayed will then be given as aggregates e.g. Sick - 1; Locked - 0, Funeral - 0; Refused - 2; Adult not present - 4; Other - 0
moshthepitt commented 4 years ago

Implementation plan

  1. We need to ensure that the database view exposed to the web app (as a Superset slice) is current i.e. uses this code https://github.com/OpenSRP/opensrp-reveal-datawarehouse/blob/master/3-reveal/migrations/5-IRS/2-Zambia-2019/deploy/zambia_focus_area_irs.psql#L43
  2. With (1) in place, we need to make a change in the web UI to show the not sprayed reasons.
moshthepitt commented 4 years ago

Related to https://github.com/onaio/reveal-frontend/issues/472