md-waits-for-resident.fsmIn the attached model, I would like to get the time the first provider waits at activity 220_ReadsResults for the 2nd provider.
Thanks,
Tee
md-waits-for-resident.fsmIn the attached model, I would like to get the time the first provider waits at activity 220_ReadsResults for the 2nd provider.
Thanks,
Tee
I'm not sure there is a way to get this information directly, and it's going to be difficult to get in even an "indirect" way! Although the software does a good job of recording the total time a patient has to wait for locations and resources, it only categorizes the wait by a location area and resource group, and doesn't further categorize the wait times by activity. The software also does a good job of recording the amount of time one staff member waits for another, but it doesn't categorize this wait by specific activities associated with a given wait time.
One of the problems in your model is the fact that we do not know which of the two providers will be allocated first. Currently, your model settings allow the two staff requests to be dispatched in parallel as shown below.
If you change your model settings (File > Model Settings menu) to dispatch requests sequentially as shown below, then we will at least know that the first staff member must be allocated before a request will be sent to the second staff member.
Even so, we do not have a convenient trigger in the model to record the difference in time between when the first staff member is allocated/arrives and the second staff member is allocated/arrives. If you split activity 220 into three activities: 1) allocate and keep first provider with a 0 process time activity, 2) allocate and keep the next provider with a 0 process time activity, and 3) a final activity using both allocated providers with the actual process time, then you will at least have triggers you can use to start and stop timers recorded in a global table or something. Or maybe you will be able to decipher the wait time of the first provider by simply looking at the difference between the spawn and start times for the 2nd activity that tries to allocate the second provider. The "spawned" time is when an activity initially gets kicked off by its predecessors or whatever, and the actual "start" time is the time the activity was able to allocate its first required resource.
Cliff,
Attached is a picture of the raw data output from Sequentially_PatientHistory_v1.csv recording the wait timed associated with Activities. In looking at Activity 220_Read Results. If I am reading this I will put correctly the sequence of arrivals of the 2 providers is not important because whoever arrives first has to wait until the 2nd provider arrives. The 2nd provider does not have to wait. In this replication, the average wait time for the providers at activity 220 is 133.65/10 or 13.365 minutes and the maximum wait time is 40.62.
Does this analysis seem reasonable? rawdata.jpg
Tee
The PatientHistory Output file shows the time a patient spends waiting for locations/resources, not the time staff wait for other staff. It's nice that the wait times are reported separately by activity, but unfortunately, I don't think these are the wait times you are looking for. For example, in your table image, the last entry tells us that patient 31 had to wait 20.01 minutes for MDPhillips16. Only the time the patient waits for the first staff member to be allocated will be reported, that's why you never see two wait times listed for the same patient on the same activity. The time spent waiting for the first staff member of a multi-staff requirement activity is assigned to the patient as "WaitingForStaff" time, and the subsequent wait times are assigned to those staff members who have already arrived and are waiting for additional staff to arrive as their "WaitingForStaff" state time.
The wait time you are looking for is found in the StateHistory_Staff Output file which reports the time one staff members spends waiting for another staff member. This is called the "WaitingForStaff" state of a staff member. Unfortunately, only the total wait time is recorded, not the wait times associated with each activity. It wasn't possible for us to categorize the wait time of staff for other staff by activity because there are lots of other cases where one staff can wait for another staff that have no association with an activity.
extra-exam-room-3-steps-to-read.fsm @Cliff King
Cliff,
This weekend, I worked on trying to split activity 220 into 3 activities without much success. The model keeps locking up. Would you be so kind as to look at this version of the model and give me your suggestions?
Thanks,
Tee
Tee,
I'm on vacation through Wednesday, so I may not get to your questions as quickly as you'd like, but I did pull up your model this morning and noticed a few problems you can start to address:
See if these changes get things working again for you, and let me know how it goes...
Cliff
I don't mean to interrupt your vacation. Is there someone else you could refer this case to? (BTW, Where you vacationing?)
Just to respond to your points:
1. The actual process activity is Activity 225, following the Get 2nd Provider activity.
2. I should have identified the "Based on condition" as being custom code.
3. I was trying to be careful with keeping and releasing staff in order that staff could be called for other activities rather than just waiting.
Thanks for your help with this but after a week off at the beautiful beach in Sandestin Florida you need to relax and enjoy your vacation :-).
Tee
6 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved