Skip to content

Updated schistosomiasis model #1587

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

Merged
merged 360 commits into from
Jul 11, 2025
Merged

Updated schistosomiasis model #1587

merged 360 commits into from
Jul 11, 2025

Conversation

tdm32
Copy link
Collaborator

@tdm32 tdm32 commented Feb 12, 2025

This updated version of the schistosomiasis code has the following features:

  • all input data are updated (MDA coverage, infection burden)
  • many key parameters are updated
  • two diagnostic tests for different species, both have varying sensitivity and specificity based on individual worm burden
  • individuals now have a susceptibility property, which determines whether they are susceptible to schisto infection, this is calibrated to match infection prevalence
  • effects of WASH properties on schisto risk (proportion susceptible) now incorporated
  • updated logging includes person-years of infection by species and infection intensity (and district / age-group)
  • new test added
  • correct consumables dosage (by individual weight by age if treatment, by average weight of age-group if through MDA)
  • functionality to manipulate future MDA schedules as parameter inputs to module
  • background risk of infection dependent on deviation from baseline prevalence, when disease prevalence increases, background risk also increases reflecting higher likelihood of new infections (and reduces stochastic fadeout in small populations)
  • symptoms now linked with moderate/high worm burden and assigned probabilistically
  • links to bladder cancer and HIV included where relevant
  • can assign all individuals in simulation to one district through module keyword

tdm32 and others added 30 commits April 15, 2024 17:46
extract deaths per py
# Conflicts:
#	resources/ResourceFile_HIV.xlsx
#	resources/ResourceFile_TB.xlsx
#	src/tlo/methods/malaria.py
#	src/tlo/methods/tb.py
# Conflicts:
#	resources/ResourceFile_HIV.xlsx
#	src/tlo/methods/enhanced_lifestyle.py
#	src/tlo/methods/hiv.py
add new property susceptibility
add susceptibility when initialising population
@tdm32
Copy link
Collaborator Author

tdm32 commented Jul 7, 2025

@tbhallett This is now ready for review again. Symptoms have been simplified, ReallySimplifiedBirths has been removed and some duplicative code has been restructured.

tamuri
tamuri previously requested changes Jul 7, 2025
Copy link
Collaborator

@tamuri tamuri left a comment

Choose a reason for hiding this comment

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

Some changes needed for idiomatic pandas.

@tamuri tamuri self-requested a review July 9, 2025 13:29
@tamuri tamuri dismissed their stale review July 9, 2025 15:30

All resolved

@tdm32
Copy link
Collaborator Author

tdm32 commented Jul 9, 2025

@tamuri this is ready to go now I think

Comment on lines +466 to +476
self.sim.modules['SymptomManager'].register_symptom(
Symptom(name='ss_sm_moderate'))

self.sim.modules['SymptomManager'].register_symptom(
Symptom(name='ss_sm_heavy'))

self.sim.modules['SymptomManager'].register_symptom(
Symptom(name='ss_sh_moderate'))

self.sim.modules['SymptomManager'].register_symptom(
Symptom(name='ss_sh_heavy'))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it right that these are symptoms - wouldn't the symptom be "itchiness" or something like that, and these be a property of the individual? (Not suggesting we change this at this stage)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We did have that originally, but each set of symptoms was linked with one schisto species and an intensity level, so it was cleaner to just assign a generic "symptom" corresponding to each set. Each symptom has a fixed probability of healthcare seeking, diagnosis and the same treatment and treatment success rates so there was no benefit really to having all the separate symptoms (bladder pathology, dysuria, ascites... etc).

@tamuri tamuri merged commit 9b8112d into master Jul 11, 2025
62 checks passed
@tamuri tamuri deleted the tara_schisto_for_PR branch July 11, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants