question

Ashlee W avatar image
0 Likes"
Ashlee W asked Logan Gold edited

Max Content of Desk - how to change to >1

Hi There

I have a model with companions and I am having trouble getting them all the way through the patient flow. Currently they stop and hold up the queue if they have a companion even though the resource they are waiting for is idle - available. I think this is because the desk resource has a max content of 1 but there are technically two people trying to obtain it in an "all or nothing situation". Is there an easy way to change the max content of a desk to a number greater then 1?


Thanks,

Ashlee

FlexSim 22.2.1
healthcaremax contentpatient companions
· 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.

Brittany Evans avatar image Brittany Evans ♦ commented ·
@Ashlee W,


Do you have a model that you can share so that I can know exactly how you are modeling companions? Based on how you are modeling them, I have different solutions for you.


Either way I would not recommend altering the capacity of the desk because you do not want there to be no companions and accidently have two different patients acquire the desk.

0 Likes 0 ·
Ashlee W avatar image Ashlee W Brittany Evans ♦ commented ·

I do. I just uploaded it to the cloud. It's called WaitingRoom_V2_9

0 Likes 0 ·

1 Answer

·
Brittany Evans avatar image
0 Likes"
Brittany Evans answered Logan Gold edited

@Ashlee W,

I was able to track down the source of the issue. The issue was actually with the Wait In Line Activity in your Arrival and Covid Screening section. The way a Wait In Line Activity works is that it directs a patient to enter a specified waiting line and then will hold onto the token until the person reaches the front of the waiting line. This is done using an inner flow that uses an On Patient Ready trigger to know when the patient is at the front of the line. Unfortunately, your first patient with a companion would make it to the front of the line before this trigger was fired and never move out of the Wait In Line Activity. This was being caused because you were having the patient Walk to the Waiting Line and then Wait In Line in the same Waiting Line. The easiest way I found to fix this was to create a prop at the front of the Waiting Line that they walk to and then have them Wait in Line. The WaitingRoom_V2_Walk_Location model shows this change. The activity that I updated and the prop I added are in Yellow.

I am not sure if this was something you wanted the model to do but I also included a model that will allow not only the patients but also the companions to stand in the Waiting Line. This required me to not only add in the Walk Location but also some additional activities in the Arrival and Covid Screening. This method uses a Split and Join to create a flow for the patient and a flow for the companions. I kept most of your originally activities for the patient the same but only updated the Walk for the patients to only have the patient walk to the desk. The companion flow has first checks if a companion is needed. Then we wait for the patient to enter the Waiting Line first so they can acquire the desk. It has the companion wait in the waiting line, then walk to the desk the patient acquired once they reach the front of the line. This method of using a split and a join to create different flows for patients and companions may be beneficial for you in other places in your model. One example may be when you want them to go to the waiting room and take a seat. Both the companion and the patient would normally need to acquire and eventually release a seat in the waiting room. The use of the split and join is a great way to do that. The model that demonstrates this is called WaitingRoom_V2_Companion_In_Line.

As a side note, another good practice when it comes to dealing with companions is to add a label that indicates if a person is a companion or a patient. I normally do this by adding a separate LabelSet for the companions in the People Settings (in the Toolbox). This allows me to filter out companions in my dashboards so they don't skew the statistics. This can only be done if the label is added in the People Settings. Another thing I would recommend is making sure that you put a Destination when you Create Companion/Person, even if it is just the model. I made these changed in both models and the changed activities are in Orange.

Here are the files:

WaitingRoom_V2_Companion_In_Line.fsm

WaitingRoom_V2_Walk_Location.fsm

Hope this helps.


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

Ashlee W avatar image Ashlee W commented ·
Thank you SO MUCH!


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.