question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Joseph Gillespie commented

How do I have a Patient activity and his acquired doctor doing another activity?

In the Examination section of the attached model, I do not want to release the MD after the examination. I want the MD to go to the computer to enter his notes and be released afterwards. I want the patient to continue through the process to exit. Thanks,

FlexSim 19.1.1
version 19.2.0parallel activities
· 2
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 ·

I don't see your attached model, but you can use the Split and Join activities to facilitate doing parallel processes. If you attach the model I should be able to show you what I mean. This works well unless you want the patient to leave and the process to continue beyond that point.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

dev-model-08-20-2019-2.fsm

Thanks. I would appreciate your showing me the Split and Join activities in the attached model. The patient does not leave the model immediately after the MD exam: he has to go to check out. I would like to try the Split and Join activities to see if the MD gets through with his summary before the patient leaves. If I understand it correctly, if the patient leaves before releasing the MD, the MD will still be unavailable for any other patients. Is that correct? Could we have the patient release the MD and the token that takes the MD to the computer release in the MD?

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Take a look at the attached model. doctornotes.fsm

I added a Split activity right after the MD Exam that creates a new child token that goes out the second connector. This new token tells the MD to walk to the computer and do a process time there. That token then releases the MD and goes to the Join activity right before the patient leaves the model. The Join activity makes the two tokens wait for each other before either one can move on. This ensures that the patient doesn't leave the model until the MD is done so you might have the patient hanging around a bit extra. This is the easiest way to do it right now, otherwise if you remove the patient it destroys that instance of the process flow and you lose all the other tokens made by that patient. So you won't be able to control the MD or release him.


doctornotes.fsm (622.4 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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