Reference
- tlo package
- Subpackages
- tlo.analysis package
- Submodules
- tlo.analysis.hsi_events module
is_valid_hsi_event_subclass()
get_hsi_event_classes_per_module()
get_details_of_defined_hsi_events()
sort_hsi_event_details()
format_hsi_event_details_as_csv()
format_hsi_event_details_as_table()
format_hsi_event_details_as_list()
merge_hsi_event_details()
get_all_defined_hsi_events_as_dataframe()
main()
- tlo.analysis.life_expectancy module
- tlo.analysis.utils module
parse_log_file()
merge_log_files()
write_log_to_excel()
make_calendar_period_lookup()
make_calendar_period_type()
make_age_grp_lookup()
make_age_grp_types()
to_age_group()
get_scenario_outputs()
get_scenario_info()
load_pickled_dataframes()
extract_params()
extract_results()
summarize()
get_grid()
format_gbd()
create_pickles_locally()
compare_number_of_deaths()
flatten_multi_index_series_into_dict_for_logging()
unflatten_flattened_multi_index_in_logging()
LogsDict
get_filtered_treatment_ids()
colors_in_matplotlib()
get_coarse_appt_type()
order_of_coarse_appt()
get_color_coarse_appt()
order_of_short_treatment_ids()
get_color_short_treatment_id()
order_of_cause_of_death_or_daly_label()
get_color_cause_of_death_or_daly_label()
squarify_neat()
get_root_path()
bin_hsi_event_details()
compute_mean_across_runs()
plot_stacked_bar_chart()
plot_clustered_stacked()
get_mappers_in_fullmodel()
get_parameters_for_status_quo()
get_parameters_for_standard_mode2_runs()
get_parameters_for_improved_healthsystem_and_healthcare_seeking()
mix_scenarios()
- tlo.analysis.hsi_events module
- Module contents
- Submodules
- tlo.logging package
- tlo.methods package
- Submodules
- tlo.methods.alri module
- Overview
Alri
Alri.__init__()
Alri.read_parameters()
Alri.check_params_read_in_ok()
Alri.define_symptoms()
Alri.pre_initialise_population()
Alri.initialise_population()
Alri.initialise_simulation()
Alri.on_birth()
Alri.report_daly_values()
Alri.over_ride_availability_of_certain_consumables()
Alri.look_up_consumables()
Alri.end_episode()
Alri.cancel_death_and_schedule_cure()
Alri.check_properties()
Alri.do_effects_of_treatment_and_return_outcome()
Alri.record_sought_care_for_alri()
Alri.get_imci_classification_based_on_symptoms()
Alri._ultimate_treatment_indicated_for_patient()
Alri.do_at_generic_first_appt()
Alri.do_at_generic_first_appt_emergency()
AlriPollingEvent
AlriIncidentCase
AlriNaturalRecoveryEvent
AlriCureEvent
AlriDeathEvent
HSI_Alri_Treatment
HSI_Alri_Treatment.__init__()
HSI_Alri_Treatment._as_out_patient()
HSI_Alri_Treatment._as_in_patient()
HSI_Alri_Treatment._refer_to_next_level_up()
HSI_Alri_Treatment._refer_to_become_inpatient()
HSI_Alri_Treatment._schedule_follow_up_following_treatment_failure()
HSI_Alri_Treatment._get_cons()
HSI_Alri_Treatment._get_cons_group()
HSI_Alri_Treatment._get_cons_with_backups()
HSI_Alri_Treatment._assess_and_treat()
HSI_Alri_Treatment._has_staph_aureus()
HSI_Alri_Treatment._get_imci_classification_based_on_symptoms()
HSI_Alri_Treatment._get_imci_classification_by_SpO2_measure()
HSI_Alri_Treatment._get_classification_given_by_health_worker()
HSI_Alri_Treatment._get_disease_classification_for_treatment_decision()
HSI_Alri_Treatment._do_action_given_classification()
HSI_Alri_Treatment._provide_bronchodilator_if_wheeze()
HSI_Alri_Treatment.do_on_follow_up_following_treatment_failure()
HSI_Alri_Treatment.apply()
HSI_Alri_Treatment.never_ran()
AlriLoggingEvent
AlriLoggingEvent.__init__()
AlriLoggingEvent.new_case()
AlriLoggingEvent.new_recovered_case()
AlriLoggingEvent.new_cured_case()
AlriLoggingEvent.new_death()
AlriLoggingEvent.new_seeking_care()
AlriLoggingEvent.new_treated()
AlriLoggingEvent.new_pulmonary_complication_case()
AlriLoggingEvent.new_systemic_complication_case()
AlriLoggingEvent.new_hypoxaemic_case()
AlriLoggingEvent.apply()
AlriCheckPropertiesEvent
AlriIndividualLoggingEvent
AlriPropertiesOfOtherModules
AlriIncidentCase_Lethal_DangerSigns_Pneumonia
AlriIncidentCase_NonLethal_Fast_Breathing_Pneumonia
- tlo.methods.bed_days module
- tlo.methods.bladder_cancer module
- tlo.methods.breast_cancer module
- tlo.methods.cancer_consumables module
- tlo.methods.cardio_metabolic_disorders module
CardioMetabolicDisorders
CardioMetabolicDisorders.__init__()
CardioMetabolicDisorders.read_parameters()
CardioMetabolicDisorders.initialise_population()
CardioMetabolicDisorders.initialise_simulation()
CardioMetabolicDisorders.build_linear_model()
CardioMetabolicDisorders.build_linear_model_symptoms()
CardioMetabolicDisorders.on_birth()
CardioMetabolicDisorders.update_risk_score()
CardioMetabolicDisorders.report_daly_values()
CardioMetabolicDisorders.on_hsi_alert()
CardioMetabolicDisorders.do_at_generic_first_appt()
CardioMetabolicDisorders.do_at_generic_first_appt_emergency()
CardioMetabolicDisorders_MainPollingEvent
CardioMetabolicDisordersEvent
CardioMetabolicDisordersDeathEvent
CardioMetabolicDisordersWeightLossEvent
CardioMetabolicDisorders_LoggingEvent
HSI_CardioMetabolicDisorders_CommunityTestingForHypertension
HSI_CardioMetabolicDisorders_Investigations
HSI_CardioMetabolicDisorders_StartWeightLossAndMedication
HSI_CardioMetabolicDisorders_Refill_Medication
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.__init__()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.do_for_each_event_to_be_investigated()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.apply()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.did_not_run()
- tlo.methods.care_of_women_during_pregnancy module
CareOfWomenDuringPregnancy
CareOfWomenDuringPregnancy.__init__()
CareOfWomenDuringPregnancy.read_parameters()
CareOfWomenDuringPregnancy.initialise_population()
CareOfWomenDuringPregnancy.get_and_store_pregnancy_item_codes()
CareOfWomenDuringPregnancy.initialise_simulation()
CareOfWomenDuringPregnancy.care_of_women_in_pregnancy_property_reset()
CareOfWomenDuringPregnancy.on_birth()
CareOfWomenDuringPregnancy.further_on_birth_care_of_women_in_pregnancy()
CareOfWomenDuringPregnancy.on_hsi_alert()
CareOfWomenDuringPregnancy.get_approx_days_of_pregnancy()
CareOfWomenDuringPregnancy.determine_gestational_age_for_next_contact()
CareOfWomenDuringPregnancy.antenatal_care_scheduler()
CareOfWomenDuringPregnancy.schedule_admission()
CareOfWomenDuringPregnancy.call_if_maternal_emergency_assessment_cant_run()
CareOfWomenDuringPregnancy.check_intervention_should_run_and_update_mni()
CareOfWomenDuringPregnancy.screening_interventions_delivered_at_every_contact()
CareOfWomenDuringPregnancy.iron_and_folic_acid_supplementation()
CareOfWomenDuringPregnancy.balance_energy_and_protein_supplementation()
CareOfWomenDuringPregnancy.insecticide_treated_bed_net()
CareOfWomenDuringPregnancy.tb_screening()
CareOfWomenDuringPregnancy.tetanus_vaccination()
CareOfWomenDuringPregnancy.calcium_supplementation()
CareOfWomenDuringPregnancy.point_of_care_hb_testing()
CareOfWomenDuringPregnancy.albendazole_administration()
CareOfWomenDuringPregnancy.hep_b_testing()
CareOfWomenDuringPregnancy.syphilis_screening_and_treatment()
CareOfWomenDuringPregnancy.hiv_testing()
CareOfWomenDuringPregnancy.iptp_administration()
CareOfWomenDuringPregnancy.gdm_screening()
CareOfWomenDuringPregnancy.interventions_delivered_each_visit_from_anc2()
CareOfWomenDuringPregnancy.check_anc1_can_run()
CareOfWomenDuringPregnancy.check_subsequent_anc_can_run()
CareOfWomenDuringPregnancy.full_blood_count_testing()
CareOfWomenDuringPregnancy.antenatal_blood_transfusion()
CareOfWomenDuringPregnancy.initiate_maintenance_anti_hypertensive_treatment()
CareOfWomenDuringPregnancy.initiate_treatment_for_severe_hypertension()
CareOfWomenDuringPregnancy.treatment_for_severe_pre_eclampsia_or_eclampsia()
CareOfWomenDuringPregnancy.antibiotics_for_prom()
CareOfWomenDuringPregnancy.ectopic_pregnancy_treatment_doesnt_run()
CareOfWomenDuringPregnancy.calculate_beddays()
HSI_CareOfWomenDuringPregnancy_FirstAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SecondAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_ThirdAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FourthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FifthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SixthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SeventhAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_EighthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FocusedANCVisit
HSI_CareOfWomenDuringPregnancy_PresentsForInductionOfLabour
HSI_CareOfWomenDuringPregnancy_AntenatalWardInpatientCare
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.__init__()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.apply()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.did_not_run()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.not_available()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.__init__()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.apply()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.did_not_run()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.not_available()
HSI_CareOfWomenDuringPregnancy_PostAbortionCaseManagement
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.__init__()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.apply()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.never_ran()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.did_not_run()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.not_available()
CareOfWomenDuringPregnancyLoggingEvent
- tlo.methods.causes module
- tlo.methods.chronicsyndrome module
- tlo.methods.consumables module
- tlo.methods.contraception module
Contraception
Contraception.__init__()
Contraception.read_parameters()
Contraception.pre_initialise_population()
Contraception.initialise_population()
Contraception.initialise_simulation()
Contraception.on_birth()
Contraception.end_pregnancy()
Contraception.process_params()
Contraception.update_params_for_interventions()
Contraception.select_contraceptive_following_birth()
Contraception.get_item_code_for_each_contraceptive()
Contraception.schedule_batch_of_contraceptive_changes()
Contraception.do_and_log_individual_contraception_change()
Contraception.schedule_births_for_first_9_months()
Contraception.on_simulation_end()
DirectBirth
ContraceptionPoll
ContraceptionPoll.__init__()
ContraceptionPoll.apply()
ContraceptionPoll.update_contraceptive()
ContraceptionPoll.initiate()
ContraceptionPoll.discontinue_switch_or_continue()
ContraceptionPoll.update_pregnancy()
ContraceptionPoll.pregnancy_for_those_on_contraceptive()
ContraceptionPoll.pregnancy_for_those_not_on_contraceptive()
ContraceptionPoll.set_new_pregnancy()
ContraceptionLoggingEvent
HSI_Contraception_FamilyPlanningAppt
StartInterventions
SimplifiedPregnancyAndLabour
EndOfPregnancyEvent
- tlo.methods.copd module
Copd
Copd.__init__()
Copd.read_parameters()
Copd.pre_initialise_population()
Copd.initialise_population()
Copd.initialise_simulation()
Copd.on_birth()
Copd.report_daly_values()
Copd.define_symptoms()
Copd.lookup_item_codes()
Copd.do_logging()
Copd._common_first_appt()
Copd.do_at_generic_first_appt()
Copd.do_at_generic_first_appt_emergency()
CopdPollEvent
CopdExacerbationEvent
CopdDeath
HSI_Copd_TreatmentOnSevereExacerbation
- tlo.methods.demography module
Demography
Demography.__init__()
Demography.read_parameters()
Demography.pre_initialise_population()
Demography.initialise_population()
Demography.initialise_simulation()
Demography.on_birth()
Demography._edit_init_pop_to_prevent_persons_greater_than_max_age()
Demography._edit_init_pop_so_that_equal_number_in_each_district()
Demography.process_causes_of_death()
Demography.do_death()
Demography.create_mappers_from_causes_of_death_to_label()
Demography.calc_py_lived_in_last_year()
Demography.compute_initial_model_to_data_popsize_ratio()
AgeUpdateEvent
OtherDeathPoll
InstantaneousDeath
DemographyLoggingEvent
- tlo.methods.depression module
Depression
Depression.__init__()
Depression.read_parameters()
Depression.apply_linear_model()
Depression.initialise_population()
Depression.initialise_simulation()
Depression.on_birth()
Depression.on_hsi_alert()
Depression.report_daly_values()
Depression._check_for_suspected_depression()
Depression.do_on_presentation_to_care()
Depression.do_when_suspected_depression()
Depression.do_at_generic_first_appt()
Depression.do_at_generic_first_appt_emergency()
DepressionPollingEvent
DepressionSelfHarmEvent
DepressionSuicideEvent
DepressionLoggingEvent
HSI_Depression_TalkingTherapy
HSI_Depression_Start_Antidepressant
HSI_Depression_Refill_Antidepressant
- tlo.methods.diarrhoea module
- Overview
Diarrhoea
Diarrhoea.__init__()
Diarrhoea.read_parameters()
Diarrhoea.initialise_population()
Diarrhoea.initialise_simulation()
Diarrhoea.on_birth()
Diarrhoea.on_hsi_alert()
Diarrhoea.report_daly_values()
Diarrhoea.look_up_consumables()
Diarrhoea.do_treatment()
Diarrhoea.cancel_death_date()
Diarrhoea.end_episode()
Diarrhoea.check_properties()
Diarrhoea.do_at_generic_first_appt()
DiarrhoeaPollingEvent
DiarrhoeaIncidentCase
DiarrhoeaNaturalRecoveryEvent
DiarrhoeaDeathEvent
DiarrhoeaCureEvent
HSI_Diarrhoea_Treatment_Outpatient
HSI_Diarrhoea_Treatment_Inpatient
DiarrhoeaPropertiesOfOtherModules
DiarrhoeaCheckPropertiesEvent
- tlo.methods.dxmanager module
- tlo.methods.enhanced_lifestyle module
- tlo.methods.epi module
- tlo.methods.epilepsy module
Epilepsy
Epilepsy.__init__()
Epilepsy.read_parameters()
Epilepsy.initialise_population()
Epilepsy.initialise_simulation()
Epilepsy.on_birth()
Epilepsy.report_daly_values()
Epilepsy.transition_seizure_stat()
Epilepsy.stop_antiep()
Epilepsy.get_best_available_medicine()
Epilepsy.do_at_generic_first_appt_emergency()
EpilepsyEvent
EpilepsyLoggingEvent
HSI_Epilepsy_Start_Anti_Epileptic
HSI_Epilepsy_Follow_Up
- tlo.methods.equipment module
- tlo.methods.fullmodel module
- tlo.methods.healthburden module
HealthBurden
HealthBurden.__init__()
HealthBurden.read_parameters()
HealthBurden.initialise_population()
HealthBurden.initialise_simulation()
HealthBurden.process_causes_of_disability()
HealthBurden.process_causes_of_dalys()
HealthBurden.on_birth()
HealthBurden.on_simulation_end()
HealthBurden.get_dalys()
HealthBurden.get_daly_weight()
HealthBurden.report_live_years_lost()
HealthBurden.decompose_yll_by_age_and_time()
HealthBurden.write_to_log()
HealthBurden.check_multi_index()
Get_Current_DALYS
Healthburden_WriteToLog
- tlo.methods.healthseekingbehaviour module
HealthSeekingBehaviour
HealthSeekingBehaviour.__init__()
HealthSeekingBehaviour.read_parameters()
HealthSeekingBehaviour.initialise_population()
HealthSeekingBehaviour.initialise_simulation()
HealthSeekingBehaviour.on_birth()
HealthSeekingBehaviour.define_linear_models()
HealthSeekingBehaviour.do_at_generic_first_appt_emergency()
HealthSeekingBehaviourPoll
- tlo.methods.healthsystem module
HealthSystem
HealthSystem.__init__()
HealthSystem.read_parameters()
HealthSystem.pre_initialise_population()
HealthSystem.initialise_population()
HealthSystem.initialise_simulation()
HealthSystem.on_birth()
HealthSystem.on_simulation_end()
HealthSystem.setup_priority_policy()
HealthSystem.process_healthsystem_organisation_files()
HealthSystem.setup_daily_capabilities()
HealthSystem.format_daily_capabilities()
HealthSystem._rescale_capabilities_to_capture_effective_capability()
HealthSystem.update_consumables_availability_to_represent_merging_of_levels_1b_and_2()
HealthSystem.get_service_availability()
HealthSystem.get_cons_availability()
HealthSystem.get_beds_availability()
HealthSystem.get_equip_availability()
HealthSystem.schedule_to_call_never_ran_on_date()
HealthSystem.get_mode_appt_constraints()
HealthSystem.get_priority_policy_initial()
HealthSystem.load_priority_policy()
HealthSystem.schedule_hsi_event()
HealthSystem._add_hsi_event_queue_item_to_hsi_event_queue()
HealthSystem.enforce_priority_policy()
HealthSystem.check_hsi_event_is_valid()
HealthSystem.is_treatment_id_allowed()
HealthSystem.schedule_batch_of_individual_hsi_events()
HealthSystem.appt_footprint_is_valid()
HealthSystem.get_blank_appt_footprint()
HealthSystem.get_facility_info()
HealthSystem.get_appt_footprint_as_time_request()
HealthSystem.get_squeeze_factors()
HealthSystem.record_hsi_event()
HealthSystem.write_to_hsi_log()
HealthSystem.call_and_record_never_ran_hsi_event()
HealthSystem.write_to_never_ran_hsi_log()
HealthSystem.log_current_capabilities_and_usage()
HealthSystem.remove_beddays_footprint()
HealthSystem.find_events_for_person()
HealthSystem.reset_queue()
HealthSystem.get_item_codes_from_package_name()
HealthSystem.get_item_code_from_item_name()
HealthSystem.override_availability_of_consumables()
HealthSystem._write_hsi_event_counts_to_log_and_reset()
HealthSystem._write_never_ran_hsi_event_counts_to_log_and_reset()
HealthSystem.on_end_of_day()
HealthSystem.on_end_of_month()
HealthSystem.on_end_of_year()
HealthSystem.run_population_level_events()
HealthSystem.run_individual_level_events_in_mode_0_or_1()
HealthSystemScheduler
HealthSystemScheduler.__init__()
HealthSystemScheduler._is_last_day_of_the_year()
HealthSystemScheduler._is_last_day_of_the_month()
HealthSystemScheduler._get_events_due_today()
HealthSystemScheduler.process_events_mode_0_and_1()
HealthSystemScheduler.process_events_mode_2()
HealthSystemScheduler.apply()
HealthSystemChangeParameters
DynamicRescalingHRCapabilities
ConstantRescalingHRCapabilities
RescaleHRCapabilities_ByDistrict
HealthSystemChangeMode
- tlo.methods.hiv module
Hiv
Hiv.__init__()
Hiv.read_parameters()
Hiv.pre_initialise_population()
Hiv._build_linear_models()
Hiv.initialise_population()
Hiv.initialise_baseline_prevalence()
Hiv.initialise_baseline_art()
Hiv.initialise_baseline_tested()
Hiv.initialise_simulation()
Hiv.update_parameters_for_program_scaleup()
Hiv.on_birth()
Hiv.report_daly_values()
Hiv.mtct_during_breastfeeding()
Hiv.do_new_infection()
Hiv.sample_time_from_infection_to_aids_given_parameters()
Hiv.get_time_from_infection_to_aids_distribution_parameters()
Hiv.get_time_from_aids_to_death()
Hiv.do_when_hiv_diagnosed()
Hiv.prob_art_start_after_test()
Hiv.prob_viral_suppression()
Hiv.stops_treatment()
Hiv.per_capita_testing_rate()
Hiv.decide_whether_hiv_test_for_mother()
Hiv.decide_whether_hiv_test_for_infant()
Hiv.check_config_of_properties()
Hiv.do_at_generic_first_appt()
HivRegularPollingEvent
HivInfectionEvent
HivInfectionDuringBreastFeedingEvent
HivAidsOnsetEvent
HivAidsDeathEvent
HivAidsTbDeathEvent
Hiv_DecisionToContinueOnPrEP
Hiv_DecisionToContinueTreatment
HivScaleUpEvent
HSI_Hiv_TestAndRefer
HSI_Hiv_Circ
HSI_Hiv_StartInfantProphylaxis
HSI_Hiv_StartOrContinueOnPrep
HSI_Hiv_StartOrContinueTreatment
HSI_Hiv_StartOrContinueTreatment.__init__()
HSI_Hiv_StartOrContinueTreatment.apply()
HSI_Hiv_StartOrContinueTreatment.do_at_initiation()
HSI_Hiv_StartOrContinueTreatment.do_at_continuation()
HSI_Hiv_StartOrContinueTreatment.determine_vl_status()
HSI_Hiv_StartOrContinueTreatment.get_drugs()
HSI_Hiv_StartOrContinueTreatment.consider_tb()
HSI_Hiv_StartOrContinueTreatment.never_ran()
HSI_Hiv_EndOfLifeCare
HivLoggingEvent
HivCheckPropertiesEvent
DummyHivModule
- tlo.methods.hiv_tb_calibration module
- tlo.methods.hsi_event module
HSI_Event
HSI_Event.__init__()
HSI_Event._adjust_facility_level_to_merge_1b_and_2()
HSI_Event.apply()
HSI_Event.did_not_run()
HSI_Event.never_ran()
HSI_Event.post_apply_hook()
HSI_Event._run_after_hsi_event()
HSI_Event.run()
HSI_Event.get_consumables()
HSI_Event.make_beddays_footprint()
HSI_Event.is_all_beddays_allocated()
HSI_Event.make_appt_footprint()
HSI_Event.add_equipment()
HSI_Event.probability_all_equipment_available()
HSI_Event.initialise()
HSI_Event._check_if_appt_footprint_can_run()
HSI_Event._return_item_codes_in_dict()
HSI_Event.as_namedtuple()
HSIEventWrapper
- tlo.methods.hsi_generic_first_appts module
- tlo.methods.labour module
Labour
Labour.__init__()
Labour.read_parameters()
Labour.initialise_population()
Labour.get_and_store_labour_item_codes()
Labour.initialise_simulation()
Labour.on_birth()
Labour.further_on_birth_labour()
Labour.on_hsi_alert()
Labour.report_daly_values()
Labour.set_date_of_labour()
Labour.predict()
Labour.reset_due_date()
Labour.check_labour_can_proceed()
Labour.set_intrapartum_complications()
Labour.set_postpartum_complications()
Labour.progression_of_hypertensive_disorders()
Labour.apply_risk_of_early_postpartum_death()
Labour.labour_characteristics_checker()
Labour.postpartum_characteristics_checker()
Labour.prophylactic_labour_interventions()
Labour.determine_delivery_mode_in_spe_or_ec()
Labour.assessment_and_treatment_of_severe_pre_eclampsia_mgso4()
Labour.assessment_and_treatment_of_hypertension()
Labour.assessment_and_treatment_of_eclampsia()
Labour.assessment_for_assisted_vaginal_delivery()
Labour.assessment_and_treatment_of_maternal_sepsis()
Labour.assessment_and_plan_for_antepartum_haemorrhage()
Labour.assessment_for_referral_uterine_rupture()
Labour.active_management_of_the_third_stage_of_labour()
Labour.assessment_and_treatment_of_pph_uterine_atony()
Labour.assessment_and_treatment_of_pph_retained_placenta()
Labour.surgical_management_of_pph()
Labour.blood_transfusion()
Labour.assessment_and_treatment_of_anaemia()
Labour.assessment_for_depression()
Labour.interventions_delivered_pre_discharge()
Labour.run_if_receives_skilled_birth_attendance_cant_run()
Labour.run_if_receives_postnatal_check_cant_run()
Labour.run_if_receives_comprehensive_emergency_obstetric_care_cant_run()
Labour.do_at_generic_first_appt_emergency()
LabourOnsetEvent
LabourAtHomeEvent
LabourDeathAndStillBirthEvent
BirthAndPostnatalOutcomesEvent
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.__init__()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.apply()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.never_ran()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.did_not_run()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.not_available()
HSI_Labour_ReceivesPostnatalCheck
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.__init__()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.apply()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.never_ran()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.did_not_run()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.not_available()
HSI_Labour_PostnatalWardInpatientCare
LabourAndPostnatalCareAnalysisEvent
LabourLoggingEvent
- tlo.methods.labour_lm module
- tlo.methods.malaria module
Malaria
Malaria.__init__()
Malaria.read_parameters()
Malaria.pre_initialise_population()
Malaria._build_linear_models()
Malaria.initialise_population()
Malaria.malaria_poll2()
Malaria.general_population_rdt_scheduler()
Malaria.initialise_simulation()
Malaria.update_parameters_for_program_scaleup()
Malaria.on_birth()
Malaria.report_daly_values()
Malaria.check_if_fever_is_caused_by_malaria()
Malaria.do_at_generic_first_appt()
Malaria.do_at_generic_first_appt_emergency()
MalariaPollingEventDistrict
MalariaScaleUpEvent
MalariaIPTp
MalariaEndIPTpProtection
MalariaDeathEvent
HSI_Malaria_rdt
HSI_Malaria_rdt_community
HSI_Malaria_Treatment
HSI_Malaria_Treatment_Complicated
HSI_MalariaIPTp
MalariaUpdateEvent
MalariaParasiteClearanceEvent
MalariaLoggingEvent
MalariaTxLoggingEvent
MalariaPrevDistrictLoggingEvent
- tlo.methods.measles module
- tlo.methods.mockitis module
- tlo.methods.newborn_outcomes module
NewbornOutcomes
NewbornOutcomes.__init__()
NewbornOutcomes.read_parameters()
NewbornOutcomes.initialise_population()
NewbornOutcomes.get_and_store_newborn_item_codes()
NewbornOutcomes.initialise_simulation()
NewbornOutcomes.eval()
NewbornOutcomes.apply_risk_of_congenital_anomaly()
NewbornOutcomes.apply_risk_of_neonatal_infection_and_sepsis()
NewbornOutcomes.apply_risk_of_encephalopathy()
NewbornOutcomes.apply_risk_of_preterm_respiratory_distress_syndrome()
NewbornOutcomes.apply_risk_of_not_breathing_at_birth()
NewbornOutcomes.scheduled_week_one_postnatal_event()
NewbornOutcomes.set_death_status()
NewbornOutcomes.set_disability_status()
NewbornOutcomes.essential_newborn_care()
NewbornOutcomes.breast_feeding()
NewbornOutcomes.kangaroo_mother_care()
NewbornOutcomes.hiv_screening_for_at_risk_newborns()
NewbornOutcomes.apply_effect_of_neonatal_resus()
NewbornOutcomes.assessment_and_treatment_newborn_sepsis()
NewbornOutcomes.link_twins()
NewbornOutcomes.schedule_pnc()
NewbornOutcomes.on_birth()
NewbornOutcomes.on_hsi_alert()
NewbornOutcomes.report_daly_values()
NewbornOutcomes.run_if_care_of_the_receives_postnatal_check_cant_run()
HSI_NewbornOutcomes_ReceivesPostnatalCheck
HSI_NewbornOutcomes_ReceivesPostnatalCheck.__init__()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.apply()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.never_ran()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.did_not_run()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.not_available()
HSI_NewbornOutcomes_ReceivesPostnatalCheck._get_facility_level_for_pnc()
HSI_NewbornOutcomes_NeonatalWardInpatientCare
BreastfeedingStatusUpdateEventSixMonths
BreastfeedingStatusUpdateEventTwoYears
- tlo.methods.newborn_outcomes_lm module
- tlo.methods.oesophagealcancer module
- tlo.methods.other_adult_cancers module
- tlo.methods.postnatal_supervisor module
PostnatalSupervisor
PostnatalSupervisor.__init__()
PostnatalSupervisor.read_parameters()
PostnatalSupervisor.initialise_population()
PostnatalSupervisor.initialise_simulation()
PostnatalSupervisor.on_birth()
PostnatalSupervisor.further_on_birth_postnatal_supervisor()
PostnatalSupervisor.on_hsi_alert()
PostnatalSupervisor.report_daly_values()
PostnatalSupervisor.apply_linear_model()
PostnatalSupervisor.set_postnatal_complications_mothers()
PostnatalSupervisor.apply_risk_of_neonatal_complications_in_week_one()
PostnatalSupervisor.set_postnatal_complications_neonates()
PostnatalSupervisor.apply_risk_of_maternal_or_neonatal_death_postnatal()
PostnatalSupervisorEvent
PostnatalWeekOneMaternalEvent
PostnatalWeekOneNeonatalEvent
HSI_PostnatalSupervisor_TreatmentForObstetricFistula
- tlo.methods.postnatal_supervisor_lm module
- tlo.methods.pregnancy_helper_functions module
- tlo.methods.pregnancy_supervisor module
PregnancySupervisor
PregnancySupervisor.__init__()
PregnancySupervisor.read_parameters()
PregnancySupervisor.initialise_population()
PregnancySupervisor.initialise_simulation()
PregnancySupervisor.on_birth()
PregnancySupervisor.further_on_birth_pregnancy_supervisor()
PregnancySupervisor.on_hsi_alert()
PregnancySupervisor.report_daly_values()
PregnancySupervisor.pregnancy_supervisor_property_reset()
PregnancySupervisor.apply_linear_model()
PregnancySupervisor.schedule_anc_one()
PregnancySupervisor.apply_risk_of_spontaneous_abortion()
PregnancySupervisor.apply_risk_of_induced_abortion()
PregnancySupervisor.do_after_abortion()
PregnancySupervisor.apply_risk_of_abortion_complications()
PregnancySupervisor.apply_risk_of_anaemia()
PregnancySupervisor.apply_risk_of_gestational_diabetes()
PregnancySupervisor.apply_risk_of_hypertensive_disorders()
PregnancySupervisor.apply_risk_of_progression_of_hypertension()
PregnancySupervisor.apply_risk_of_death_from_hypertension()
PregnancySupervisor.apply_risk_of_placental_abruption()
PregnancySupervisor.apply_risk_of_antepartum_haemorrhage()
PregnancySupervisor.apply_risk_of_premature_rupture_of_membranes_and_chorioamnionitis()
PregnancySupervisor.apply_risk_of_preterm_labour()
PregnancySupervisor.update_variables_post_still_birth_for_data_frame()
PregnancySupervisor.update_variables_post_still_birth_for_individual()
PregnancySupervisor.apply_risk_of_still_birth()
PregnancySupervisor.induction_care_seeking_and_still_birth_risk()
PregnancySupervisor.care_seeking_pregnancy_loss_complications()
PregnancySupervisor.apply_risk_of_death_from_monthly_complications()
PregnancySupervisor.schedule_first_anc_contact_for_new_pregnancy()
PregnancySupervisor.do_at_generic_first_appt_emergency()
PregnancySupervisorEvent
EctopicPregnancyEvent
EctopicPregnancyRuptureEvent
EarlyPregnancyLossDeathEvent
GestationalDiabetesGlycaemicControlEvent
SyphilisInPregnancyEvent
ParameterUpdateEvent
PregnancyAnalysisEvent
PregnancyLoggingEvent
- tlo.methods.pregnancy_supervisor_lm module
- tlo.methods.prostate_cancer module
ProstateCancer
ProstateCancerMainPollingEvent
HSI_ProstateCancer_Investigation_Following_Urinary_Symptoms
HSI_ProstateCancer_Investigation_Following_Pelvic_Pain
HSI_ProstateCancer_Investigation_Following_psa_positive
HSI_ProstateCancer_StartTreatment
HSI_ProstateCancer_PostTreatmentCheck
HSI_ProstateCancer_PalliativeCare
ProstateCancerLoggingEvent
- tlo.methods.rti module
RTI
RTI.__init__()
RTI.read_parameters()
RTI.rti_injury_diagnosis()
RTI.initialise_population()
RTI.initialise_simulation()
RTI.rti_do_when_diagnosed()
RTI.rti_do_for_major_surgeries()
RTI.rti_do_for_minor_surgeries()
RTI.rti_acute_pain_management()
RTI.rti_ask_for_suture_kit()
RTI.rti_ask_for_shock_treatment()
RTI.rti_ask_for_burn_treatment()
RTI.rti_ask_for_fracture_casts()
RTI.rti_ask_for_open_fracture_treatment()
RTI.rti_ask_for_tetanus()
RTI.schedule_hsi_event_for_tomorrow()
RTI.rti_find_injury_column()
RTI.rti_find_all_columns_of_treated_injuries()
RTI.rti_assign_daly_weights()
RTI.rti_alter_daly_post_treatment()
RTI.rti_swap_injury_daly_upon_treatment()
RTI.rti_determine_LOS()
RTI.rti_find_and_count_injuries()
RTI.rti_treated_injuries()
RTI.on_birth()
RTI.look_up_consumable_item_codes()
RTI.on_hsi_alert()
RTI.report_daly_values()
RTI.rti_assign_injuries()
RTI._common_first_appt_steps()
RTI.do_at_generic_first_appt()
RTI.do_at_generic_first_appt_emergency()
RTIPollingEvent
RTI_Check_Death_No_Med
RTI_Recovery_Event
HSI_RTI_Imaging_Event
HSI_RTI_Medical_Intervention
HSI_RTI_Shock_Treatment
HSI_RTI_Fracture_Cast
HSI_RTI_Open_Fracture_Treatment
HSI_RTI_Suture
HSI_RTI_Burn_Management
HSI_RTI_Tetanus_Vaccine
HSI_RTI_Acute_Pain_Management
HSI_RTI_Major_Surgeries
HSI_RTI_Minor_Surgeries
RTI_Medical_Intervention_Death_Event
RTI_No_Lifesaving_Medical_Intervention_Death_Event
RTI_Logging_Event
- tlo.methods.scenario_switcher module
ImprovedHealthSystemAndCareSeekingScenarioSwitcher
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.__init__()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.read_parameters()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.pre_initialise_population()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.update_parameters()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.initialise_population()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.initialise_simulation()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.on_birth()
ScenarioSwitchEvent
- tlo.methods.schisto module
Schisto
Schisto.__init__()
Schisto.read_parameters()
Schisto.pre_initialise_population()
Schisto.initialise_population()
Schisto.initialise_simulation()
Schisto.on_birth()
Schisto.report_daly_values()
Schisto.do_effect_of_treatment()
Schisto._load_parameters_from_workbook()
Schisto._register_symptoms()
Schisto._get_disability_weight()
Schisto._get_item_code_for_praziquantel()
Schisto._schedule_mda_events()
Schisto.do_at_generic_first_appt()
SchistoInfectionWormBurdenEvent
SchistoMatureWorms
SchistoWormsNatDeath
SchistoMDAEvent
HSI_Schisto_TestingFollowingSymptoms
HSI_Schisto_TreatmentFollowingDiagnosis
HSI_Schisto_MDA
SchistoLoggingEvent
- tlo.methods.simplified_births module
- tlo.methods.skeleton module
- tlo.methods.stunting module
- Overview
Stunting
Stunting.__init__()
Stunting.read_parameters()
Stunting.initialise_population()
Stunting.initialise_simulation()
Stunting.on_birth()
Stunting.look_up_consumable_item_codes()
Stunting.do_onset()
Stunting.do_progression()
Stunting.do_recovery()
Stunting.do_treatment()
Stunting.do_at_generic_first_appt()
StuntingPollingEvent
StuntingLoggingEvent
HSI_Stunting_ComplementaryFeeding
StuntingPropertiesOfOtherModules
- tlo.methods.symptommanager module
SymptomManager
SymptomManager.__init__()
SymptomManager.get_column_name_for_symptom()
SymptomManager.read_parameters()
SymptomManager.register_symptom()
SymptomManager.register_generic_symptoms()
SymptomManager.pre_initialise_population()
SymptomManager.initialise_population()
SymptomManager.initialise_simulation()
SymptomManager.on_birth()
SymptomManager.change_symptom()
SymptomManager.who_has()
SymptomManager.who_not_have()
SymptomManager.has_what()
SymptomManager.have_what()
SymptomManager.causes_of()
SymptomManager.clear_symptoms()
SymptomManager.caused_by()
SymptomManager.get_persons_with_newly_onset_symptoms()
SymptomManager.reset_persons_with_newly_onset_symptoms()
SymptomManager_AutoOnsetEvent
SymptomManager_AutoResolveEvent
SymptomManager_SpuriousSymptomOnset
SymptomManager_SpuriousSymptomResolve
- tlo.methods.tb module
Tb
Tb.__init__()
Tb.read_parameters()
Tb.pre_initialise_population()
Tb._build_linear_models()
Tb.send_for_screening_general()
Tb.select_tb_test()
Tb.get_consumables_for_dx_and_tx()
Tb.initialise_population()
Tb.initialise_simulation()
Tb.update_parameters_for_program_scaleup()
Tb.on_birth()
Tb.report_daly_values()
Tb.calculate_untreated_proportion()
Tb.assign_active_tb()
Tb.consider_ipt_for_those_initiating_art()
Tb.relapse_event()
Tb.end_treatment()
Tb.check_config_of_properties()
TbActiveCasePoll
TbRegularEvents
TbScaleUpEvent
TbActiveEvent
TbSelfCureEvent
HSI_Tb_ScreeningAndRefer
HSI_Tb_ClinicalDiagnosis
HSI_Tb_Xray_level1b
HSI_Tb_Xray_level2
HSI_Tb_StartTreatment
HSI_Tb_FollowUp
HSI_Tb_Start_or_Continue_Ipt
HSI_Tb_EndOfLifeCare
Tb_DecisionToContinueIPT
TbDecideDeathEvent
TbDeathEvent
TbLoggingEvent
TbCheckPropertiesEvent
DummyTbModule
- tlo.methods.wasting module
- tlo.methods.alri module
- Module contents
- Submodules
- tlo.test package
- tlo.analysis package
- Submodules
- tlo.cli module
- tlo.core module
Types
Specifiable
Parameter
Property
Module
Module.INIT_DEPENDENCIES
Module.OPTIONAL_INIT_DEPENDENCIES
Module.ADDITIONAL_DEPENDENCIES
Module.ALTERNATIVE_TO
Module.METADATA
Module.CAUSES_OF_DEATH
Module.CAUSES_OF_DISABILITY
Module.PARAMETERS
Module.PROPERTIES
Module.parameters
Module.load_parameters_from_dataframe()
Module.read_parameters()
Module.initialise_population()
Module.initialise_simulation()
Module.pre_initialise_population()
Module.on_birth()
Module.on_simulation_end()
- tlo.dependencies module
ModuleDependencyError
MultipleModuleInstanceError
get_init_dependencies()
get_all_dependencies()
get_missing_dependencies()
initialise_missing_dependencies()
get_all_required_dependencies()
topologically_sort_modules()
is_valid_tlo_module_subclass()
get_module_class_map()
get_dependencies_and_initialise()
check_dependencies_present()
- tlo.docs module
- tlo.events module
- tlo.lm module
- tlo.population module
- tlo.progressbar module
ProgressBar
ProgressBar.GLYPHS
ProgressBar.n_step
ProgressBar.description
ProgressBar.step
ProgressBar.prop_complete
ProgressBar.perc_complete
ProgressBar.elapsed_time
ProgressBar.iter_rate
ProgressBar.est_remaining_time
ProgressBar.n_block_filled
ProgressBar.n_block_empty
ProgressBar.prop_partial_block
ProgressBar.filled_blocks
ProgressBar.empty_blocks
ProgressBar.partial_block
ProgressBar.progress_bar
ProgressBar.bar_color
ProgressBar.stats
ProgressBar.prefix
ProgressBar.postfix
ProgressBar.reset()
ProgressBar.update()
ProgressBar.refresh()
ProgressBar.start()
ProgressBar.stop()
StreamDisplay
AnsiStreamDisplay
BasicStreamDisplay
- tlo.scenario module
- tlo.simulation module
SimulationPreviouslyInitialisedError
SimulationNotInitialisedError
Simulation
Simulation.log_filepath
Simulation.register()
Simulation.make_initial_population()
Simulation.initialise()
Simulation.finalise()
Simulation.close_output_file()
Simulation.run_simulation_to()
Simulation.simulate()
Simulation.schedule_event()
Simulation.fire_single_event()
Simulation.do_birth()
Simulation.find_events_for_person()
Simulation.save_to_pickle()
Simulation.load_from_pickle()
EventQueue
- tlo.util module
create_age_range_lookup()
transition_states()
sample_outcome()
BitsetHandler
BitsetHandler.df
BitsetHandler.element_repr()
BitsetHandler.to_strings()
BitsetHandler.set()
BitsetHandler.unset()
BitsetHandler.clear()
BitsetHandler.has()
BitsetHandler.has_all()
BitsetHandler.has_any()
BitsetHandler.get()
BitsetHandler.uncompress()
BitsetHandler.not_empty()
BitsetHandler.is_empty()
random_date()
str_to_pandas_date()
hash_dataframe()
get_person_id_to_inherit_from()
convert_excel_files_to_csv()
read_csv_files()
- Module contents
- Subpackages
- tlo.analysis package
- Submodules
- tlo.analysis.hsi_events module
is_valid_hsi_event_subclass()
get_hsi_event_classes_per_module()
get_details_of_defined_hsi_events()
sort_hsi_event_details()
format_hsi_event_details_as_csv()
format_hsi_event_details_as_table()
format_hsi_event_details_as_list()
merge_hsi_event_details()
get_all_defined_hsi_events_as_dataframe()
main()
- tlo.analysis.life_expectancy module
- tlo.analysis.utils module
parse_log_file()
merge_log_files()
write_log_to_excel()
make_calendar_period_lookup()
make_calendar_period_type()
make_age_grp_lookup()
make_age_grp_types()
to_age_group()
get_scenario_outputs()
get_scenario_info()
load_pickled_dataframes()
extract_params()
extract_results()
summarize()
get_grid()
format_gbd()
create_pickles_locally()
compare_number_of_deaths()
flatten_multi_index_series_into_dict_for_logging()
unflatten_flattened_multi_index_in_logging()
LogsDict
get_filtered_treatment_ids()
colors_in_matplotlib()
get_coarse_appt_type()
order_of_coarse_appt()
get_color_coarse_appt()
order_of_short_treatment_ids()
get_color_short_treatment_id()
order_of_cause_of_death_or_daly_label()
get_color_cause_of_death_or_daly_label()
squarify_neat()
get_root_path()
bin_hsi_event_details()
compute_mean_across_runs()
plot_stacked_bar_chart()
plot_clustered_stacked()
get_mappers_in_fullmodel()
get_parameters_for_status_quo()
get_parameters_for_standard_mode2_runs()
get_parameters_for_improved_healthsystem_and_healthcare_seeking()
mix_scenarios()
- tlo.analysis.hsi_events module
- Module contents
- Submodules
- tlo.analysis.hsi_events module
is_valid_hsi_event_subclass()
get_hsi_event_classes_per_module()
get_details_of_defined_hsi_events()
sort_hsi_event_details()
format_hsi_event_details_as_csv()
format_hsi_event_details_as_table()
format_hsi_event_details_as_list()
merge_hsi_event_details()
get_all_defined_hsi_events_as_dataframe()
main()
- tlo.analysis.life_expectancy module
- tlo.analysis.utils module
parse_log_file()
merge_log_files()
write_log_to_excel()
make_calendar_period_lookup()
make_calendar_period_type()
make_age_grp_lookup()
make_age_grp_types()
to_age_group()
get_scenario_outputs()
get_scenario_info()
load_pickled_dataframes()
extract_params()
extract_results()
summarize()
get_grid()
format_gbd()
create_pickles_locally()
compare_number_of_deaths()
flatten_multi_index_series_into_dict_for_logging()
unflatten_flattened_multi_index_in_logging()
LogsDict
get_filtered_treatment_ids()
colors_in_matplotlib()
get_coarse_appt_type()
order_of_coarse_appt()
get_color_coarse_appt()
order_of_short_treatment_ids()
get_color_short_treatment_id()
order_of_cause_of_death_or_daly_label()
get_color_cause_of_death_or_daly_label()
squarify_neat()
get_root_path()
bin_hsi_event_details()
compute_mean_across_runs()
plot_stacked_bar_chart()
plot_clustered_stacked()
get_mappers_in_fullmodel()
get_parameters_for_status_quo()
get_parameters_for_standard_mode2_runs()
get_parameters_for_improved_healthsystem_and_healthcare_seeking()
mix_scenarios()
- tlo.cli module
- tlo.core module
Types
Specifiable
Parameter
Property
Module
Module.INIT_DEPENDENCIES
Module.OPTIONAL_INIT_DEPENDENCIES
Module.ADDITIONAL_DEPENDENCIES
Module.ALTERNATIVE_TO
Module.METADATA
Module.CAUSES_OF_DEATH
Module.CAUSES_OF_DISABILITY
Module.PARAMETERS
Module.PROPERTIES
Module.parameters
Module.load_parameters_from_dataframe()
Module.read_parameters()
Module.initialise_population()
Module.initialise_simulation()
Module.pre_initialise_population()
Module.on_birth()
Module.on_simulation_end()
- tlo.dependencies module
ModuleDependencyError
MultipleModuleInstanceError
get_init_dependencies()
get_all_dependencies()
get_missing_dependencies()
initialise_missing_dependencies()
get_all_required_dependencies()
topologically_sort_modules()
is_valid_tlo_module_subclass()
get_module_class_map()
get_dependencies_and_initialise()
check_dependencies_present()
- tlo.docs module
- tlo.events module
- tlo.lm module
- tlo.logging package
- tlo.logging.core module
- tlo.logging.encoding module
- tlo.logging.helpers module
- tlo.logging.reader module
- tlo.methods package
- Submodules
- tlo.methods.alri module
- Overview
Alri
Alri.__init__()
Alri.read_parameters()
Alri.check_params_read_in_ok()
Alri.define_symptoms()
Alri.pre_initialise_population()
Alri.initialise_population()
Alri.initialise_simulation()
Alri.on_birth()
Alri.report_daly_values()
Alri.over_ride_availability_of_certain_consumables()
Alri.look_up_consumables()
Alri.end_episode()
Alri.cancel_death_and_schedule_cure()
Alri.check_properties()
Alri.do_effects_of_treatment_and_return_outcome()
Alri.record_sought_care_for_alri()
Alri.get_imci_classification_based_on_symptoms()
Alri._ultimate_treatment_indicated_for_patient()
Alri.do_at_generic_first_appt()
Alri.do_at_generic_first_appt_emergency()
AlriPollingEvent
AlriIncidentCase
AlriNaturalRecoveryEvent
AlriCureEvent
AlriDeathEvent
HSI_Alri_Treatment
HSI_Alri_Treatment.__init__()
HSI_Alri_Treatment._as_out_patient()
HSI_Alri_Treatment._as_in_patient()
HSI_Alri_Treatment._refer_to_next_level_up()
HSI_Alri_Treatment._refer_to_become_inpatient()
HSI_Alri_Treatment._schedule_follow_up_following_treatment_failure()
HSI_Alri_Treatment._get_cons()
HSI_Alri_Treatment._get_cons_group()
HSI_Alri_Treatment._get_cons_with_backups()
HSI_Alri_Treatment._assess_and_treat()
HSI_Alri_Treatment._has_staph_aureus()
HSI_Alri_Treatment._get_imci_classification_based_on_symptoms()
HSI_Alri_Treatment._get_imci_classification_by_SpO2_measure()
HSI_Alri_Treatment._get_classification_given_by_health_worker()
HSI_Alri_Treatment._get_disease_classification_for_treatment_decision()
HSI_Alri_Treatment._do_action_given_classification()
HSI_Alri_Treatment._provide_bronchodilator_if_wheeze()
HSI_Alri_Treatment.do_on_follow_up_following_treatment_failure()
HSI_Alri_Treatment.apply()
HSI_Alri_Treatment.never_ran()
AlriLoggingEvent
AlriLoggingEvent.__init__()
AlriLoggingEvent.new_case()
AlriLoggingEvent.new_recovered_case()
AlriLoggingEvent.new_cured_case()
AlriLoggingEvent.new_death()
AlriLoggingEvent.new_seeking_care()
AlriLoggingEvent.new_treated()
AlriLoggingEvent.new_pulmonary_complication_case()
AlriLoggingEvent.new_systemic_complication_case()
AlriLoggingEvent.new_hypoxaemic_case()
AlriLoggingEvent.apply()
AlriCheckPropertiesEvent
AlriIndividualLoggingEvent
AlriPropertiesOfOtherModules
AlriIncidentCase_Lethal_DangerSigns_Pneumonia
AlriIncidentCase_NonLethal_Fast_Breathing_Pneumonia
- tlo.methods.bed_days module
- tlo.methods.bladder_cancer module
- tlo.methods.breast_cancer module
- tlo.methods.cancer_consumables module
- tlo.methods.cardio_metabolic_disorders module
CardioMetabolicDisorders
CardioMetabolicDisorders.__init__()
CardioMetabolicDisorders.read_parameters()
CardioMetabolicDisorders.initialise_population()
CardioMetabolicDisorders.initialise_simulation()
CardioMetabolicDisorders.build_linear_model()
CardioMetabolicDisorders.build_linear_model_symptoms()
CardioMetabolicDisorders.on_birth()
CardioMetabolicDisorders.update_risk_score()
CardioMetabolicDisorders.report_daly_values()
CardioMetabolicDisorders.on_hsi_alert()
CardioMetabolicDisorders.do_at_generic_first_appt()
CardioMetabolicDisorders.do_at_generic_first_appt_emergency()
CardioMetabolicDisorders_MainPollingEvent
CardioMetabolicDisordersEvent
CardioMetabolicDisordersDeathEvent
CardioMetabolicDisordersWeightLossEvent
CardioMetabolicDisorders_LoggingEvent
HSI_CardioMetabolicDisorders_CommunityTestingForHypertension
HSI_CardioMetabolicDisorders_Investigations
HSI_CardioMetabolicDisorders_StartWeightLossAndMedication
HSI_CardioMetabolicDisorders_Refill_Medication
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.__init__()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.do_for_each_event_to_be_investigated()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.apply()
HSI_CardioMetabolicDisorders_SeeksEmergencyCareAndGetsTreatment.did_not_run()
- tlo.methods.care_of_women_during_pregnancy module
CareOfWomenDuringPregnancy
CareOfWomenDuringPregnancy.__init__()
CareOfWomenDuringPregnancy.read_parameters()
CareOfWomenDuringPregnancy.initialise_population()
CareOfWomenDuringPregnancy.get_and_store_pregnancy_item_codes()
CareOfWomenDuringPregnancy.initialise_simulation()
CareOfWomenDuringPregnancy.care_of_women_in_pregnancy_property_reset()
CareOfWomenDuringPregnancy.on_birth()
CareOfWomenDuringPregnancy.further_on_birth_care_of_women_in_pregnancy()
CareOfWomenDuringPregnancy.on_hsi_alert()
CareOfWomenDuringPregnancy.get_approx_days_of_pregnancy()
CareOfWomenDuringPregnancy.determine_gestational_age_for_next_contact()
CareOfWomenDuringPregnancy.antenatal_care_scheduler()
CareOfWomenDuringPregnancy.schedule_admission()
CareOfWomenDuringPregnancy.call_if_maternal_emergency_assessment_cant_run()
CareOfWomenDuringPregnancy.check_intervention_should_run_and_update_mni()
CareOfWomenDuringPregnancy.screening_interventions_delivered_at_every_contact()
CareOfWomenDuringPregnancy.iron_and_folic_acid_supplementation()
CareOfWomenDuringPregnancy.balance_energy_and_protein_supplementation()
CareOfWomenDuringPregnancy.insecticide_treated_bed_net()
CareOfWomenDuringPregnancy.tb_screening()
CareOfWomenDuringPregnancy.tetanus_vaccination()
CareOfWomenDuringPregnancy.calcium_supplementation()
CareOfWomenDuringPregnancy.point_of_care_hb_testing()
CareOfWomenDuringPregnancy.albendazole_administration()
CareOfWomenDuringPregnancy.hep_b_testing()
CareOfWomenDuringPregnancy.syphilis_screening_and_treatment()
CareOfWomenDuringPregnancy.hiv_testing()
CareOfWomenDuringPregnancy.iptp_administration()
CareOfWomenDuringPregnancy.gdm_screening()
CareOfWomenDuringPregnancy.interventions_delivered_each_visit_from_anc2()
CareOfWomenDuringPregnancy.check_anc1_can_run()
CareOfWomenDuringPregnancy.check_subsequent_anc_can_run()
CareOfWomenDuringPregnancy.full_blood_count_testing()
CareOfWomenDuringPregnancy.antenatal_blood_transfusion()
CareOfWomenDuringPregnancy.initiate_maintenance_anti_hypertensive_treatment()
CareOfWomenDuringPregnancy.initiate_treatment_for_severe_hypertension()
CareOfWomenDuringPregnancy.treatment_for_severe_pre_eclampsia_or_eclampsia()
CareOfWomenDuringPregnancy.antibiotics_for_prom()
CareOfWomenDuringPregnancy.ectopic_pregnancy_treatment_doesnt_run()
CareOfWomenDuringPregnancy.calculate_beddays()
HSI_CareOfWomenDuringPregnancy_FirstAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SecondAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_ThirdAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FourthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FifthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SixthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_SeventhAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_EighthAntenatalCareContact
HSI_CareOfWomenDuringPregnancy_FocusedANCVisit
HSI_CareOfWomenDuringPregnancy_PresentsForInductionOfLabour
HSI_CareOfWomenDuringPregnancy_AntenatalWardInpatientCare
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.__init__()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.apply()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.did_not_run()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfAnaemia.not_available()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.__init__()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.apply()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.did_not_run()
HSI_CareOfWomenDuringPregnancy_AntenatalOutpatientManagementOfGestationalDiabetes.not_available()
HSI_CareOfWomenDuringPregnancy_PostAbortionCaseManagement
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.__init__()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.apply()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.never_ran()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.did_not_run()
HSI_CareOfWomenDuringPregnancy_TreatmentForEctopicPregnancy.not_available()
CareOfWomenDuringPregnancyLoggingEvent
- tlo.methods.causes module
- tlo.methods.chronicsyndrome module
- tlo.methods.consumables module
- tlo.methods.contraception module
Contraception
Contraception.__init__()
Contraception.read_parameters()
Contraception.pre_initialise_population()
Contraception.initialise_population()
Contraception.initialise_simulation()
Contraception.on_birth()
Contraception.end_pregnancy()
Contraception.process_params()
Contraception.update_params_for_interventions()
Contraception.select_contraceptive_following_birth()
Contraception.get_item_code_for_each_contraceptive()
Contraception.schedule_batch_of_contraceptive_changes()
Contraception.do_and_log_individual_contraception_change()
Contraception.schedule_births_for_first_9_months()
Contraception.on_simulation_end()
DirectBirth
ContraceptionPoll
ContraceptionPoll.__init__()
ContraceptionPoll.apply()
ContraceptionPoll.update_contraceptive()
ContraceptionPoll.initiate()
ContraceptionPoll.discontinue_switch_or_continue()
ContraceptionPoll.update_pregnancy()
ContraceptionPoll.pregnancy_for_those_on_contraceptive()
ContraceptionPoll.pregnancy_for_those_not_on_contraceptive()
ContraceptionPoll.set_new_pregnancy()
ContraceptionLoggingEvent
HSI_Contraception_FamilyPlanningAppt
StartInterventions
SimplifiedPregnancyAndLabour
EndOfPregnancyEvent
- tlo.methods.copd module
Copd
Copd.__init__()
Copd.read_parameters()
Copd.pre_initialise_population()
Copd.initialise_population()
Copd.initialise_simulation()
Copd.on_birth()
Copd.report_daly_values()
Copd.define_symptoms()
Copd.lookup_item_codes()
Copd.do_logging()
Copd._common_first_appt()
Copd.do_at_generic_first_appt()
Copd.do_at_generic_first_appt_emergency()
CopdPollEvent
CopdExacerbationEvent
CopdDeath
HSI_Copd_TreatmentOnSevereExacerbation
- tlo.methods.demography module
Demography
Demography.__init__()
Demography.read_parameters()
Demography.pre_initialise_population()
Demography.initialise_population()
Demography.initialise_simulation()
Demography.on_birth()
Demography._edit_init_pop_to_prevent_persons_greater_than_max_age()
Demography._edit_init_pop_so_that_equal_number_in_each_district()
Demography.process_causes_of_death()
Demography.do_death()
Demography.create_mappers_from_causes_of_death_to_label()
Demography.calc_py_lived_in_last_year()
Demography.compute_initial_model_to_data_popsize_ratio()
AgeUpdateEvent
OtherDeathPoll
InstantaneousDeath
DemographyLoggingEvent
- tlo.methods.depression module
Depression
Depression.__init__()
Depression.read_parameters()
Depression.apply_linear_model()
Depression.initialise_population()
Depression.initialise_simulation()
Depression.on_birth()
Depression.on_hsi_alert()
Depression.report_daly_values()
Depression._check_for_suspected_depression()
Depression.do_on_presentation_to_care()
Depression.do_when_suspected_depression()
Depression.do_at_generic_first_appt()
Depression.do_at_generic_first_appt_emergency()
DepressionPollingEvent
DepressionSelfHarmEvent
DepressionSuicideEvent
DepressionLoggingEvent
HSI_Depression_TalkingTherapy
HSI_Depression_Start_Antidepressant
HSI_Depression_Refill_Antidepressant
- tlo.methods.diarrhoea module
- Overview
Diarrhoea
Diarrhoea.__init__()
Diarrhoea.read_parameters()
Diarrhoea.initialise_population()
Diarrhoea.initialise_simulation()
Diarrhoea.on_birth()
Diarrhoea.on_hsi_alert()
Diarrhoea.report_daly_values()
Diarrhoea.look_up_consumables()
Diarrhoea.do_treatment()
Diarrhoea.cancel_death_date()
Diarrhoea.end_episode()
Diarrhoea.check_properties()
Diarrhoea.do_at_generic_first_appt()
DiarrhoeaPollingEvent
DiarrhoeaIncidentCase
DiarrhoeaNaturalRecoveryEvent
DiarrhoeaDeathEvent
DiarrhoeaCureEvent
HSI_Diarrhoea_Treatment_Outpatient
HSI_Diarrhoea_Treatment_Inpatient
DiarrhoeaPropertiesOfOtherModules
DiarrhoeaCheckPropertiesEvent
- tlo.methods.dxmanager module
- tlo.methods.enhanced_lifestyle module
- tlo.methods.epi module
- tlo.methods.epilepsy module
Epilepsy
Epilepsy.__init__()
Epilepsy.read_parameters()
Epilepsy.initialise_population()
Epilepsy.initialise_simulation()
Epilepsy.on_birth()
Epilepsy.report_daly_values()
Epilepsy.transition_seizure_stat()
Epilepsy.stop_antiep()
Epilepsy.get_best_available_medicine()
Epilepsy.do_at_generic_first_appt_emergency()
EpilepsyEvent
EpilepsyLoggingEvent
HSI_Epilepsy_Start_Anti_Epileptic
HSI_Epilepsy_Follow_Up
- tlo.methods.equipment module
- tlo.methods.fullmodel module
- tlo.methods.healthburden module
HealthBurden
HealthBurden.__init__()
HealthBurden.read_parameters()
HealthBurden.initialise_population()
HealthBurden.initialise_simulation()
HealthBurden.process_causes_of_disability()
HealthBurden.process_causes_of_dalys()
HealthBurden.on_birth()
HealthBurden.on_simulation_end()
HealthBurden.get_dalys()
HealthBurden.get_daly_weight()
HealthBurden.report_live_years_lost()
HealthBurden.decompose_yll_by_age_and_time()
HealthBurden.write_to_log()
HealthBurden.check_multi_index()
Get_Current_DALYS
Healthburden_WriteToLog
- tlo.methods.healthseekingbehaviour module
HealthSeekingBehaviour
HealthSeekingBehaviour.__init__()
HealthSeekingBehaviour.read_parameters()
HealthSeekingBehaviour.initialise_population()
HealthSeekingBehaviour.initialise_simulation()
HealthSeekingBehaviour.on_birth()
HealthSeekingBehaviour.define_linear_models()
HealthSeekingBehaviour.do_at_generic_first_appt_emergency()
HealthSeekingBehaviourPoll
- tlo.methods.healthsystem module
HealthSystem
HealthSystem.__init__()
HealthSystem.read_parameters()
HealthSystem.pre_initialise_population()
HealthSystem.initialise_population()
HealthSystem.initialise_simulation()
HealthSystem.on_birth()
HealthSystem.on_simulation_end()
HealthSystem.setup_priority_policy()
HealthSystem.process_healthsystem_organisation_files()
HealthSystem.setup_daily_capabilities()
HealthSystem.format_daily_capabilities()
HealthSystem._rescale_capabilities_to_capture_effective_capability()
HealthSystem.update_consumables_availability_to_represent_merging_of_levels_1b_and_2()
HealthSystem.get_service_availability()
HealthSystem.get_cons_availability()
HealthSystem.get_beds_availability()
HealthSystem.get_equip_availability()
HealthSystem.schedule_to_call_never_ran_on_date()
HealthSystem.get_mode_appt_constraints()
HealthSystem.get_priority_policy_initial()
HealthSystem.load_priority_policy()
HealthSystem.schedule_hsi_event()
HealthSystem._add_hsi_event_queue_item_to_hsi_event_queue()
HealthSystem.enforce_priority_policy()
HealthSystem.check_hsi_event_is_valid()
HealthSystem.is_treatment_id_allowed()
HealthSystem.schedule_batch_of_individual_hsi_events()
HealthSystem.appt_footprint_is_valid()
HealthSystem.get_blank_appt_footprint()
HealthSystem.get_facility_info()
HealthSystem.get_appt_footprint_as_time_request()
HealthSystem.get_squeeze_factors()
HealthSystem.record_hsi_event()
HealthSystem.write_to_hsi_log()
HealthSystem.call_and_record_never_ran_hsi_event()
HealthSystem.write_to_never_ran_hsi_log()
HealthSystem.log_current_capabilities_and_usage()
HealthSystem.remove_beddays_footprint()
HealthSystem.find_events_for_person()
HealthSystem.reset_queue()
HealthSystem.get_item_codes_from_package_name()
HealthSystem.get_item_code_from_item_name()
HealthSystem.override_availability_of_consumables()
HealthSystem._write_hsi_event_counts_to_log_and_reset()
HealthSystem._write_never_ran_hsi_event_counts_to_log_and_reset()
HealthSystem.on_end_of_day()
HealthSystem.on_end_of_month()
HealthSystem.on_end_of_year()
HealthSystem.run_population_level_events()
HealthSystem.run_individual_level_events_in_mode_0_or_1()
HealthSystemScheduler
HealthSystemScheduler.__init__()
HealthSystemScheduler._is_last_day_of_the_year()
HealthSystemScheduler._is_last_day_of_the_month()
HealthSystemScheduler._get_events_due_today()
HealthSystemScheduler.process_events_mode_0_and_1()
HealthSystemScheduler.process_events_mode_2()
HealthSystemScheduler.apply()
HealthSystemChangeParameters
DynamicRescalingHRCapabilities
ConstantRescalingHRCapabilities
RescaleHRCapabilities_ByDistrict
HealthSystemChangeMode
- tlo.methods.hiv module
Hiv
Hiv.__init__()
Hiv.read_parameters()
Hiv.pre_initialise_population()
Hiv._build_linear_models()
Hiv.initialise_population()
Hiv.initialise_baseline_prevalence()
Hiv.initialise_baseline_art()
Hiv.initialise_baseline_tested()
Hiv.initialise_simulation()
Hiv.update_parameters_for_program_scaleup()
Hiv.on_birth()
Hiv.report_daly_values()
Hiv.mtct_during_breastfeeding()
Hiv.do_new_infection()
Hiv.sample_time_from_infection_to_aids_given_parameters()
Hiv.get_time_from_infection_to_aids_distribution_parameters()
Hiv.get_time_from_aids_to_death()
Hiv.do_when_hiv_diagnosed()
Hiv.prob_art_start_after_test()
Hiv.prob_viral_suppression()
Hiv.stops_treatment()
Hiv.per_capita_testing_rate()
Hiv.decide_whether_hiv_test_for_mother()
Hiv.decide_whether_hiv_test_for_infant()
Hiv.check_config_of_properties()
Hiv.do_at_generic_first_appt()
HivRegularPollingEvent
HivInfectionEvent
HivInfectionDuringBreastFeedingEvent
HivAidsOnsetEvent
HivAidsDeathEvent
HivAidsTbDeathEvent
Hiv_DecisionToContinueOnPrEP
Hiv_DecisionToContinueTreatment
HivScaleUpEvent
HSI_Hiv_TestAndRefer
HSI_Hiv_Circ
HSI_Hiv_StartInfantProphylaxis
HSI_Hiv_StartOrContinueOnPrep
HSI_Hiv_StartOrContinueTreatment
HSI_Hiv_StartOrContinueTreatment.__init__()
HSI_Hiv_StartOrContinueTreatment.apply()
HSI_Hiv_StartOrContinueTreatment.do_at_initiation()
HSI_Hiv_StartOrContinueTreatment.do_at_continuation()
HSI_Hiv_StartOrContinueTreatment.determine_vl_status()
HSI_Hiv_StartOrContinueTreatment.get_drugs()
HSI_Hiv_StartOrContinueTreatment.consider_tb()
HSI_Hiv_StartOrContinueTreatment.never_ran()
HSI_Hiv_EndOfLifeCare
HivLoggingEvent
HivCheckPropertiesEvent
DummyHivModule
- tlo.methods.hiv_tb_calibration module
- tlo.methods.hsi_event module
HSI_Event
HSI_Event.__init__()
HSI_Event._adjust_facility_level_to_merge_1b_and_2()
HSI_Event.apply()
HSI_Event.did_not_run()
HSI_Event.never_ran()
HSI_Event.post_apply_hook()
HSI_Event._run_after_hsi_event()
HSI_Event.run()
HSI_Event.get_consumables()
HSI_Event.make_beddays_footprint()
HSI_Event.is_all_beddays_allocated()
HSI_Event.make_appt_footprint()
HSI_Event.add_equipment()
HSI_Event.probability_all_equipment_available()
HSI_Event.initialise()
HSI_Event._check_if_appt_footprint_can_run()
HSI_Event._return_item_codes_in_dict()
HSI_Event.as_namedtuple()
HSIEventWrapper
- tlo.methods.hsi_generic_first_appts module
- tlo.methods.labour module
Labour
Labour.__init__()
Labour.read_parameters()
Labour.initialise_population()
Labour.get_and_store_labour_item_codes()
Labour.initialise_simulation()
Labour.on_birth()
Labour.further_on_birth_labour()
Labour.on_hsi_alert()
Labour.report_daly_values()
Labour.set_date_of_labour()
Labour.predict()
Labour.reset_due_date()
Labour.check_labour_can_proceed()
Labour.set_intrapartum_complications()
Labour.set_postpartum_complications()
Labour.progression_of_hypertensive_disorders()
Labour.apply_risk_of_early_postpartum_death()
Labour.labour_characteristics_checker()
Labour.postpartum_characteristics_checker()
Labour.prophylactic_labour_interventions()
Labour.determine_delivery_mode_in_spe_or_ec()
Labour.assessment_and_treatment_of_severe_pre_eclampsia_mgso4()
Labour.assessment_and_treatment_of_hypertension()
Labour.assessment_and_treatment_of_eclampsia()
Labour.assessment_for_assisted_vaginal_delivery()
Labour.assessment_and_treatment_of_maternal_sepsis()
Labour.assessment_and_plan_for_antepartum_haemorrhage()
Labour.assessment_for_referral_uterine_rupture()
Labour.active_management_of_the_third_stage_of_labour()
Labour.assessment_and_treatment_of_pph_uterine_atony()
Labour.assessment_and_treatment_of_pph_retained_placenta()
Labour.surgical_management_of_pph()
Labour.blood_transfusion()
Labour.assessment_and_treatment_of_anaemia()
Labour.assessment_for_depression()
Labour.interventions_delivered_pre_discharge()
Labour.run_if_receives_skilled_birth_attendance_cant_run()
Labour.run_if_receives_postnatal_check_cant_run()
Labour.run_if_receives_comprehensive_emergency_obstetric_care_cant_run()
Labour.do_at_generic_first_appt_emergency()
LabourOnsetEvent
LabourAtHomeEvent
LabourDeathAndStillBirthEvent
BirthAndPostnatalOutcomesEvent
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.__init__()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.apply()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.never_ran()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.did_not_run()
HSI_Labour_ReceivesSkilledBirthAttendanceDuringLabour.not_available()
HSI_Labour_ReceivesPostnatalCheck
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.__init__()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.apply()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.never_ran()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.did_not_run()
HSI_Labour_ReceivesComprehensiveEmergencyObstetricCare.not_available()
HSI_Labour_PostnatalWardInpatientCare
LabourAndPostnatalCareAnalysisEvent
LabourLoggingEvent
- tlo.methods.labour_lm module
- tlo.methods.malaria module
Malaria
Malaria.__init__()
Malaria.read_parameters()
Malaria.pre_initialise_population()
Malaria._build_linear_models()
Malaria.initialise_population()
Malaria.malaria_poll2()
Malaria.general_population_rdt_scheduler()
Malaria.initialise_simulation()
Malaria.update_parameters_for_program_scaleup()
Malaria.on_birth()
Malaria.report_daly_values()
Malaria.check_if_fever_is_caused_by_malaria()
Malaria.do_at_generic_first_appt()
Malaria.do_at_generic_first_appt_emergency()
MalariaPollingEventDistrict
MalariaScaleUpEvent
MalariaIPTp
MalariaEndIPTpProtection
MalariaDeathEvent
HSI_Malaria_rdt
HSI_Malaria_rdt_community
HSI_Malaria_Treatment
HSI_Malaria_Treatment_Complicated
HSI_MalariaIPTp
MalariaUpdateEvent
MalariaParasiteClearanceEvent
MalariaLoggingEvent
MalariaTxLoggingEvent
MalariaPrevDistrictLoggingEvent
- tlo.methods.measles module
- tlo.methods.mockitis module
- tlo.methods.newborn_outcomes module
NewbornOutcomes
NewbornOutcomes.__init__()
NewbornOutcomes.read_parameters()
NewbornOutcomes.initialise_population()
NewbornOutcomes.get_and_store_newborn_item_codes()
NewbornOutcomes.initialise_simulation()
NewbornOutcomes.eval()
NewbornOutcomes.apply_risk_of_congenital_anomaly()
NewbornOutcomes.apply_risk_of_neonatal_infection_and_sepsis()
NewbornOutcomes.apply_risk_of_encephalopathy()
NewbornOutcomes.apply_risk_of_preterm_respiratory_distress_syndrome()
NewbornOutcomes.apply_risk_of_not_breathing_at_birth()
NewbornOutcomes.scheduled_week_one_postnatal_event()
NewbornOutcomes.set_death_status()
NewbornOutcomes.set_disability_status()
NewbornOutcomes.essential_newborn_care()
NewbornOutcomes.breast_feeding()
NewbornOutcomes.kangaroo_mother_care()
NewbornOutcomes.hiv_screening_for_at_risk_newborns()
NewbornOutcomes.apply_effect_of_neonatal_resus()
NewbornOutcomes.assessment_and_treatment_newborn_sepsis()
NewbornOutcomes.link_twins()
NewbornOutcomes.schedule_pnc()
NewbornOutcomes.on_birth()
NewbornOutcomes.on_hsi_alert()
NewbornOutcomes.report_daly_values()
NewbornOutcomes.run_if_care_of_the_receives_postnatal_check_cant_run()
HSI_NewbornOutcomes_ReceivesPostnatalCheck
HSI_NewbornOutcomes_ReceivesPostnatalCheck.__init__()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.apply()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.never_ran()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.did_not_run()
HSI_NewbornOutcomes_ReceivesPostnatalCheck.not_available()
HSI_NewbornOutcomes_ReceivesPostnatalCheck._get_facility_level_for_pnc()
HSI_NewbornOutcomes_NeonatalWardInpatientCare
BreastfeedingStatusUpdateEventSixMonths
BreastfeedingStatusUpdateEventTwoYears
- tlo.methods.newborn_outcomes_lm module
- tlo.methods.oesophagealcancer module
- tlo.methods.other_adult_cancers module
- tlo.methods.postnatal_supervisor module
PostnatalSupervisor
PostnatalSupervisor.__init__()
PostnatalSupervisor.read_parameters()
PostnatalSupervisor.initialise_population()
PostnatalSupervisor.initialise_simulation()
PostnatalSupervisor.on_birth()
PostnatalSupervisor.further_on_birth_postnatal_supervisor()
PostnatalSupervisor.on_hsi_alert()
PostnatalSupervisor.report_daly_values()
PostnatalSupervisor.apply_linear_model()
PostnatalSupervisor.set_postnatal_complications_mothers()
PostnatalSupervisor.apply_risk_of_neonatal_complications_in_week_one()
PostnatalSupervisor.set_postnatal_complications_neonates()
PostnatalSupervisor.apply_risk_of_maternal_or_neonatal_death_postnatal()
PostnatalSupervisorEvent
PostnatalWeekOneMaternalEvent
PostnatalWeekOneNeonatalEvent
HSI_PostnatalSupervisor_TreatmentForObstetricFistula
- tlo.methods.postnatal_supervisor_lm module
- tlo.methods.pregnancy_helper_functions module
- tlo.methods.pregnancy_supervisor module
PregnancySupervisor
PregnancySupervisor.__init__()
PregnancySupervisor.read_parameters()
PregnancySupervisor.initialise_population()
PregnancySupervisor.initialise_simulation()
PregnancySupervisor.on_birth()
PregnancySupervisor.further_on_birth_pregnancy_supervisor()
PregnancySupervisor.on_hsi_alert()
PregnancySupervisor.report_daly_values()
PregnancySupervisor.pregnancy_supervisor_property_reset()
PregnancySupervisor.apply_linear_model()
PregnancySupervisor.schedule_anc_one()
PregnancySupervisor.apply_risk_of_spontaneous_abortion()
PregnancySupervisor.apply_risk_of_induced_abortion()
PregnancySupervisor.do_after_abortion()
PregnancySupervisor.apply_risk_of_abortion_complications()
PregnancySupervisor.apply_risk_of_anaemia()
PregnancySupervisor.apply_risk_of_gestational_diabetes()
PregnancySupervisor.apply_risk_of_hypertensive_disorders()
PregnancySupervisor.apply_risk_of_progression_of_hypertension()
PregnancySupervisor.apply_risk_of_death_from_hypertension()
PregnancySupervisor.apply_risk_of_placental_abruption()
PregnancySupervisor.apply_risk_of_antepartum_haemorrhage()
PregnancySupervisor.apply_risk_of_premature_rupture_of_membranes_and_chorioamnionitis()
PregnancySupervisor.apply_risk_of_preterm_labour()
PregnancySupervisor.update_variables_post_still_birth_for_data_frame()
PregnancySupervisor.update_variables_post_still_birth_for_individual()
PregnancySupervisor.apply_risk_of_still_birth()
PregnancySupervisor.induction_care_seeking_and_still_birth_risk()
PregnancySupervisor.care_seeking_pregnancy_loss_complications()
PregnancySupervisor.apply_risk_of_death_from_monthly_complications()
PregnancySupervisor.schedule_first_anc_contact_for_new_pregnancy()
PregnancySupervisor.do_at_generic_first_appt_emergency()
PregnancySupervisorEvent
EctopicPregnancyEvent
EctopicPregnancyRuptureEvent
EarlyPregnancyLossDeathEvent
GestationalDiabetesGlycaemicControlEvent
SyphilisInPregnancyEvent
ParameterUpdateEvent
PregnancyAnalysisEvent
PregnancyLoggingEvent
- tlo.methods.pregnancy_supervisor_lm module
- tlo.methods.prostate_cancer module
ProstateCancer
ProstateCancerMainPollingEvent
HSI_ProstateCancer_Investigation_Following_Urinary_Symptoms
HSI_ProstateCancer_Investigation_Following_Pelvic_Pain
HSI_ProstateCancer_Investigation_Following_psa_positive
HSI_ProstateCancer_StartTreatment
HSI_ProstateCancer_PostTreatmentCheck
HSI_ProstateCancer_PalliativeCare
ProstateCancerLoggingEvent
- tlo.methods.rti module
RTI
RTI.__init__()
RTI.read_parameters()
RTI.rti_injury_diagnosis()
RTI.initialise_population()
RTI.initialise_simulation()
RTI.rti_do_when_diagnosed()
RTI.rti_do_for_major_surgeries()
RTI.rti_do_for_minor_surgeries()
RTI.rti_acute_pain_management()
RTI.rti_ask_for_suture_kit()
RTI.rti_ask_for_shock_treatment()
RTI.rti_ask_for_burn_treatment()
RTI.rti_ask_for_fracture_casts()
RTI.rti_ask_for_open_fracture_treatment()
RTI.rti_ask_for_tetanus()
RTI.schedule_hsi_event_for_tomorrow()
RTI.rti_find_injury_column()
RTI.rti_find_all_columns_of_treated_injuries()
RTI.rti_assign_daly_weights()
RTI.rti_alter_daly_post_treatment()
RTI.rti_swap_injury_daly_upon_treatment()
RTI.rti_determine_LOS()
RTI.rti_find_and_count_injuries()
RTI.rti_treated_injuries()
RTI.on_birth()
RTI.look_up_consumable_item_codes()
RTI.on_hsi_alert()
RTI.report_daly_values()
RTI.rti_assign_injuries()
RTI._common_first_appt_steps()
RTI.do_at_generic_first_appt()
RTI.do_at_generic_first_appt_emergency()
RTIPollingEvent
RTI_Check_Death_No_Med
RTI_Recovery_Event
HSI_RTI_Imaging_Event
HSI_RTI_Medical_Intervention
HSI_RTI_Shock_Treatment
HSI_RTI_Fracture_Cast
HSI_RTI_Open_Fracture_Treatment
HSI_RTI_Suture
HSI_RTI_Burn_Management
HSI_RTI_Tetanus_Vaccine
HSI_RTI_Acute_Pain_Management
HSI_RTI_Major_Surgeries
HSI_RTI_Minor_Surgeries
RTI_Medical_Intervention_Death_Event
RTI_No_Lifesaving_Medical_Intervention_Death_Event
RTI_Logging_Event
- tlo.methods.scenario_switcher module
ImprovedHealthSystemAndCareSeekingScenarioSwitcher
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.__init__()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.read_parameters()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.pre_initialise_population()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.update_parameters()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.initialise_population()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.initialise_simulation()
ImprovedHealthSystemAndCareSeekingScenarioSwitcher.on_birth()
ScenarioSwitchEvent
- tlo.methods.schisto module
Schisto
Schisto.__init__()
Schisto.read_parameters()
Schisto.pre_initialise_population()
Schisto.initialise_population()
Schisto.initialise_simulation()
Schisto.on_birth()
Schisto.report_daly_values()
Schisto.do_effect_of_treatment()
Schisto._load_parameters_from_workbook()
Schisto._register_symptoms()
Schisto._get_disability_weight()
Schisto._get_item_code_for_praziquantel()
Schisto._schedule_mda_events()
Schisto.do_at_generic_first_appt()
SchistoInfectionWormBurdenEvent
SchistoMatureWorms
SchistoWormsNatDeath
SchistoMDAEvent
HSI_Schisto_TestingFollowingSymptoms
HSI_Schisto_TreatmentFollowingDiagnosis
HSI_Schisto_MDA
SchistoLoggingEvent
- tlo.methods.simplified_births module
- tlo.methods.skeleton module
- tlo.methods.stunting module
- Overview
Stunting
Stunting.__init__()
Stunting.read_parameters()
Stunting.initialise_population()
Stunting.initialise_simulation()
Stunting.on_birth()
Stunting.look_up_consumable_item_codes()
Stunting.do_onset()
Stunting.do_progression()
Stunting.do_recovery()
Stunting.do_treatment()
Stunting.do_at_generic_first_appt()
StuntingPollingEvent
StuntingLoggingEvent
HSI_Stunting_ComplementaryFeeding
StuntingPropertiesOfOtherModules
- tlo.methods.symptommanager module
SymptomManager
SymptomManager.__init__()
SymptomManager.get_column_name_for_symptom()
SymptomManager.read_parameters()
SymptomManager.register_symptom()
SymptomManager.register_generic_symptoms()
SymptomManager.pre_initialise_population()
SymptomManager.initialise_population()
SymptomManager.initialise_simulation()
SymptomManager.on_birth()
SymptomManager.change_symptom()
SymptomManager.who_has()
SymptomManager.who_not_have()
SymptomManager.has_what()
SymptomManager.have_what()
SymptomManager.causes_of()
SymptomManager.clear_symptoms()
SymptomManager.caused_by()
SymptomManager.get_persons_with_newly_onset_symptoms()
SymptomManager.reset_persons_with_newly_onset_symptoms()
SymptomManager_AutoOnsetEvent
SymptomManager_AutoResolveEvent
SymptomManager_SpuriousSymptomOnset
SymptomManager_SpuriousSymptomResolve
- tlo.methods.tb module
Tb
Tb.__init__()
Tb.read_parameters()
Tb.pre_initialise_population()
Tb._build_linear_models()
Tb.send_for_screening_general()
Tb.select_tb_test()
Tb.get_consumables_for_dx_and_tx()
Tb.initialise_population()
Tb.initialise_simulation()
Tb.update_parameters_for_program_scaleup()
Tb.on_birth()
Tb.report_daly_values()
- tlo.methods.alri module
- Submodules