question

Claudia A avatar image
0 Likes"
Claudia A asked Claudia A commented

how I can decide which appointment the patient should attend

Hi! I am simulating medical appointments at a health care center and I would like to know how I can decide which appointment the patient should attend based on the schedule and not a percentage. someone can help me? thank you

FlexSim 21.1.1
flexsim 21.1.1source scheduleappointmentsflexsimhc
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Claudia A, was Claudia A's or Jeanette F's answer helpful? If so, please click the red "Accept" button at the bottom of one of their answers. 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

Jeanette F avatar image
0 Likes"
Jeanette F answered Claudia A commented

Hello @Claudia A,

You can create a schedule or date time source that is the appointment schedule. It will release the tokens as it is time for an appointment and then the tokens are pushed onto a list. In the patient generation block, you add in a pull from list activity before it creates the patients in the model.

You can view the patient generation block as the flow of referrals until they are able to recieve an appointment and it is time to enter the model for their appointment.

Patient Appointments.fsm


· 3
5 |100000

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

Claudia A avatar image Claudia A commented ·

Hi!

Thank you so much for your attention!

Attached I send my schema in flexsim. I have a date time source with all appointments for each day. All patients go through the same registration process, but I would like some of them to go to pre medical consultation and then medical consultation (situation 1) or just medical consultation (situation 2). I try introducing two data time sources, one with the times for situation 1 and the other with the times for situation 2, but only one of the sources worked, I think they were in conflict.

Thank you!

0 Likes 0 ·
capturar-d1.png (3.9 KiB)
capturar-d.png (37.9 KiB)
Michael Machado avatar image Michael Machado Claudia A commented ·

Hi @Claudia A, using the same model that @Jeanette F did, I incremented some 3D Objects and also work in the 'Arrivals' process flow to create 2 profiles of patient´s arrival (Patient T1 and T2). You can have two data time sources but the main point here is how you set the 'People Settings' in the Toolbox and also create a reference in the activity 'Create Patient', filed 'LabelSet'. I´ve recorded the video below to support you and the model is attached. patient-appointmentsv02.fsm

https://www.loom.com/share/ad88a8b7807146fe9ee6bcee1da66b9f

0 Likes 0 ·
Claudia A avatar image Claudia A commented ·
Hello @Michael Machado! 
Thanks a lot for the help! I managed to solve the problem with your help, I hadn't changed the People Settings. In the patients' arrivals part I didn't insert the "push to list" and "pull from list". I didn't really understand what I was going to do. 
Thank you
0 Likes 0 ·