Table of Contents

Table of Contents

Tutorial Task 1.2 - Add Staff

Task 1.2 - Add Staff

Task Overview

In this tutorial task, you'll build more of the patient track for the health care clinic model to get some additional practice using the FlexSim Healthcare objects and activities.

In the first tutorial task, you learned how to use one of the activity sets to quickly set up the logic of your patient track. In this tutorial task, you'll use a few more activity sets that let the patient acquire staff and give them tasks.

When you're finished, your simulation model should look similar to the following image:

Step 1 Add Staff and Additional Locations

In this step, you'll build out a little more of the 3D objects in the health care clinic by adding some more FlexSim Healthcare locations and staff objects to the model. In this step, you'll see what it's like to add several copies of the same object at the same time using the Create Objects mode.

When you're finished, your model should look similar to the following image:

To add these additional 3D objects:

  1. In the Library under the Healthcare group, click the Location object to open a menu. Click (don't drag) the Exam Table to enter Create Objects mode. Your mouse pointer will change to the Create Objects icon when you're in Create Objects mode. Click the area in the model where you want to add the first exam table. (Use the image at the beginning of this step to guide you on the placement of objects.)
  2. While still in Create Objects mode, click inside the model to add a second Exam Table.
  3. Repeat the previous step to add more Exam Tables until there are a total of 4 tables in the model. Press Esc or right click to exit Create Objects mode.
  4. Click Exam Table 3 to select it. In Quick Properties, change the Z-rotation to 180.00. Repeat this step for Exam Table 4 as well.
  5. From the Location menu, drag a Scale into the 3D model.
  6. Change the scale's Z-rotation to 90.00.
  7. From the Location menu, drag a Computer Desk into the 3D model.
  8. Change the desk's Z-rotation to 90.00.
  9. In the Library under the Healthcare group, click the Prop object to open a menu of prop objects. Drag a Nurse Station B (under the Rooms group) into the 3D model.
  10. Click Nurse Station B1 to select it. In Quick Properties, change the Z-rotation to 90.00.
  11. In the Library under the Healthcare group, click the Staff object to open a menu. Drag an RN (Female) and an RN (Male) into the model.
  12. In the Library under the Healthcare group, click the Staff object to open a menu of staff objects. Drag an MD (Female) and an MD (Male) into the model.

Check to make sure your simulation model looks similar to the image at the beginning of this step.

Step 2 Create Object Groups

In this step, you'll learn how to add staff objects to your 3D model. You'll then learn how to create staff and location object groups. You'll also explore how groups work with FlexSim Healthcare 3D objects in general by exploring groups in the Toolbox. See Creating 3D Object Groups for more information about groups.

By default, all locations are automatically added to one of the main object groups: the Locations group. In a similar vein, all staff are added to the Staff group. However, you also have the ability to create additional groups or sub-groups to better organize your model. As you'll see in a later step, these groups are important to building the logic for FlexSim Healthcare objects.

Since you added several new 3D objects to your simulation model in the previous step, you need to create object groups for those new objects in order to make your model scale well. In this step, you'll create a location group named ExamRooms for the new exam tables and you'll create staff groups named MDs and RNs for the MD and RN staff members.

To create these object groups:

  1. Press and hold down the Shift key while using your mouse to draw a box around all four of the new ExamTable objects you added to your model in the previous step. A red box will appear around the ExamTables to show they are selected.
  2. Right-click ExamTable1 to open a menu. Point to Location Groups, then select Add to New Group to open a group properties window.
  3. In the name box, rename the group ExamRooms.
  4. Notice that all four of the ExamTables are members of the group. Close the group window.
  5. Press and hold down the Shift key while clicking a blank area in the 3D model with your mouse to de-select the ExamTables.
  6. In the 3D model, press the Ctrl button and click MD1 to select it. While still pressing the Ctrl key, click MD2 to select it as well. Right-click MD1 to open a menu. Point to Staff Groups, then select Add to New Group to open a group properties window.
  7. In the name box, delete the current text and rename the group MDs.
  8. Notice that MD1 and MD2 are both listed as a member and that Staff is listed as the parent group. Close the group window.
  9. Press and hold down the Shift key while clicking a blank area in the 3D model with your mouse to de-select the MDs.
  10. Add RN1 and RN2 to a new Staff Group named RNs the same way you added MD1 and MD2 to the MDs group.
  11. Remember to press and hold down the Shift key while clicking a blank area in the 3D model with your mouse to de-select the RNs.

Consider saving your simulation model at this point.

Step 3 Add Activity Sets for Bed Placement

In this step you'll use the Escort then Process activity set to model the patient being escorted to the scale and then to an exam table.

In this step, you'll also see how the staff groups you set up earlier in the tutorial will be used in this model's logic. When a staff member is required to help a patient, you can assign any member of the group to help the patient (as opposed to assigning a specific staff member). When needed, the process flow will select the first available member of this group to work on a task.

Using object groups will help your model scale well as it becomes more complex. It makes it so that you can add extra chairs, clerks, nurses, etc. as needed without having to change the model's logic. When you add new objects to the 3D model, all you will have to do is add the new members to the group and FlexSim Healthcare will take care of the rest of the logic. These object groups also make it possible to easily study the impact of adding additional staff or location resources to your model to find the most efficient use of resources.

When you're finished, your process flow should look similar to the following image:

To add and connect these activities:

  1. In the Library under the HC Activity Sets group, drag an Escort then Process activity set into the Patient Flow process flow.
  2. See Escort then Process for more information about how the activities in this activity set work together.

  3. Create a connector from the bottom edge of the Wait container to the top edge of the new container.
  4. Rename the container Weigh at Scale.
  5. Rename the Location resource Scale.
  6. Rename the Staff resource RN.
  7. Click the icon of the Scale activity to open its properties. Next to the Location box, click the Sampler button and sample the Scale1 object in the 3D view.
  8. Click the icon of the RN activity to open its properties. Next to the Staff box, click the Sampler button and sample any of the RN objects in the 3D view. Choose the RNs group option from the menu so that the field now reads Any member of RNs.
  9. Click the icon of the Process activity to open its properties. In the Process Time field change minutes(10) to minutes(1).
  10. Press and hold the Ctrl key. Click the Release RN activity, drag it out of the stacked block, and delete it.
  11. We are doing this because we will continue to use the RN we acquire in this activity set in the following activity set.

  12. In the Library under the HC Activity Sets group, drag another Escort then Process activity set into the Patient Flow process flow.
  13. Create a connector from the bottom edge of the Weigh at Scale container to the top edge of the new container.
  14. Rename the container Bed Placement.
  15. Rename the Location resource Exam Table.
  16. Click the icon of the Exam Table activity to open its properties. Next to the Location box, click the Sampler button and sample any of the Exam Table objects in the 3D view. Choose the ExamRooms group option from the menu so that the field now reads Any member of ExamRooms.
  17. Click the icon of the Staff resource to open its properties. Next to the Staff box, click the Sampler button and sample the RN staff resource in the Weigh at Scale container so that the field now reads Reference to RN. This means that the staff we want to use in the Bed Placement activity set is the same RN we used in the Weigh at Scale activity set.
  18. Press and hold the Ctrl key. Click the Acquire RN activity, drag it out of the stacked block, and delete it.
  19. We are doing this because the RN we're using was already acquired in the previous container and has not been released yet.

  20. Press and hold the Ctrl key. Click the Acquire Exam Table activity, drag it out of the stacked block, and drag it into the stacked block inside the Weigh at Scale container such that it is now the first activity in the block.
  21. We are doing this because we don't want the patient to be escorted to the scale until there is an open exam room to go to.

    Check to ensure that your patient flow looks similar to the image at the beginning of this step.

Step 4 Add Activity Sets for Exam and Departure

In this step you'll use the Process with Staff, the Two Staff Meet, and the Escort to Exit activity sets to model the patient being seen by an MD, the RN and MD discussing the patient, and then the patient being escorted to the exit. We will also see how to refer to resources acquired in an earlier activity set.

When you're finished, your process flow should look similar to the following image:

To add and connect these activities:

  1. In the Library under the HC Activity Sets group, drag a Process with Staff activity set into the Patient Flow process flow.
  2. See Process with Staff for more information about how the activities in this activity set work together.

  3. Create a connector from the bottom edge of the Bed Placement container to the top edge of the new container.
  4. Rename the container MD Exam.
  5. Rename the Staff resource MD.
  6. Click the icon of the MD activity to open its properties. Next to the Staff box, click the Sampler button and sample any of the MD objects in the 3D view. Choose the MDs group option from the menu so that the field now reads Any member of MDs.
  7. Click the icon of the Process activity to open its properties. In the Process Time field change minutes(10) to minutes(30).
  8. In the Library under the HC Activity Sets group, drag a Two Staff Meet activity set into the Patient Flow process flow.
  9. See Two Staff Meet for more information about how the activities in this activity set work together.

  10. Create a connector from the bottom edge of the MD Exam container to the top edge of the new container.
  11. Rename the container Consult.
  12. Click the icon of the Staff1 resource to open its properties. Next to the Staff box, click the Sampler button and sample the RN* staff resource in the Bed Placement container so that the field now reads Reference to RN.
  13. Click the icon of the Staff2 resource to open its properties. Next to the Staff box, click the Sampler button and sample the MD staff resource in the MD Exam container so that the field now reads Reference to MD.
  14. Click the icon of the Office variable to open its properties. Next to the Variable or Value box, click the Sampler button and sample the Computer Desk1 object in the 3D view.
  15. In the Library under the HC Activity Sets group, drag an Escort to Exit activity set into the Patient Flow process flow.
  16. See Escort to Exit for more information about how the activities in this activity set work together.

  17. Create a connector from the bottom edge of the Consult container to the top edge of the new container.
  18. Click the icon of the Staff resource to open its properties. Click the arrow next to the Staff box to open a menu. Point to Previous Staff Resource, then select RN so that the field now reads Reference to RN.
  19. Click the icon of the Exit variable to open its properties. Next to the Variable or Value box, click the Sampler button and sample the Glass Door1 object in the 3D view.
  20. Press and hold the Ctrl key. Click the Release Exam Table activity in the Bed Placement container, drag it out of the stacked block and into the Escort to Exit container so that it's the first activity in the stacked block.
  21. We are doing this because we don't want to release the exam table until the patient is ready to leave.

    Check to ensure that your patient flow looks similar to the image at the beginning of this step.

    Consider saving your simulation model at this point.

Step 5 Test Your Model

As you watch the 3D model, the patient is escorted from the waiting room to the scale and then to to an exam table. A doctor then examines the patient and consults with the nurse. The patient is then escorted to the exit:

Notice also that the nurse and patients walk through the floor plan walls, taking the shortest distance between two points. You'll learn how to fix this problem in a future tutorial.

Conclusion

Up to this point, you've created a simulation model of a health care clinic in which a patient is seen by a doctor and then leaves. In the next tutorial we'll add a branching path to the flow so that the patient recieves one of two possible tests. Continue on to Tutorial Task 1.3 - Add Transports and Equipment.