AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.


Vosse SDL avatar image
Vosse SDL asked Matthew Gillespie commented

Can you make staff pick up a patient based on the appointment schedule?


I am currently simulating a hospital where patients arrive based on an appointment schedule. However, the doctors will simply pick up the patients as soon as the previous patient has left, in stead of waiting till the time of the appointment. I want the patient to leave the waiting room as soon as its the time of the appointment and as soon as the assigned doctor is available.

Thank you,


Choose One
staffwaiting roomappointmentspickup
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
Matthew Gillespie answered Matthew Gillespie commented

HC is driven primarily by activities on the patient. So it's really up to the patient to decide when they want to start the activity that asks the doctor to come get them. The easiest way to do this is to just use the Appointments schedule on the Arrivals object such that patients don't arrive until their appointment time.

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

Okay, but that means that the patients don't have to wait at all as in real situations, and that is actually what I'm trying to simulate. Do you have any suggestions?

0 Likes 0 ·

Let's assume the patient shows up 15 minutes before their scheduled appointment like they were told to. If the doctor is not currently busy, wouldn't they, in real life, immediately see to the patient? If however, the doctor is busy, the patient will need to wait for the doctor to finish seeing the other patient or finish their break.

Basically, from the patient's perspective, as soon as they arrive they are ready to start their appointment and are waiting on the doctor to be ready. If the patient waits in the waiting room for a certain time on average in real life, then you shouldn't force the patient to wait that long in the model. You should make sure the doctors are busy enough in the model that they cause the appropriate amount of wait times for the patients waiting on them. If you force the patients to always wait a set amount of time then your model is no good for experimenting with. You can't look at how patient wait times are affected by shift schedules, adding more doctors, adding more patient appointments, etc.

That said, if you insist on enforcing the appointment times you could add an Activity Start Condition to the activity that only lets the activity start if the time is after the specified start time. You would probably want to have the condition rechecked every so often until the condition is true.

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.