-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Include period supplies in kits in NDBN report values that are based on period supplies #4283
Comments
This is going to be assigned to @jadekstewart3. This comments just here so I can do that. Apparently I actually need Jade to comment on this issue to do that! |
I can take this! Thank you :) |
Thank you! |
Just an update: Still working on this. I was OOO the last week an a half, so I am hoping to get some more done this week and next :) |
Hi @jadekstewart3 -- just a heads up that I'm doing some rework of the whole what-goes-in-what-bucket due to conversations with NDBN, and things I've found that were just not right! keep an eye on PR # 4361. |
Noting that that is up and merged -- if you check the scope for period supplies on item in main, you'll see that it is much simpler now! |
Hey @jadekstewart3 Checking in on this -- any roadblocks you need cleared? |
Hi @cielf! Thank you for checking in! I'm actually having some trouble with pulling the purchased items The current method is returning zero, and I should be expecting 1. I've been messing with multiple versions of this method, and I cant quite put my finger on why my method isn't returning the integer 1, as expected with the single purchased kit in my test set up. |
@jadekstewart3 I don't have time to dig into it today, but may I ask -- is purchased_kits supposed to be getting the number of kits purchased? Because my first read of that is that it might get the number of line items with kits purchased -- that being said, I'll have to sit down with it and figure out each step. Probably tomorrow. |
@jadekstewart3 Oh! The base category name for period supplies is not period supplies, but Menstrual Supplies/Items -- the important part being that we look for menstrual . Still think the method might not be giving what you expect it to. though. |
@cielf thank you! That is so helpful! |
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. |
@jadekstewart3 Just checking in - do you need anything on this? |
@cielf I'm almost done with this, i do have a question though. When you are asking for % of period supplies bought, you want me to pull the number of supplies contained in purchased kits, right? |
I'm not sure anyone ever purchases kits, but/and it's still correct to take them into account. You did for the disposables, right? We should be consistent across the 3 broad categories. |
I checked -- there are a few purchases of kits in the production db. Very few, but that does mean the answer is yes. |
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. |
Automatically unassigned after 7 days of inactivity. |
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. |
Automatically unassigned after 7 days of inactivity. |
Summary
Period supply values in the Annual Survey should include period supplies in kits
Why?
Better reporting of actual distribution
Details
Similar to issue #3939... You may need to use SQL to extract the information
Look at services/reports/period_supply_report_service
Assume 1 kit per individual
The following values in the report will need attention:
Period Supplies distributed
Period Supplies per adult per month [Note: this should be per individual per month -- confirmed with NDBN liason]
% period supplies donated -- note that most banks make their own kits, but we do have some who have kits donated -- so this is a slightly different twist from #3939
% period supplies bought -- afaik, we don't have any cases of kits being bought, but we don't prevent it.
Criteria for completion
The text was updated successfully, but these errors were encountered: