question

Mark S2 avatar image
0 Likes"
Mark S2 asked Matthew Gillespie answered

Patient Destination Bug?

capture.png

capture2.png

Hello,

For some reason when I drag and drop an activity set, the patient destination is defaulting as seen in capture.png. If I attempt to change capture.png to "Acquired ED Beds", it will return error "Bad Destination. However, the "Acquired ED Beds" patient destination in capture2.png works sometimes. In cases when it doesn't work, I have tried to change it to "patient.Locations[1]" which then throws a syntax error...

Is this a bug or am I missing something here?

Thanks,

Mark

test-35.fsm

Edit :

Hi Matt,

Here it is...try changing any of the patient destinations to "patient.Locations[1]" and you should see the syntax error.

Mark

FlexSim 19.2.3
patient destination
capture.png (30.2 KiB)
capture2.png (29.7 KiB)
test-35.fsm (887.1 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Can you attach the model?

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

I'm not seeing any errors with using patient.Locations[1] when running the model or entering that in a patient destination. Are you still seeing this error? What are the steps you do to cause the error?

The reason that the Acquired ED Beds reference doesn't work on the left is because the Split activity above it is set to create Independent Tokens. If you want a token to reference a resource acquired by a different token the easiest method is to make the newly created token a "proxy" of the original token. You do this by creating a child token with the Label access on Parent only checkbox checked:


split.png (7.2 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.