question

Katie M avatar image
0 Likes"
Katie M asked Matthew Gillespie edited

How do I attach a companion to a patient?

cancer-care-sydney-autosave.fsm

I'm simulating a Cancer Care facility, with an emphasis on space/flow. How can I have a patient arrive at the clinic with a companion, and also have those companions follow them wherever they go? I created a trigger but more than 1 companion arrives until the entrance capacity is full.

Thanks,

Katie

FlexSim HC 5.1.0
patient flowcompanionscompanion
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Cliff King avatar image
0 Likes"
Cliff King answered Cliff King edited

In case it's helpful, I've attached an example model showing one way to model patient companions. In this model, the child is the "patient" and the child's mother is the "companion". Both the child and the mother have a separately defined patient track and a separate PCI number as follows:

  1. Child: PCI = 1, Track = "Child_Patient"
  2. Mother: PCI = 2, Track = "Mother_Comp"

The patient arrival object creates the child (PCI 1), and an Activity Started Trigger on the child track's first activity creates the companion (i.e. mother) using the "Create Companion" pick list option. The "Create Companion" option creates the mother, positions her in the arrival object just behind and to the right of the patient's location, gives the mother an appropriate name and then kicks off the first activity (i.e. the one without a predecessor) on the mother's track.

Subsequent companion (i.e. mother) activities are kicked off at the appropriate time using triggers defined in the patient's (i.e. child's) track. The mother basically follows the child around to all locations except the X-Ray room in this model.

mother-and-child-at-acute-care-clinic-using-new-ge.fsm


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.