Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Annual Survey regarding incontinence supplies #4513

Open
cielf opened this issue Jul 14, 2024 · 6 comments · May be fixed by #4794
Open

Improve Annual Survey regarding incontinence supplies #4513

cielf opened this issue Jul 14, 2024 · 6 comments · May be fixed by #4794
Assignees

Comments

@cielf
Copy link
Collaborator

cielf commented Jul 14, 2024

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 cielf added Help Wanted Groomed + open to all! Difficulty—Advanced labels Jul 14, 2024
@awwaiid awwaiid modified the milestone: Tasks 2024 Jul 28, 2024
@cielf cielf added BLOCKED This issue is blocked by another and removed Help Wanted Groomed + open to all! labels Oct 1, 2024
@cielf
Copy link
Collaborator Author

cielf commented Oct 1, 2024

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

@cielf cielf added Help Wanted Groomed + open to all! and removed BLOCKED This issue is blocked by another labels Oct 23, 2024
@jadekstewart3
Copy link
Contributor

I'll take this!

@github-actions github-actions bot removed the Help Wanted Groomed + open to all! label Oct 23, 2024
@cielf
Copy link
Collaborator Author

cielf commented Oct 23, 2024

Thanks!

@jadekstewart3 jadekstewart3 linked a pull request Nov 20, 2024 that will close this issue
Copy link
Contributor

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.

Copy link
Contributor

github-actions bot commented Dec 1, 2024

Automatically unassigned after 7 days of inactivity.

@cielf
Copy link
Collaborator Author

cielf commented Dec 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants