Skip to content

Commit

Permalink
Add obstructed labor component
Browse files Browse the repository at this point in the history
  • Loading branch information
albrja committed Dec 4, 2024
1 parent 14eb572 commit 35100ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/vivarium_gates_mncnh/constants/data_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down Expand Up @@ -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()
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 35100ee

Please sign in to comment.