question

Nathan H5 avatar image
0 Likes"
Nathan H5 asked Jacob W2 commented

Specific Admit Days

I am looking for a way to have specific admit days for certain services without shutting down the service for the rest of the days in my healthcare model. For example, a patient can only be admitted to an inpatient unit Sunday-Tuesday but they are still being cared for on the other days of the week. It seems like if I use the schedules then the service is only operational on Sunday-Tuesday and the rest of the days it is in the scheduled down state and stops processing the patient.

Thanks for any help.

FlexSim 21.2.4
healthcareadmit days
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

Jacob W2 avatar image
0 Likes"
Jacob W2 answered Jacob W2 commented

Hi @Nathan H5,

One way that you could do this is by using process flow and the Model.dateTime.dayOfWeek function. This will return a value of 1-7 depending on what day of the week it is. Using this value you could route tokens to the station if it is one of the days that will allow patients to enter, or send them to another activity if the station isn't accepting patients. This will not stop the station from processing because it is only blocking new patients from entering. I am including a small demo model that demonstrates how the process flow works.

Model.dateTime.fsm


modeldatetime.fsm (29.4 KiB)
· 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.

Nathan H5 avatar image Nathan H5 commented ·

Thanks for this suggestion. Unfortunately I am unable to view the model that you attached because it is a later version of FlexSim. I have 21.2.4. Is it possible to change the model to an earlier version?

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ Nathan H5 commented ·

Here is the model in 21.2.4. Model.dateTime_JW.fsm

0 Likes 0 ·