# I want to make an hospital emergency department model in Julia

**URL:** <https://discourse.julialang.org/t/i-want-to-make-an-hospital-emergency-department-model-in-julia/80607>\
**Category:** New to Julia\
**Tags:** question, package, machine-learning, agents\
**Created:** [May 6, 2022, 12:34pm UTC](https://discourse.julialang.org/t/i-want-to-make-an-hospital-emergency-department-model-in-julia/80607 "2022-05-06T12:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floyd\_Gartner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floyd_gartner/32/36017_2.png) [@Floyd\_Gartner](https://discourse.julialang.org/u/Floyd_Gartner)\
**Post date:** [May 6, 2022, 12:34pm UTC](https://discourse.julialang.org/t/i-want-to-make-an-hospital-emergency-department-model-in-julia/80607/1 "2022-05-06T12:34:22Z")

</div>

Hi everybody,

I’m super new to Julia and still don’t know how to get started.  
I want to make a model that simulates an emergency department in a hospital. More specifically I want to show the patient assignment to free beds. For example: a new patient arrives at the hospital and has to be assigned to a free bed and an agent shall assign the patient to the best bed regarding the illness.

But I still don’t know which packages would be optimal for my project. I’ve looked into some packages and found agents.jl & reinforce.jl to fit best but I didn’t find an example that is similar to my project. Therefore I’m still struggling to get started.

For further understanding:  
I want to compare 3 different approaches. The first approach should be a random assignment to a free bed. The second approach should use an intelligent heuristic e.g. if patient x has a specific illness, give him a specific bed and if not give him any other bed. And the third approach should be using Q-learning to optimize the bed-patient assignment problem.

Can anybody help me get started by giving me tips for packages that I should use? Or maybe someone knows of an example that I could look into?

I’m grateful for any help.

Greetings  
Floyd

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [May 6, 2022, 6:31pm UTC](https://discourse.julialang.org/t/i-want-to-make-an-hospital-emergency-department-model-in-julia/80607/2 "2022-05-06T18:31:54Z")

</div>

> [@Floyd\_Gartner](#):
>
> But I still don’t know which packages would be optimal for my project. I’ve looked into some packages and found agents.jl & reinforce.jl to fit best but I didn’t find an example that is similar to my project. Therefore I’m still struggling to get started.

A shot in the dark:

> **[GitHub - JuliaPOMDP/POMDPs.jl: MDPs and POMDPs in Julia - An interface for...](https://github.com/JuliaPOMDP/POMDPs.jl)**
>
> MDPs and POMDPs in Julia - An interface for defining, solving, and simulating fully and partially observable Markov decision processes on discrete and continuous spaces. - GitHub - JuliaPOMDP/POMDP...
