crowdedjs / examples

A threaded, browser-based crowd simulation engine.
https://crowdedjs.github.io/examples/
MIT License
2 stars 3 forks source link

Add more medical staff #60

Open bricksphd opened 3 years ago

bricksphd commented 3 years ago

A real ER is teaming with doctors, residents, nurses, and techs. Right now we have only one of each.

rnarducci commented 3 years ago

Added functionality for multiple of each medical staff except for ct, radiology, and attending. CT I was just unsure if we want to have multiple cat scans able to occur at once, also it will likely require some more edits than the previous staff did. Radiology doesn't do really do much right now, and the attending currently doesn't do anything besides wait.

bricksphd commented 3 years ago

There are two CAT scan rooms. The current simulation places the CAT scan tech in the first room and the radiologist in the second room. What really happens is that there is a radiologist someone above the ER who reviews all the CAT scans before sending the to the doctor/resident.

To match current behavior, we need two CAT scans running in parallel. We need to put another CAT scan tech in the second CAT scan room and move the radiologist somewhere else. I initially placed the radiologist in a CAT scan room so that the radiologist's behavior would work like normal. However, if we can find a way to get rid of the radiologist and have CAT scans reviewed after a given time frame, then we can do that. If he need an embodiment of someone to have a behavior, then we should send the radiologist into a random room, into a hall, etc.

rnarducci commented 3 years ago

There are now two cat scans and ct's running simultaneously. I will leave the radiologist and attending as is until it becomes higher priority!