interventions.health_seeking
interventions.health_seeking
Health-seeking behavior intervention
Classes
| Name | Description |
|---|---|
| HealthSeekingBehavior | Eligible agents (symptomatic) seek care |
HealthSeekingBehavior
interventions.health_seeking.HealthSeekingBehavior(pars=None, **kwargs)Eligible agents (symptomatic) seek care at a rate per timestep. If the people object has a sought_care attribute, it is set to True for agents who seek care (for use by downstream interventions).
Example
::
import starsim as ss
import tbsim
from tbsim.interventions.health_seeking import HealthSeekingBehavior
tb = tbsim.TB()
hsb = HealthSeekingBehavior()
sim = ss.Sim(diseases=tb, interventions=hsb, pars=dict(start='2000', stop='2020'))
sim.run()
Attributes
| Name | Description |
|---|---|
| tbsl | Shortcut to the TBS state enum. |
Methods
| Name | Description |
|---|---|
| init_post | Locate the TB disease module and resolve eligible states. |
| init_results | Define result channels for care-seeking counts. |
| step | Identify eligible symptomatic agents and stochastically trigger care-seeking. |
| update_results | Record new, current, and cumulative care-seeking counts. |
init_post
interventions.health_seeking.HealthSeekingBehavior.init_post()Locate the TB disease module and resolve eligible states.
init_results
interventions.health_seeking.HealthSeekingBehavior.init_results()Define result channels for care-seeking counts.
step
interventions.health_seeking.HealthSeekingBehavior.step()Identify eligible symptomatic agents and stochastically trigger care-seeking.
update_results
interventions.health_seeking.HealthSeekingBehavior.update_results()Record new, current, and cumulative care-seeking counts.