question

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

Problem getting patient to Dr. to leave the patient and the patient to exit.

dev-model-08-10-2019-1.fsm

In the attached Version 19.2.0 model, I have 7 MDs, 6 of them with assigned examination tables. In debugging the model, I process each MD independently, one by one. The model seems to work well with all of the MDs with the exception of MD_2 and his 3rd patient, patient ID 49.The first 2 patients go directly to an exam table from triage. The 3rd person has to go to the waiting room until one of the patients of MD_2 leaves the exam table. After the patient examination, the MD will not leave the patient, the patient will not exit the model and the model stops. Yet this basically is the same process as MD_1 which seems to be working as expected.

I suspect this is something simple but I am unable to see it. So I am looking to the experts for help.

Thanks

Tee
----- --
model stops runningversion 19.2.0
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

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

MD_2 had its Owner label set to be a Tracked Variable label (you can tell by the green arrow in the corner of the label field). I changed this back to be a pointer label and now it all works.

fixedlabel.fsm


fixedlabel.fsm (600.6 KiB)
· 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.

Tee Hiett avatar image Tee Hiett commented ·

Thanks for finding this. Just so I'll know, how do you change a tracked variable back to a pointer label?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Tee Hiett commented ·

I just deleted the label and made a new Pointer Label and named it Owner.

0 Likes 0 ·

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.