This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.

Go Back   FlexSim Community Forum > FlexSim Healthcare (HC) > FlexSim HC: Q&A

FlexSim HC: Q&A Questions about FlexSim Healthcare

Old 08-22-2013
michaelsmith michaelsmith is offline
TMN Simulation -Australia
Join Date: Aug 2007
Location: Hobart Tasmania
Posts: 62
Downloads: 7
Uploads: 0
Thanks: 31
Thanked 19 Times in 12 Posts
Rep Power: 170
michaelsmith will become famous soon enough
Default Escorted Patients Getting out of Bed

Apologies if this has already been answered.

I have a problem where I am modelling Ambulance arrivals with a fixed number og Gurneys and hospital transfers in Gurneys & Wheelchairs. When my patients get to a process step or wait they get out of bed and stand for waiting or treatment. It's a little unfortunate as they are meant to be seriously ill!

Is there a good way to keep them in bed/chair for the duration?
Old 08-22-2013
Cliff King's Avatar
Cliff King Cliff King is offline
Vice President Technical Services
Join Date: Jul 2007
Location: Utah
Posts: 272
Downloads: 158
Uploads: 14
Thanks: 102
Thanked 304 Times in 110 Posts
Rep Power: 412
Cliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud of
Default Location shapes, patient positioning, and animated transitions

The "Shape" you choose to give a Patient Queuing or Patient Processing object will determine whether the patient stands, sits, or lays down by default when transferred to the object.

An index number associated with the shape that has been assigned to an object is stored in the "ShapeType" variable of the object. The numeric value refers to the rank of the shape found in the drop-down list of pre-defined shapes you choose from when assigning shapes to objects in your model. Note that counting starts at 1 with which is found at the top of the Patient Processing object's list of shapes, and then a 2 for the "AltBed, and 3 for the Angiogram, and so on.

This is useful information because sometimes it can be helpful to go into the model tree view and manually change the value of the "ShapeType" variable of an object to fool the software into having the patient lay down when the default behavior based on the visual shape assigned to the object is for the patient to stand. The variable will keep the value you typed in for it, so long as you don't choose another shape in the Properties user interface window.

Another thing to keep in mind when playing around with shape types to control animation, is that when the patient is being moved from a shape that typically has the patient laying down (e.g. a gurney) over to an object with a shape whose default behavior is to also have the patient lay down, there is no animation associated with the cross-over, the patient simply appears laying down in the new object. In all other situations, the patient goes through some sort of animation when transferring in/out of an object. For instance when transferring from a bed to a wheelchair, the patient stands up with a short animation, turns around, and then sits down in the wheelchair with a short sit-down animation.

I should also point out that you are free to set the exact location and rotation of the patient after it enters the object, regardless of the object's shape. Just use the "Set Location, Rotation, Size" picklist option in the OnEntry trigger of the object the patient will enter. To get the coordinates of the exact location and/or rotation you want to place the patient in, you should run the model up to the point that a patient is in the object. Then manually position the patient where you want it using your mouse. The coordinates for the patient's current location and rotation will be visible on the status line at the bottom of the screen. Use the x,y,z values shown for LOCATION and ROTATION in the setloc() and setrot() commands respectively found in the entry trigger option mentioned above. You should delete the setsized() command from the picklist option since patient size is not something you would want to be changing!
The Following User Says Thank You to Cliff King For This Useful Post:
Jörg Vogel (08-22-2013)

Thread Thread Starter Forum Replies Last Post
how to create patients dynamically Pablo Concha FlexSim HC: Q&A 3 04-11-2013 05:25 PM

All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.