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

Remove population-wide HSI event in ChronicSyndrome module #1493

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

Conversation

marghe-molaro
Copy link
Collaborator

As raised in Issue #1260, our assumptions around how the healthsystem handles resource constraints does not allow for the use of Population-wide HSI events. Here we remove one such instance from the mock ChronicSyndrome module used by some of the HealthSystem tests.

Copy link
Collaborator

@matt-graham matt-graham left a comment

Choose a reason for hiding this comment

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

With regards to #1260 - would the plan be to remove the logic in the health system scheduler for processing population scoped HSI events in a separate PR? It might also be good to add some logic to HSI_Event or PopulationScopeEventMixin in such a PR that raises an error when trying to subclass from both if so to ensure we fail loudly on trying to instantiate a population-scoped HSI event.

@@ -214,11 +214,11 @@ def initialise_simulation(self, sim):
self.sim.schedule_event(outreach_event, self.sim.date + DateOffset(months=6))

# Schedule the occurance of a population wide change in risk that goes through the health system:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Schedule the occurance of a population wide change in risk that goes through the health system:
# Schedule the occurrence of a population wide change in risk:

Possibly remove the reference to health system in comment as no longer a HSI event?

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

Successfully merging this pull request may close these issues.

2 participants