# Sepsis and ARDS Exacerbation

**URL:** https://discourse.kitware.com/t/sepsis-and-ards-exacerbation/1396
**Category:** Pulse Physiology Engine
**Created:** [December 1, 2024, 8:05pm UTC](https://discourse.kitware.com/t/sepsis-and-ards-exacerbation/1396 "2024-12-01T20:05:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Laul](https://discourse.kitware.com/user_avatar/discourse.kitware.com/laul/32/1013_2.png) [@Laul](https://discourse.kitware.com/u/Laul)
#### Post date: [December 1, 2024, 8:05pm UTC](https://discourse.kitware.com/t/sepsis-and-ards-exacerbation/1396/1 "2024-12-01T20:05:48Z")

</div>

Hi !  
I am working on a new clinical scenario where we need to simulate a patient with sepsis shock.  
I know that you have a branch in which you started the implementation of such condition, but I also read several posts in the forum (ex in [Speed up effects of conditions and actions - #3 by Tim\_G](https://discourse.kitware.com/t/speed-up-effects-of-conditions-and-actions/812/3)). In the last one, you mentioned that the sepsis might be released end of 2022, or early 2023. Would you have any updated on this ?

For now, my idea was to :

- create an init patient state who has an ARDS condition
- set an ARDS exacerbation to increase/decrease the impact along the scenario

Rather than creating the patient from API, I wanted to save the pulse convergence time and load a patient state who already has the ARDS condition. So the only thing to do is to set exacerbation as an action. I checked in Python ([HowToARDS.py](https://src/python/pulse/howto/HowTo_ARDS.py) and reproduced the following lines in C# (I am developing a unity Unity C# project):

```auto
SEAcuteRespiratoryDistressSyndromeExacerbation ARDSExacerb = new SEAcuteRespiratoryDistressSyndromeExacerbation();
ARDSExacerb.GetSeverity(eLungCompartment.LeftLung).SetValue(severityL);
ARDSExacerb.GetSeverity(eLungCompartment.RightLung).SetValue(severityR);

// Process the exacerbation
pulse.ProcessAction(ARDSExacerb);

```

Problem is: I get an error stating the dictionary does not contain the lungs compartments.

Are you aware of this, and if yes would you have any recommendations to solve it ?  
Thanks a lot!

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 2, 2024, 7:30pm UTC](https://discourse.kitware.com/t/sepsis-and-ards-exacerbation/1396/2 "2024-12-02T19:30:49Z")

</div>

Thanks for pointing this out  
Looks like a language translation error in developing the C# API

Will have a fix pushed up today to our integration branch

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 3, 2024, 2:31pm UTC](https://discourse.kitware.com/t/sepsis-and-ards-exacerbation/1396/3 "2024-12-03T14:31:32Z")

</div>

The integration branch has been updated to address this C# ARDS bug

Finalizing our Sepsis model is currently still in a holding pattern
