question

Jaidit J avatar image
0 Likes"
Jaidit J asked Jaidit J commented

How to get ONLY Female patients go to Mammo Screening in a Healthcare Facility

Hello,

I'm building a HC model, and we have a Mammo Screening machine as one of the services. How can I tell FlexSim to only send Female patients to this machine? We will be having an arrival distribution for the machine. Every time a patient gets there to a get a mammogram, it will have to be a female. How can we do this? Thanks so much!

FlexSim 21.2.4
healthcareconditional decidegender
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

Regan Blackett avatar image
0 Likes"
Regan Blackett answered Jaidit J commented

The trick to this is first knowing the difference between Male/Female-shaped patients in such a way that we can use activities like a Decide to chose different logic for the differently shaped patients. This difference isn't baked in so we need to do a little work.

What I would do first is set up a Person Label in the People Settings section of the toolbox called "Gender" (or whatever you would like to name it).

Then in your patient flow right after the Source activity, put in a Assign Labels activity and configure it like this:

labels.png

Then you can use a Decide activity using the conditional decide option like this:

decide.png

If the Gender label has the text "Male" in it then you can send the patient to a connector off the Decide activity named "Male", otherwise use "Female". There are some more streamlined ways of doing this but thought it might be usefule to see it done this way in case this is a newer idea for anyone reading this.

Then you can just have your "Male" patients go to activity set that acquires one location resource, and your "Females" another. I'm also including an example model to see how this all comes together.

Hope this helps!

getgenderexample_1.fsm


decide.png (21.9 KiB)
labels.png (21.5 KiB)
· 7
5 |100000

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