question

Michael Zabritski avatar image
0 Likes"
Michael Zabritski asked Matthew Gillespie commented

Start activity on next patient based on current patient

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?

FlexSim HC 5.1.0
patient tracknext activity
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Michael Zabritski avatar image
0 Likes"
Michael Zabritski answered Matthew Gillespie commented

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.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

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

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 0 ·
startactivity.png (11.5 KiB)