larsee Posted July 29, 2015 Share Posted July 29, 2015 I am attempting to model the linked operations of a hospital emergency department and laboratory, but am getting suck on a few operational points. Patients come into the ED and are assessed a triage value (1-5) and depending on their value they get routed to different areas with different priorities using data and sequence tables. Also linked to those triage values is a probability that a testing order will be sent to the laboratory. If a test is requested, there are 4 main categories for testing available and their probabilities are also in the table related to each triage value, with an additional probability that the order is STAT priority. Based on the table data, I need to generate a specific order request that can be sent to the laboratory, which for simplicity is "generating" the specimens for testing, I'm using speed limits on the links to simulate specimen travel time for physical specimens vs the instant electronic request. I then need the lab to combine the completed tests and "fulfill" the request, sending back a results ready notice so the patient can be progressed. I would use 3 combiners for this except not every request will demand all 4 options so the combiners would sit and wait, ultimately generating fulfilled reports including all 4 tests. Is there a way I can generate a specific request, with properties to either run or not run 1-4 tests, collect the results and match the completed report back to the patient that it was generated for? The STAT priority flag adds a complication that I'm also unsure how best to represent the analyzer logic where STAT specimens abort all current testing in progress, put the batch tray back to the input buffer, test the STAT then resume. To handle the batch servers i am using the simple object made by dsturrock (http://www.simio.com/forums/viewtopic.php?f=17&t=737&p=2018#p1852) Thank you for any help you can provide, I've been stranded on this for a couple weeks now Link to comment Share on other sites More sharing options...
dsturrock Posted July 29, 2015 Share Posted July 29, 2015 I think the 3 new SimBits introduced in 7.124 might be helpful. TaskSequenceAndWorker.spfx - This project includes two models that demonstrate use of the task sequence features to execute a series of tasks from within a Server object. The first model, TaskSequeenceAndWorker_InServer, includes the data for the processing tasks specified within the Server itself. The second model, TaskSequeenceAndWorker_InTable, includes the data for the processing tasks within a table and references to the table within the Server. KeepingWorkerReserved.spfx - This model demonstrates the concept of ‘reserving’ a worker/vehicle for multiple tasks including transport tasks. These features were added in the past two sprints. In this model, a worker is required to move entities from the Source to a Server. The same worker is then required for processing tasks at the Server and then for movement to the next Server location. The ‘Keep Reserved If’ properties are used after transport and processing to continue to use the same worker for a given entity. AnimatingQueuesWithVehiclesAndWorkers.spfx – This model demonstrates two of the latest animation features for queues described above, including the Visibility Expression property and the Match Attached Animation Speed option. One portion of the model shows different priority entities in different queue locations on a vehicle, while the other portion of the model shows an animated entity walking with an animated worker. Link to comment Share on other sites More sharing options...
Recommended Posts