question

fenia tseligka avatar image
0 Likes"
fenia tseligka asked Adrian Haws edited

How to make different types of patients leave waiting room early

There are 3 types of patients tracks, that will leave the waiting room of the HC unit after some particular time (time differs for each type). More specifically, the patients will be leaving without being seen by a doctor after their waiting tolerance expires. How do i make that happen in Flexsim HC? Thank you in advance.

FlexSim HC 5.0.12
timelwbsevaluate patient conditionleave earlywaiting tolerance
· 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.

Regan Blackett avatar image
1 Like"
Regan Blackett answered Adrian Haws commented

Handling this with the Patient Queuing objects built in features for "Patient Condition" would seem to be the best approach for this problem (located below in the object properties)

The Evaluate patient field asks for a time interval where you will check to see if the patient will execute a Leaving without being seen event and the Patient leaves Early field lets you set up conditions that will cause the patient to leave early and what they should do if flagged to leave early. One note on the Evaluate field, this creates an event every 'X' time that you put in so if your interval is very short it creates a lot of 'ticks' in your model that may make stepping through events take a longer than normal.

Here's an example of what the configuration of this field could look like along with a sample model with it in use.

In my model I created two PCI's (that follow the same track, but you could easily set up PCI's that have different tracks and use the same methods) and I want each of the PCI's to have a different time threshold for when they can leave early, such that PCI 1 leaves if they have been in the waiting room for longer than 5 minutes or if they are PCI 2 they leave if they have been in the waiting room for more than 10 minutes.

I write my condition in the Blue text above to first get the PCI of the patient and then check the time they have been in the waiting room by checking the total elapsed time in the model (time()) and subtract the time that they entered this object (getentrytime(patient)). This is actually two conditions separated by the OR operator ( || ) one for when PCI is 1 and the other for when PCI is 2 and could be read to say

"if the PCI label of the patient is 1 AND the patient has been in waiting room for longer than 5 minutes OR if the PCI label of the patient is 2 AND the patient has been in waiting room for longer than 10 minutes"

Another thing I did, just to verify that it is working is I saved the time spent in the waiting room to a Label on the patient called LWBS so that if a patient leaves early you can see how long they were in the waiting room before they decided to leave, and I set that up in the same field as the above picture.

Try sample model and let me know if you have any other questions.

waiting-room-lwbs.fsm


· 6
5 |100000

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

Adrian Haws avatar image
0 Likes"
Adrian Haws answered fenia tseligka commented

You can accomplish this through patient activities and PCIs. For each of your patient tracks, simply make a "Process" activity after the patients arrive to the waiting room. You can then manually enter the processing time for each patient track, and omit any staff requirements.

You can then set up different Patient Classification Index (PCI) numbers for the three types of patients, and specify which patient track each will go to. Finally, make sure that the patient arrival pattern is set up for each PCI.

Let us know if anything is unclear.

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