tlo.methods.hsi_generic_first_appts module

The file contains the event HSI_GenericFirstApptAtFacilityLevel1, which describes the first interaction with the health system following the onset of acute generic symptoms.

This file contains the HSI events that represent the first contact with the Health System, which are triggered by the onset of symptoms. Non-emergency symptoms lead to HSI_GenericFirstApptAtFacilityLevel0 and emergency symptoms lead to HSI_GenericEmergencyFirstApptAtFacilityLevel1.

class HSI_GenericFirstApptAtFacilityLevel0(module, person_id)[source]

This is a Health System Interaction Event that represents the first interaction with the health system following the onset of non-emergency symptom(s). It occurs at level 0. This is the HSI that is generated by the HealthCareSeekingBehaviour module by default.

Bases: tlo.methods.healthsystem.HSI_Event, tlo.events.IndividualScopeEventMixin

Functions (defined or overridden in class HSI_GenericFirstApptAtFacilityLevel0):

__init__(module, person_id)[source]

Create a new event.

Note that just creating an event does not schedule it to happen; that must be done by calling Simulation.schedule_event.

Parameters

module – the module that created this event. All subclasses of Event take this as the first argument in their constructor, but may also take further keyword arguments.

apply(person_id, squeeze_factor)[source]

Run the actions required during the HSI.

class HSI_GenericEmergencyFirstApptAtFacilityLevel1(module, person_id)[source]

This is a Health System Interaction Event that represents the generic appointment which is the first interaction with the health system following the onset of emergency symptom(s). It occurs at level 1.

Bases: tlo.methods.healthsystem.HSI_Event, tlo.events.IndividualScopeEventMixin

Functions (defined or overridden in class HSI_GenericEmergencyFirstApptAtFacilityLevel1):

__init__(module, person_id)[source]

Create a new event.

Note that just creating an event does not schedule it to happen; that must be done by calling Simulation.schedule_event.

Parameters

module – the module that created this event. All subclasses of Event take this as the first argument in their constructor, but may also take further keyword arguments.

apply(person_id, squeeze_factor)[source]

Apply this event to the population.

Must be implemented by subclasses.