Have the companion to go back to his chair after check-in?

tee_hiett
Not applicable
0 Views
6 Replies
Message 1 of 7

Have the companion to go back to his chair after check-in?

tee_hiett
Not applicable

[ FlexSim 20.1.3 ]

UAB Clinic Master Model CareGivers.fsm

How do I get the companion to go back to his chair in the waiting room after check-in? This occurs in the last activity of the Check-in Activities Set.

Thanks

0 Likes
Accepted solutions (1)
1 View
6 Replies
Replies (6)
Message 2 of 7

jeanette_fullmer88DK3
Autodesk
Autodesk
Accepted solution

Hello,

If you examine the "Pat Walks to reg" activity you will see when the simulation runs both the patient and companion walk together to the registration desk. The same line of code used to designate the person for that activity can be used in the other walk activities in your simulation where you want the patient and companion to travel together.33119-capture.png

0 Likes
Message 3 of 7

tee_hiett
Not applicable

@Jeanette F Thanks for the prompt response but I have both Patient and companions going to the registration. My problem is getting the companion back to the reserve chair after registration. You will notice that the last 2 activities in this Activity Set is Patient to Chair and then Companion to Chair. The patient goes back to the "Owned" chair but I haven't figured out how to send the companions back to his "Owned" chair.

0 Likes
Message 4 of 7

tee_hiett
Not applicable

@Jeanette F I think I've figured out a solution but I'm not sure.

uab-clinic-master-model-caregivers_1.fsm

I put the Location for the companion on the patient.Companions[1].Locations


33155-companion-to-wr.jpg

Then I referred to that location for the Companion to return.

33162-check-in.jpg

So I'm guessing that I'll have to Release the chair and remove that location When I moved the companion again. Right??

0 Likes
Message 5 of 7

Yes. From running your model, the token that retrieved the chair for the companion needs to also be the one to release it. You could do this by adding a wait for event activity before a release location activity in the Companion to WR container. This would allow you to release the chair when a certain event happens with the patients token. An example would be waiting for the event of the patient releasing their chair.

0 Likes
Message 6 of 7

jeanette_fullmer88DK3
Autodesk
Autodesk

@Tee Hiett

Yes. From running your model, the token that retrieved the chair for the companion needs to also be the one to release it. You could do this by adding a wait for event activity before a release location activity in the Companion to WR container. This would allow you to release the chair when a certain event happens with the patients token. An example would be waiting for the event of the patient releasing their chair.

0 Likes
Message 7 of 7

ben_wilson5K2EV
Autodesk
Autodesk

Hi @Tee Hiett, was Jeanette F's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes

Type a product name