question

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

Why do the MDs stay at the exam table instead of going to a WOW?

in the atttached model, the MD-Notes set of activities the MD stays at the exam table rather than acquiring a WOW. I thought I was really understanding the Create Token activity but not so much. I have the feeling that the problem is something really simple that I'm missing.

ThanksCliffs Clinic Model -Notes_3.fsm

FlexSim 21.2.0
healthcarecreate token
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Tee Hiett commented

In the "MD to Computer" create tokens activity you are assigning a reference to the created token to "patient.Equipment". This value is shown in the label as "id:127 instance: Exam Table1/Patient Flow_1".
(id, exam table and patient name will obviously vary for later patients)

If the "Acquire WOW2" activity is set to "Insert in Front of" and the same label name, it will add the acquired location to the label, creating an array of values. This will be displayed as
"Array[2]: {/WOW1, id:127 instance: Exam Table1/Patient Flow_1}" on the patient.

1634540422542.png

Because the label now holds two values (one of which isn't even a location) the "MD to WOW2" walk activity can't determine the proper destination, which results in a an error message.

As you already figured out, setting the acquire activity to "Assign To" instead, will overwrite the previous value, leaving only the actual destination.

Others ways to fix/circumvent this:

1) As far as I can tell, the reference to the created token is not actually needed, so you could just leave the "Assign To" field in the create token activity empty.

2) You could write "patient.Equipment[1]" in the "MD to WOW2" walk activity, specifically referencing the first value in the array.


1634540422542.png (7.0 KiB)
· 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.

Tee Hiett avatar image Tee Hiett commented ·
Thanks @Felix Möhlmann for the all the very helpful detail. Tee
0 Likes 0 ·
Tee Hiett avatar image
0 Likes"
Tee Hiett answered

I think I found one answer or at least a change that seems to work. However, I don't really understand exactly why this change seems to produce a workable solution. I just found it with a lot of trial and error. Maybe someone will help me better understand what's going on.

Thanks,

Tee

Change MD Exam.jpg

Change MD Notes.jpg



change-md-notes.jpg (98.7 KiB)
change-md-exam.jpg (90.6 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.