question

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

Release waiting room when the companion goes with the patient to the scales?

uab-clinic-master-model-caregivers-4_1.fsm

In the attached model, the companion is created in the sub flow Create Companions (1). The companion gets a chair and puts the name of that chair in the label on the companion (2). This is done so the companion can go back to that chair after registration (3). When the companion goes back to the scales with the patient (4), I would like for the companion's chair to be released but I can't get the syntax for the command to get the name from the companion's label.


Thanks for the help

Companions.jpg

FlexSim 20.1.3
flexsim 20.1.3healthcarecompanionsreleasecompanions released
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

I would just acquire the companion's waiting room chair onto a different label on the patient, like patient.CompanionLocations, for example.

In the attached model, I changed a few places to reference patient.CompanionLocations instead and in the Companion to Chair activity I checked the Label Access on Parent Only box.

uab-clinic-master-model-caregivers-4-1_1.fsm


5 |100000

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