tlo.methods.healthseekingbehaviour module

Health Seeking Behaviour Module This module determines if care is sought once a symptom is developed.

The write-up of these estimates is: Health-seeking behaviour estimates for adults and children.docx

class HealthSeekingBehaviour(name=None, resourcefilepath=None, force_any_symptom_to_lead_to_healthcareseeking=False)[source]

This modules determines if the onset of symptoms will lead to that person presenting at the health facility for a HSI_GenericFirstAppointment.

An equation gives the probability of seeking care in response to the “average” symptom. This is modified according to if the symptom is associated with a particular effect.

Bases: tlo.core.Module

PARAMETERS:

Item

Type

Description

baseline_odds_of_healthcareseeking_children

REAL

odds of health-care seeking (children: 0-14) if male, 0-5 years-old, living in a rural setting in the Northern region, and not in the wealth categories 4 or 5

odds_ratio_children_sex_Female

REAL

odds ratio for health-care seeking (children) if sex is Female

odds_ratio_children_age_5to14

REAL

odds ratio for health-care seeking (children) if aged 5-14

odds_ratio_children_setting_urban

REAL

odds ratio for health-care seeking (children) if setting is Urban

odds_ratio_children_region_Central

REAL

odds ratio for health-care seeking (children) if region is Central

odds_ratio_children_region_Southern

REAL

odds ratio for health-care seeking (children) if region is Southern

odds_ratio_children_wealth_higher

REAL

odds ratio for health-care seeking (children) if wealth is in categories 4 or 5

baseline_odds_of_healthcareseeking_adults

REAL

odds of health-care seeking (adults: 15+) if male, 15-34 year-olds, living in a rural setting in the Northern region, and not in the wealth categories 4 or 5.

odds_ratio_adults_sex_Female

REAL

odds ratio for health-care seeking (adults) if sex is Female

odds_ratio_adults_age_35to59

REAL

odds ratio for health-care seeking (adults) if aged 35-59

odds_ratio_adults_age_60plus

REAL

odds ratio for health-care seeking (adults) if aged 60+

odds_ratio_adults_setting_urban

REAL

odds ratio for health-care seeking (adults) if setting is Urban

odds_ratio_adults_region_Central

REAL

odds ratio for health-care seeking (adults) if region is Central

odds_ratio_adults_region_Southern

REAL

odds ratio for health-care seeking (adults) if region is Southern

odds_ratio_adults_wealth_higher

REAL

odds ratio for health-care seeking (adults) if wealth is in categories 4 or 5

max_days_delay_to_generic_HSI_after_symptoms

INT

Maximum days delay between symptom onset and firstgeneric HSI. Actual delay is sample between 0 and this value.

Class attributes:

ADDITIONAL_DEPENDENCIES : {‘Lifestyle’}

INIT_DEPENDENCIES : {‘Demography’, ‘HealthSystem’, ‘SymptomManager’}

METADATA : {<Metadata.USES_HEALTHSYSTEM: 3>}

Functions (defined or overridden in class HealthSeekingBehaviour):

__init__(name=None, resourcefilepath=None, force_any_symptom_to_lead_to_healthcareseeking=False)[source]

Construct a new disease module ready to be included in a simulation.

Initialises an empty parameters dictionary and module-specific random number generator.

Parameters

name – the name to use for this module. Defaults to the concrete subclass’ name.

read_parameters(data_folder)[source]

Read in ResourceFile

initialise_population(population)[source]

Nothing to initialise in the population

initialise_simulation(sim)[source]
  • define the linear models that govern healthcare seeking

  • set the first occurrence of the repeating HealthSeekingBehaviourPoll

  • assemble the health-care seeking information from the registered symptoms

on_birth(mother_id, child_id)[source]

Nothing to handle on_birth

define_linear_models()[source]

Define linear models for health seeking behaviour for children and adults

class HealthSeekingBehaviourPoll(module)[source]

This event occurs every day and determines if persons with newly onset symptoms will seek care.

Bases: tlo.events.RegularEvent, tlo.events.Event, tlo.events.PopulationScopeEventMixin

Functions (defined or overridden in class HealthSeekingBehaviourPoll):

__init__(module)[source]

Initialise the HealthSeekingBehaviourPoll :param module: the module that created this event

static _select_persons_with_any_symptoms(persons, symptoms)[source]

Select rows of persons dataframe with any symptoms columns non-zero.

apply(population)[source]

Determine if persons with newly onset acute generic symptoms will seek care.

Parameters

population – the current population