question

sara S2 avatar image
0 Likes"
sara S2 asked sara S2 commented

How to attribute a staff for each task ?

Hello,

In the "ReplenishProcessFlow" of the attached model, I want to attribute a nurse for each administration. For example, the first administration (patient in exam table 18) is performed by "Female1", the second administration (patient in exam table 17) is performed by "Female2" and the third administration (patient in exam table 16) is performed by "Female1".

I used "Object Nambe By Global Lookup Table" (the global table "AdminDestination" column 2) for "Move cart then administer" and "Move cart for next replenish" processes’ “staff”. Concerning "Replenish meds for administration" process, I used "Array of values" in "CUNurse1" in which I specified the values of the global table "AdminDestination" column 2. But, when I run the model, I get the errors in figure 1.

Would you please help me to fix this.

Regards.

figure1.png

hospital1.fsm

FlexSim 19.0.0
resource assignment
figure1.png (205.7 KiB)
hospital1.fsm (84.4 KiB)
· 2
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

For the Replenish meds section you should use a Staff Resource to acquire a nurse instead of just a normal resource or you'll end up with a nurse acquired more than one time.

1 Like 1 ·
sara S2 avatar image sara S2 Matthew Gillespie ♦♦ commented ·

Ok, thank you for your help.

0 Likes 0 ·

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered sara S2 commented

To answer your question directly: The errors you are seeing come from a bad label on the "Process" activities in your Process Flow. You're referencing a label "Person" which doesn't exist. Not sure what you were intending to reference there. Perhaps the patient?

Another one of your errors comes from the Load activity in one of the sub-flows. The label "CUNurse1" is just a string and it isn't referencing anything. This has to do with the way the labels were assigned. You assign the CUNurse1 label based on an array of values rather than a group or list of Task Executers. By doing it this way, it's as if you have three nurses instead of two. You can just put the nurses in a group and then acquire them that way. That way the label is pointing to a Nurse rather than just a string value.

25787-hospital1.fsm


replenish-flow.png (17.0 KiB)
25787-hospital1.fsm (84.8 KiB)
· 1
5 |100000

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

sara S2 avatar image sara S2 commented ·

@tanner.p thank you for your help.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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