question

muyuan.li avatar image
0 Likes"
muyuan.li asked muyuan.li commented

InPatient Staffing: Record patients activity and write in global table

Objective: Develop staffing models at an observation unit to reduce the difference between patients workload ((# existing + # admits + # discharge)/RN Patient Ratio) and # of nurses by hour of day

Problems:

Understand hourly patients workload --> # of admit

Test different nurse staffing models (# of nurses will be varied by hour of day --> staggered shift)

Simulation Challenges:

  • 1.Record # census in bed area at the beginning of every hour
  • 2.Record # of patients admitted (enter) to bed area every hour
  • 3.Record # of patients discharged (leave) bed area every hour
  • 4.Write these data in a global table and save as .csv file

An example of 7-day experiment, I want a global table with data as shown below:

Begin HourEnd Hour# Starting # Admits# Discharges
01:00:0001:00:59
01:01:0001:01:59
….
07:11:0007:11:59

I am not sure how to track # values. I think a custom code may be needed to create data collector and coding is required to write information into a global table. Would you please help?

Thank you in advance!

I created a sample model for your convenience. Once I understand how to record data and write data into global table, I will develop a model with actual data. observation-unit-staffing-model-test.fsm

FlexSim HC 5.3.4
global tablecustom codedata collector
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

Cliff King avatar image
0 Likes"
Cliff King answered muyuan.li commented

You could possibly use the standard Location Throughput and Location Census dashboard widgets to collect the information you desire and then export the dashboard data to csv files, but then you would have some extra work on the post processing side to combine the data in the way you want. Therefore, I would suggest using the Data Collector tool to capture the data exactly the way you want. I set up a data collector and user-defined chart in the attached model. Thank you for sending a test model for me to use!!

Here's the properties of the Data Collector I used in the model. Notice, I used "Time Interval" as the Recording Event with an interval of 60 minutes. I don't think you need to create another data collector for the 59 minute mark, because the start of one period can also count as the end of the previous period.

observation-unit-staffing-model-test-2.fsm

I've also attached three more small example models demonstrating the use of the Data Collector that I have in my library. The overtime model demonstrates how to create your own custom event in tandem with a Data Collector for those special cases where none of the standard Recording Events match what you need.

display-activity-parameter-for-multiple-activities.fsm

patient-activity-wait-time-tracking-model.fsm

clinic-overtime-example-with-custom-data-collector.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.