-
Type:
Story
-
Resolution: Done
-
Priority:
Highest
-
Affects Version/s: None
-
None
-
AMRIT Sprint 48, AMRIT Sprint 49
-
FLW Mobile App
-
AMRIT Demo
As an ASHA, I want to record and view mosquito net distribution activities with a simple form and toggle while visiting households so that I can ensure malaria prevention efforts are tracked effectively and consistently throughout the year.
Description
In the Malaria section under the Disease Control Module, enhance household visit functionality by:
- Adding a toggle button on the household family member listing screen
- When the toggle is ON, show a form to track mosquito net distribution
- Allow ASHA to submit net distribution data up to 4 times per year
- Show a history table below the form, showing mosquito net distribution activities over the last 1 year
- Data should be down-synced from AMRIT (limited to 1-year history)
Acceptance Criteria
Toggle Button on Household View
- A toggle button is present at the top of the household family member listing screen.
- When the toggle is:
- OFF: No additional fields are shown.
- ON: A form and distribution history section becomes visible below the toggle.
Mosquito Net Distribution Form Fields
When the toggle is ON, show the following:
- Visit Date:
- Default: Null (empty)
- Validation: Cannot be in the future (not greater than today)
- Frequency check: Allow max 4 entries per year (based on calendar year)
- Is Mosquito Net Distributed?:
-
- Radio button or dropdown: Yes / No
- Submit Button:
-
- Submits the above data
- Saves locally and syncs with backend when online
- Prevents more than 4 submissions for the same household in a calendar year
History Section - Last 1 Year Distribution Records
- Below the form, show a table with the history of mosquito net distribution (up to last 1 year only)
- The table includes the following columns:
| S. No | Date | Net Distributed? (Yes/No) |
|---|
- Data to be fetched via down-sync from AMRIT and displayed in order (most recent first)
- The table updates in real-time after a new entry is submitted