Hi there,
How we can visualize/calculate the frequency of waiting times for multiple locations?
Thank you for posting this as a follow up question - link for context:
The data in the person and location tables does not contain a column that specifies the group they belong to so they have to joined with the "LocationGroups" table that does.
Then you can query for entries of any of the groups by adding the condition that the location must belong to it.
SELECT (([PersonWaitForLocationHistory.StatisticsCollector].[AcquireTime] - [PersonWaitForLocationHistory.StatisticsCollector].[RequestTime]) / 60) AS [WaitTime] FROM [PersonWaitForLocationHistory.StatisticsCollector] JOIN [LocationGroups.StatisticsCollector] ON ([LocationGroups.StatisticsCollector].[Location] = [PersonWaitForLocationHistory.StatisticsCollector].[Location]) WHERE [LocationGroups.StatisticsCollector].[LocationsGroup1] = 1
This query calculates the individual waiting times patient had for locations (the result of this is normally aggregated in the "Location" column of the PersonWaitTimes table). It then joins the table with the "LocationGroups" table, adding the columns which determine if a location belongs to a certain location-group or not. Lastly the WHERE filters for entries belonging to the group with the specified name.
14 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