question

Ashlee W avatar image
0 Likes"
Ashlee W asked Jeanette F commented

Time Table for Resource Only Apply to Subset of Patients?

Hi There,

I am simulating a periop unit and I only wait ORs and inpatient beds to be available 24/7 for unscheduled/emergency patients but only on weekdays from 8-6 for patients who are scheduled/non-emergent.

Is there an "easy" way to do this? I am thinking a time table will do the trick but I need it to only apply to the non-emergent sub set of patients in the model.

Thanks!

Ashlee

FlexSim 22.2.1
time tableresourceshealthcare peoplepatient subset
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F commented

Hello @Ashlee W,

Jonah's option does work for sorting patients. I think his option would work well if you have emergent and nonemergent arriving at the same acquire location activity. I think the method you mentioned works well when the flow is already split, so I created an example that used the time table like you described.

The time table sets a label called nonemergent to 0 or 1. 1 means nonemergent patients are allowed to acquire the ORs. 0 means they cannot. The process flows I use are identical except in the nonemergent flow the Locations resource has a filter. For this filter to be possible you have to add the label to the Locations List.

1665890656810.png

1665890715065.png

For the Time Table I assumed that when the down function is executed that is when the NonEmergent label should be set to 0 and the Resume Function is when the Nonemergent label is set to 1. I also had to add a reevaluate back orders command. This is for any nonemergent patient already waiting for the OR.

Change Location Availability with Time Table_JF.fsm



· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jonah K avatar image
1 Like"
Jonah K answered

Here is a very simple model that demonstrates how you can use the "Decide" activity to sort patients. The sorting is dependent upon:

1) A label called "Emergency" and

2) The time of day

This model will remove patients if their label Emergency==0 and the Model.time is after 10 AM (7200 sec). Using this same pattern you can organize your patients so Emergency patients are always accepted, and non-emergent patients are rejected after hours.

HCEmergency_JK.fsm

1665702175177.png



1665702175177.png (37.8 KiB)
hcemergency-jk.fsm (67.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.