diff --git a/src/vivarium_gates_mncnh/constants/data_values.py b/src/vivarium_gates_mncnh/constants/data_values.py index dc3541e..4c9fe83 100644 --- a/src/vivarium_gates_mncnh/constants/data_values.py +++ b/src/vivarium_gates_mncnh/constants/data_values.py @@ -76,10 +76,12 @@ class _Durations(NamedTuple): class _SimulationEventNames(NamedTuple): + # Constants for the simulation events. Used for string comparison in components. PREGNANCY = "pregnancy" INTRAPARTRUM = "intrapartum" MATERNAL_SEPSIS = "maternal_sepsis_and_other_maternal_infections" MATERNAL_HEMORRHAGE = "maternal_hemorrhage" + OBSTRUCTED_LABOR = "maternal_obstructed_labor_and_uterine_rupture" NEONATAL = "neonatal" @@ -155,6 +157,7 @@ class __Columns(NamedTuple): SEPSIS_STATE = "sepsis_state" MATERNAL_SEPSIS = "maternal_sepsis_and_other_maternal_infections" MATERNAL_HEMORRHAGE = "maternal_hemorrhage" + OBSTRUCTED_LABOR = "maternal_obstructed_labor_and_uterine_rupture" COLUMNS = __Columns() diff --git a/src/vivarium_gates_mncnh/model_specifications/model_spec.yaml b/src/vivarium_gates_mncnh/model_specifications/model_spec.yaml index b165a82..a0f0de4 100644 --- a/src/vivarium_gates_mncnh/model_specifications/model_spec.yaml +++ b/src/vivarium_gates_mncnh/model_specifications/model_spec.yaml @@ -15,6 +15,7 @@ components: - ResultsStratifier() - BirthObserver() - AntenatalCare() + - MaternalDisorder("maternal_obstructed_labor_and_uterine_rupture") - MaternalDisorder("maternal_hemorrhage") - MaternalDisorder("maternal_sepsis_and_other_maternal_infections") # Add model observers below here @@ -38,7 +39,8 @@ configuration: day: 1 simulation_events: - 'pregnancy' - - 'intrapartum' + - 'intrapartum' + - "maternal_obstructed_labor_and_uterine_rupture" - "maternal_hemorrhage" - "maternal_sepsis_and_other_maternal_infections" - 'neonatal'