question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

Patient Label Not Retrieved After Pulling From List From Arrivals

I am facing issue while retrieving patient label which was assigned in arrival schedule. This problem is only happening while using list for arrivals.

Can anyone help me to figure out the issue?

Thank you!

Test_Pat_Label_Retrieve.fsm


FlexSim 20.2.3
hcpatient label
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ankur A3 commented

The MD label is only present on the pulled token. If you want the label to be copied to the patient, you first have to copy it to the token that creates the patient.

1651047725383.png

Might I ask why you are using a list instead of having the token from the Date Time source create the patient directly?


1651047725383.png (16.2 KiB)
· 6
5 |100000

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

Ankur A3 avatar image Ankur A3 commented ·

Hi @Felix Möhlmann ,

I was expecting the same question. Actually, my schedule have bookable and non-bookable slots. So I need to filter bookable slots first and then generate patients accordingly.

Thank you!


0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Ankur A3 commented ·
Also, I have one more question if I can.

After copying label to patients when I am referring labels using "patient.labelname" in patient flow tab, I am facing error sometimes otherwise it is working fine. I am not able to understand reason. The error is Undefined variable patient.

Can you help me to get the reason?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

It's difficult to know without more information. If you can't upload the model, can you at least share screenshots of the error message and the settings of the activity that causes the error?

0 Likes 0 ·
Show more comments
Ankur A3 avatar image Ankur A3 commented ·

Oh! does it work in this way?

I was assuming that we have pulled the token so labels can be copied anytime.

Thank you @Felix Möhlmann for this concept!

0 Likes 0 ·