Set percentage of patients in function of label

Set percentage of patients in function of label

Ayman02
Not applicable
18 Views
4 Replies
Message 1 of 5

Set percentage of patients in function of label

Ayman02
Not applicable

I have a "Decide" box that is connected to two boxes. If there are 5 different types of patients (label), how can I set a different percentage of patients that goes to each box in function of the label?

Thanks

0 Likes
Accepted solutions (1)
19 Views
4 Replies
Replies (4)
Message 2 of 5

sebastian_canas9DYX7
Collaborator
Collaborator
Accepted solution

@Ayman ,

It depends if you're setting a label from the beginning or you just want to set the percentage directly in the Decide activity. However, this is easily done using the picklist options of that activity.

1719948442771.png

I would suggest you to walk throught the FlexSim HC tutorial, focusing on this task, where you could learn how to create a conditional flow.

1719948334060.png


0 Likes
Message 3 of 5

Ayman02
Not applicable

I think I have not explained myself correctly. I have created 5 type of patients according to their severity, each one with its label set.

For each of these patients, I want to set a percentage that goes to activity 1 and another percentage to activity 2.

For example: Patient_type1: (70% go to activity 1 and 30% to activity 2)

Patient_type2: (60% go to activity 1 and 40% to activity 2)

0 Likes
Message 4 of 5

sebastian_canas9DYX7
Collaborator
Collaborator

@Ayman ,

If you have two possible destinations for each type of patient, you could use a bernoulli distribution within the Connector by case option of the Decide Activity.

You set something like this:

1720034539885.png

Change the Case Function and the values according to your model

Is that a more accurate answer?

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Ayman, was one of Ayman's or Sebastián Cañas's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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 comment back to reopen your question.

0 Likes