# How to set the initial state of a patient in the engine

**URL:** <https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029>\
**Category:** Pulse Physiology Engine\
**Created:** [May 6, 2023, 3:46pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029 "2023-05-06T15:46:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![maskcclown](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@maskcclown](https://discourse.kitware.com/u/maskcclown)\
**Post date:** [May 6, 2023, 3:46pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/1 "2023-05-06T15:46:27Z")

</div>

How to set the initial state of a patient in the engine, for example, I want to set up a patient with high blood sugar

---

<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:** [May 6, 2023, 11:42pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/2 "2023-05-06T23:42:24Z")

</div>

Here is what you [can modify in the patient](https://pulse.kitware.com/_patient_methodology.html)  
These settings are for what define the healthy baseline of your patient.

Next, you can also specify one or more [chronic conditions](https://pulse.kitware.com/physeng.html#ConditionsInterface) to move the patient baseline to a different (often unhealthy) baseline before simulation time 0

We currently don’t have a diabetes model, so you can’t really setup a patient with high blood sugar and get accurate physiology associated with that

---

<div class="post-metadata">

**Author:** ![maskcclown](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@maskcclown](https://discourse.kitware.com/u/maskcclown)\
**Post date:** [May 7, 2023, 3:29pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/3 "2023-05-07T15:29:35Z")

</div>

Thank you for your reply. I would also like to ask, what if I want to set the patient’s blood sugar level during initialization?

---

<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:** [May 7, 2023, 4:32pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/4 "2023-05-07T16:32:15Z")

</div>

You can try using an SENutrition action

---

<div class="post-metadata">

**Author:** ![maskcclown](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@maskcclown](https://discourse.kitware.com/u/maskcclown)\
**Post date:** [May 8, 2023, 2:50pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/5 "2023-05-08T14:50:27Z")

</div>

ok thank u

---

<div class="post-metadata">

**Author:** ![Finn\_Marquardt](https://discourse.kitware.com/user_avatar/discourse.kitware.com/finn_marquardt/32/706_2.png) [@Finn\_Marquardt](https://discourse.kitware.com/u/Finn_Marquardt)\
**Post date:** [March 11, 2024, 8:31am UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/6 "2024-03-11T08:31:26Z")

</div>

I need a patient with low blood sugar, how can I reduce it?

---

<div class="post-metadata">

**Author:** ![rachel.clipp](https://discourse.kitware.com/user_avatar/discourse.kitware.com/rachel.clipp/32/195_2.png) [@rachel.clipp](https://discourse.kitware.com/u/rachel.clipp)\
**Post date:** [March 11, 2024, 1:24pm UTC](https://discourse.kitware.com/t/how-to-set-the-initial-state-of-a-patient-in-the-engine/1029/7 "2024-03-11T13:24:47Z")

</div>

We do not currently have that capability in Pulse.
