Start activity on next patient based on current patient

BA_mzabritski
Enthusiast Enthusiast
1 View
2 Replies
Message 1 of 3

Start activity on next patient based on current patient

BA_mzabritski
Enthusiast
Enthusiast

[ FlexSim HC 5.1.0 ]

Very new to FlexSim and still learning. I have patients set to go into an OR when that room is available. I'd like to develop the logic that the first patient will go into the room when the room and surgeon is ready (can do this), but the next patient won't be brought into the next room until the surgeon sends a trigger to do so (even though he is working on tasks for his current patient). I think using a trigger is the way to go, but not sure. Any suggestions?

0 Likes
Accepted solutions (1)
2 Views
2 Replies
Replies (2)
Message 2 of 3

BA_mzabritski
Enthusiast
Enthusiast
Accepted solution

I found a way to accomplish a similar process by keeping the surgeon in an earlier activity and not releasing him until after the surgery. Then use an Activity start condition that checks for surgeon availability before rooming the next patient. This works well enough but still wondering if its possible to trigger a next patient activity based on a step in the current patient.

0 Likes
Message 3 of 3

matthew_gillespie
Not applicable

You can with the startactivity command or the trigger option that uses that command.

4129-startactivity.png

The trick though is getting a reference to the other patient. Some of the suggestions in the drop down do this by finding the patient in a certain location:

rank(Bed1, 1)
node("Track1_ID5", WaitingRoom1)
0 Likes

Type a product name