question

Robert B5 avatar image
0 Likes"
Robert B5 asked Ben Wilson commented

Flexsim 20.2 HC - how to attach gender label to random create patient stream

Using create patient to generate 50/50 male/female patient stream. I need to tag patient with generated gender label so I can use lable to direct to male or female patient process flow?
FlexSim 20.2.2
labelspatient generation
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Robert B5, was Patrick Zweekhorst's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Patrick Zweekhorst avatar image
1 Like"
Patrick Zweekhorst answered

Hi @Robert B5,

You can use an assign labels activity for this. The best place to do this is just before you create your patient. This can be done like this:

All patients will now have a label Gender with either value Male or Female.

The model I uses is also attached. I hope this helps.

Patrick

MaleFemale.fsm


1601562868994.png (33.2 KiB)
malefemale.fsm (43.9 KiB)
5 |100000

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

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.