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_GenericNonEmergencyFirstAppt(module, person_id, facility_level='0')[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). This is the HSI that is generated by the HealthSeekingBehaviour module. By default, it occurs at level ‘0’ but it could occur also at other levels.

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

Functions (defined or overridden in class HSI_GenericNonEmergencyFirstAppt):

__init__(module, person_id, facility_level='0')[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_GenericEmergencyFirstAppt(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).

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

Functions (defined or overridden in class HSI_GenericEmergencyFirstAppt):

__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.

class HSI_EmergencyCare_SpuriousSymptom(module, person_id, accepted_facility_level='1a')[source]

This is an HSI event that provides Accident & Emergency Care for a person that has spurious emergency symptom.

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

Functions (defined or overridden in class HSI_EmergencyCare_SpuriousSymptom):

__init__(module, person_id, accepted_facility_level='1a')[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.