question

Lauren K avatar image
0 Likes"
Lauren K asked Lauren K commented

Patient stay at station to complete multiple activities if location label = Dual

At this clinic simulation, some stations are dual stations where patient receives both education and vaccination, while some stations are just regular education stations where the patient needs to move on to the next station for vaccination. I created a location label called "Dual" that gives value 2 for my Dual stations and 1 for my non-Dual. I tried to get a decide step to recognize my Dual value, but keep getting syntax errors. VaccineDual.fsm

FlexSim 19.1.2
labelsflexsim 19.1.2locations
vaccinedual.fsm (699.0 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.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Lauren K commented

In the DualStation? activity you can set the Send Token To field to:

patient.Locations[1].Dual

The first part, patient.Locations[1] gets you the last location you acquired and then .Dual gets the value of the Dual label on that location.

vaccinedual_fixed.fsm


vaccinedual-fixed.fsm (152.3 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.

Lauren K avatar image Lauren K commented ·

Thank you so much!

0 Likes 0 ·