human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Improve Annual Survey regarding incontinence supplies

Open cielf opened this issue 1 year ago • 1 comments

Summary

Adjust the values around incontinence supplies in the annual survey to include kits.

Why?

Time saved around annual reporting. Requested by NDBN

Details

This is similar to the recent changes regarding disposable diapers (and the accompanying issue regarding period supplies)

An "adult incontinence item" is an item that has a base item with a category that includes "adult" but does not include "wipes" (i.e. adult diapers or adult incontinence). See scope adult_incontinence in app/models/item.rb for current implementation.


For: The total number of adult incontinence supplies distributed

add together the total items distributed over the year that have the base category for adult incontinence, and the number of such items distributed in kits (which will be the number of those kits over the year* the number of those items in the kits.)


Add a field for the number of adults assisted per month. (after Adult incontinence supplies distributed)

This is the number of adults assisted with 'loose' (i.e. not in kit) items plus the number of adults assisted with kits. The number of adults assisted with 'loose' items is the number of those items distributed divided by the quantity-per-individual for those items (or 50, if no quantity is defined) / 12 The number of adults assisted with kit items is the number of kits that contain adult incontinence supplies distributed divided by the "quantity per individual" on the kit item. if there is no quantity per individual provided, assume that quantity is 1.


For: Adult incontinence supplies per adult per month

I think we can just divide the supplies per month by the number of adults assisted.

Image

Criteria for completion

  • [] Annual survey contains the correct values
  • [] tests to support

(Note -- this might be a good fit for jade-who-worked-on-bringing diapers-in-kits into the numbers)

cielf avatar Jul 14 '24 14:07 cielf

Blocked by 4283. Technically not blocked, but it makes sense to do them in that order.

cielf avatar Oct 01 '24 22:10 cielf

I'll take this!

jadekstewart3 avatar Oct 23 '24 14:10 jadekstewart3

Thanks!

cielf avatar Oct 23 '24 15:10 cielf

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar Nov 23 '24 00:11 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar Dec 01 '24 00:12 github-actions[bot]

Still in the review and repair cycle on the PR for this.

cielf avatar Dec 01 '24 00:12 cielf

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar Jan 01 '25 00:01 github-actions[bot]

Still in the review and repair cycle on this.

cielf avatar Jan 01 '25 00:01 cielf

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar Feb 01 '25 00:02 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar Feb 09 '25 00:02 github-actions[bot]

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar Mar 13 '25 00:03 github-actions[bot]

Automatically unassigned after 7 days of inactivity.

github-actions[bot] avatar Mar 21 '25 00:03 github-actions[bot]