# SciMl/Differential equations for modeling clinic medicine

**URL:** https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982
**Category:** Biology, Health, and Medicine
**Tags:** question
**Created:** [October 25, 2020, 4:10pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982 "2020-10-25T16:10:50Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)
#### Post date: [October 25, 2020, 4:10pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/1 "2020-10-25T16:10:50Z")

</div>

After watching numerous lectures by Dr. Christopher Rackauckas, i am trying to develop the theory/understanding of using SciMl/differential equations vs biostats in modeling clinical medicinal problems? Biostats/evidence based medicine seems out dated in todays healthcare environment. We should be able to predict a patients likely clinic course and what resources are most likely needed at the time of initial clinic encounter with rare/complex event monitoring,  
Being 30 years removed from differential equations is was hoping someone has a bibliography Of articles on modeling biological/medical modeling with Julia/Sciml.  
To the math purist is there an article/blog post on the differences between biostats modeling vs differential equation modeling.

Thanks

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [October 25, 2020, 5:04pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/2 "2020-10-25T17:04:17Z")

</div>

For modeling clinical medicine we created [https://pumas.ai/](https://pumas.ai/) and its Pumas tool for nonlinear mixed effects modeling.

---

<div class="post-metadata">

### Author: ![daveh19](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daveh19/32/1728_2.png) [@daveh19](https://discourse.julialang.org/u/daveh19)
#### Post date: [October 25, 2020, 5:21pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/3 "2020-10-25T17:21:11Z")

</div>

I understand that you are probably just _playing_ for now. But I suggest these two articles to see how/why you _we should be able to_ translates into the clinic.

[https://doi.org/10.1002/aisy.202000052](https://doi.org/10.1002/aisy.202000052)

> **[OnRAMP for Regulating AI in Medical Products](https://arxiv.org/abs/2010.07038)**
>
> Medical Artificial Intelligence (AI) involves the application of machine learning algorithms to biomedical datasets in order to improve medical practices. Products incorporating medical AI require certification before deployment in most...

David

---

<div class="post-metadata">

### Author: ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)
#### Post date: [October 25, 2020, 11:08pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/4 "2020-10-25T23:08:24Z")

</div>

Nice articles, but i am more interested in differential equation based modeling as a better modeling that standard evidence based medicine guidelines. Many of the clinical problems facing pediatrics have rates of less than 1 in a 1000 so i think the guidelines/modeling need to have better resolution.  
As an example,  
What is the number needed to screen and treat to prevent one case of kernicterus.

> **[Kernicterus - About the Disease - Genetic and Rare Diseases Information Center](https://rarediseases.info.nih.gov/diseases/6830/kernicterus/)**
>
> Find symptoms and other information about Kernicterus.

---

<div class="post-metadata">

### Author: ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)
#### Post date: [October 26, 2020, 3:29am UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/5 "2020-10-26T03:29:39Z")

</div>

Is there a replacement for [juliabox.com](http://juliabox.com)

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [October 28, 2020, 2:30pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/6 "2020-10-28T14:30:01Z")

</div>

We at Julia Computing are working on adding compute capabilities to [JuliaHub.com](http://JuliaHub.com), a bit like [JuliaBox.com](http://JuliaBox.com), but with a more seamless transition from desktop to the cloud. Happy to have the team involved to discuss these things further.

-viral

---

<div class="post-metadata">

### Author: ![timothyhartzog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timothyhartzog/32/18562_2.png) [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)
#### Post date: [October 29, 2020, 9:28pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/7 "2020-10-29T21:28:55Z")

</div>

My fundamental idea is to infuse the front end/practitioner EHR with computational power that Julia provides. The last EHR i worked with worked off of MUMPS which the best i could tell does not have numerics baked into the core of it language although the proprietary code base is hidden.  
Examples: it has been known for 20 years that loss of heart rate to heart rate variability is a sign of impending death i have never seen that calculation built into an EHR.  
[[A novel heart rate variability based risk prediction model for septic patients presenting to the emergency department - PMC](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5999455/)]  
[Predicting neonatal sepsis.](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4575854/)  
([A novel heart rate variability based risk prediction model for septic patients presenting to the emergency department - PMC](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5999455/))  
[Initial fractal exponent of heart rate variability is associated with success of early resuscitation in patients with severe sepsis or septic shock: a prospective cohort study - ScienceDirect](https://www.sciencedirect.com/science/article/abs/pii/S0883944113002487)

Julia seems to be a language that could these calculation with ease and tremendous speed. So building a healthcare calculation engine in Julia seems to be a great idea for a proof of concept.  
But being a physician not a great Mathematician or computer scientist finding the right mechanism/ system for development and testing/usage across/regardless of institutional barriers.  
Juliabox allowed web based development and easy sharing. Almost all physicians can not install software on our work computers but can used web based tools.

Healthcare knowledge needs to be more open source than the current systems that have monopolize the healthcare industry. My vision is that the same equation that can predict/model global climate phenomenon can predict/model a patient disease course and cost effective treatments and interventions. I am sure a good Mathematician would use the same differential equation infrastructure to build the model and infuse it into the UI of a clinician. A patient regardless of being at a top children’s hospital or in a critical access clinic in rural america, or rural Africa for that matter can have access to AI in their healthcare.

---

<div class="post-metadata">

### Author: ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)
#### Post date: [October 29, 2020, 10:37pm UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/8 "2020-10-29T22:37:08Z")

</div>

> [@timothyhartzog](#):
>
> EHR

You’ve come to the right place! There are literally [more](https://www.nature.com/articles/s41598-020-58053-z) [papers](https://papers.nips.cc/paper/8773-latent-ordinary-differential-equations-for-irregularly-sampled-time-series) [than](http://papers.nips.cc/paper/8957-gru-ode-bayes-continuous-modeling-of-sporadically-observed-time-series) [I](http://papers.nips.cc/paper/8957-gru-ode-bayes-continuous-modeling-of-sporadically-observed-time-series) [can](http://papers.nips.cc/paper/9177-neural-jump-stochastic-differential-equations) [keep](https://arxiv.org/abs/2005.08926) [track](https://arxiv.org/abs/2009.08295) [of](https://arxiv.org/abs/2010.08304) (these 8 are the ones I could remember/find in 10 minutes!) trying to apply some form of neural differential equation to clinical (usually EHR) data.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [October 30, 2020, 5:30am UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982/9 "2020-10-30T05:30:42Z")

</div>

And we’re automated the use with EHR in Pumas, with more information on that coming out soon.
