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

PR to record the prevalence of disease/condition, still births, neonatal death, maternal mortality #1455

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

Conversation

RachelMurray-Watson
Copy link
Collaborator

@RachelMurray-Watson RachelMurray-Watson commented Aug 15, 2024

The point prevalence is recorded for a number of modules and conditions within modules (Alri, BladderCancer, BreastCancer, CardioMetabolicDisorders ( chronic_ischemic_hd, chronic_kidney_disease, chronic_lower_back_pain, diabetes, hypertension), COPD, Depression, Diarrhoea, Epilepsy, Hiv, Labor (Intrapartum stillbirth), Malaria, Measles, NewbornOutcomes, OesophagealCancer, OtherAdultCancer, PostnatalSupervisor, PregnancySupervisor (Antenatal stillbirth), ProstateCancer, RTI, Schisto, TB, Demography (maternal_deaths, newborn_deaths).

Additional questions:
- Okay to calculate the prevalence of diarrhoea? It is a not really a disease in its own right, more of a symptom
- For some modules (RTI), may be more accurately described by calculating incidence, rather than prevalence. Is that useful/okay? Or should it be skipped?

Other notes:
- COPD is defined as ch_lung_function > 3.
- Have not included events in the CardioMetabolic Module (ever_heart_attack and ever_stroke) as would be a cumulative incidence living people who have had such events

Could create it within the healthburden module, but am unable to access logs? Or what is directly produced from the modules themselves.
… module (Get_Current_Prevalence). Also have it so that this is run every month alongside the Get_Current_Dalys logger
Adding in disease modules gradually
Co-authored-by: Tim Hallett <39991060+tbhallett@users.noreply.github.com>
… freuquency parameter was set as, is now just passed in as an argument
…module, then calling it in the write_to_log and write_to_log_prevalence functions
…s module, then calling it in the write_to_log and write_to_log_prevalence functions

- Added logic to healthburden too to ensure that if None is returned the logging etc is skipped (in accordance with it being in the base class).
- Added assertion to check if a module that uses the healthburden module has a report_prevalence function
@RachelMurray-Watson
Copy link
Collaborator Author

just adding here the comment made in-person: I like the way this is being done overall.... and we should add this new method to the Module base class so that it's formally part of the definition of a disease module (in the same way that report_dalys is.)

(Based on conversation yesterday) - changed so that it is no longer in base class (as not all modules are disease modules), but there is an assertion checking to see that if something uses the healthburden module, it must have the report_prevalence function

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

Successfully merging this pull request may close these issues.

3 participants