G´day community,
I hope you can help me out with the following problem, which concerns having a live value of the current stay time of a floor spot:
The dashboard does show the MIN, MAX and AVG value of a floor spot, but only is able to provide the data after a patient has left the floor spot. My idea is to have a value which is automatically updated and can be queried, for example in a table, while the patient is still processing within the floor spot. I tried different approaches: Create Trigger on Entry, User Command (global (in the toolbox), and in patient flow), setting labels and loops in the patient flow, statistic collecors....
Writing a global User Command seems to be my best shot, since here, a while loop is able to be completed ( no freezing): Problem here: Simulation does not run the command, unfortunatelly.
--> My main challange is to continously substract the entering time at the floor spot from the Model.time in a way that this value can be recalled. I´d be helpful for any advice. best regards!