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

New analysis functionality for the maternal and newborn health modules (intervention analysis) #1531

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

joehcollins
Copy link
Collaborator

@joehcollins joehcollins commented Dec 2, 2024

(this PR contains changes defined in #1477 which should be merged before this PR)

This PR updates the functionality used to conduct analysis with the maternal and newborn health modules. The main changes in this PR include:

  1. A new function in pregnancy_helper_functions.py which is called whenever a MNH intervention should be delivered across the modules - check_int_deliverable. Through this function the probability a given intervention is delivered can be set externally (overriding the probability of delivery generated through consumable availability and other relevant quality parameters). This function preserves previous functionality used in 'whole service' analysis conducted previously

  2. Previous functions determining wether consumables were available/other quality parameters would permit intervention delivery (return_cons_avail and check_emonc_signal_function_will_run) have been removed

  3. Redunant function logging met need of intervention delivery (log_met_need) removed

  4. Modules have been updated so they call check_int_deliverable as required.

  5. Test files have been updated including new testing of check_int_deliverable

These changes will be used to run the analysis for the upcoming MNH cohort model paper. Cohort model PR incoming.

joehcollins and others added 27 commits October 7, 2024 13:38
…red or not (can be used for analysis). updates to care_of_women_during_pregnancy.py to use this function (and some small fixes)
…y to use this function (and some small fixes)
Copy link
Collaborator

@tbhallett tbhallett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @joehcollins ---

I can't comment on the logic/epi, but the coding seems fine.

I had one question about a 'framework' xlsx file being touched, and wanted to know if this was intentional or not.

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

Successfully merging this pull request may close these issues.

2 participants