question

Ksenia F avatar image
0 Likes"
Ksenia F asked Matthew Gillespie commented

Staff+Location

Здравствуйте! Как связать конкретного врача с его рабочим местом (например, экзаменационный стол)? Случайный врач ведет пациента в случайное место, но врач должен привести пациента к себе в кабинет. Благодарность!

FlexSim 20.0.0
пациента.путешествие к месту расположения
· 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.

Braydn T avatar image Braydn T commented ·

Translated: Hello! How to connect a specific doctor with his workplace (for example, an examination table)? A random doctor leads the patient to a random place, but the doctor must bring the patient to his office. Thanks!

0 Likes 0 ·

1 Answer

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

This post goes over a few methods to do this: https://answers.flexsim.com/questions/70490/assign-registration-staff-to-individual-registrati.html?childToView=70529#answer-70529

If you attach your model I can help you set one of them up.

· 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.

Ksenia F avatar image Ksenia F commented ·
thank you very much!
It will be great if you show this on our model.
0 Likes 0 ·
2020-31-01.fsm (434.6 KiB)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Ksenia F commented ·

I updated your model and used all 3 of the methods mentioned in that article I linked to.

1. For the Регистраторы Staff Resource I created S connections between the clerks and registration desks that way I can acquire the clerk connected to the desk I just acquired.

patient.Locations[1].as(Object).centerObjects[1]

2. For the Кассиры Staff Resource I used the Staff by Case pickoption and listed out the two registration desks on the left and the corresponding clerk on the right.

3. For the Мед персонал Staff Resource I reordered the members of the МедПерсонал staff group and the Смотровая location group so that they had the same order. Then I used the index within the Смотровая group of the bed/triage we acquired to then get the staff from the МедПерсонал group of the same index.

 Group("МедПерсонал")[Group("Смотровая").indexOf(patient.Locations[1])]

See the attached model:

2020-31-01-assignedstaff.fsm

0 Likes 0 ·
bycase.png (10.9 KiB)

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.