question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Tee Hiett commented

Why isn't the label MDExamMins on MD_4 not keeping MD with patient?

Exam Problem.jpg

New Master Clinic Model.fsm

in this model, there are several problems but, right now, I am trying to figure out why I can't access the label on the MD to get the time for the MD exam. I am just processing MD_4 patient's right now.

thanks,


Tee


FlexSim 20.1.0
labelsflexsim 20.1.0
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

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Tee Hiett commented

Hi @tee.hiett

I couldn't find where you were trying to access the label in your patient flow, but here are a few things to try:

  1. Make sure the label on MD_4 is toggled as a "FlexScript" label. If it is toggled only as string, the process flow delay will not be able to read it.
  2. Use the following syntax in the label so the distribution references the MD_4 correctly: triangular(4,10,8,getstream(ownerobject(c)))
  3. You don't need to use a return statement as long as you leave the ";" off the end.

I hope this helps!

FlexScriptLabel.fsm


flexscriptlabel.fsm (52.0 KiB)
· 5
5 |100000

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

Tee Hiett avatar image Tee Hiett commented ·

Thanks, @benjamin.w2

If you look at these six MDs in the upper left-hand portion of the attached model, you will see your code. They are called at point A in the jpg file.

While have your attention can you tell me why the NP and MD don't walk to the patient in the container at point C. They walk to the consult point in the container "NP Exam Consult.."

Tee


PPS: I just found out that not only did the MD and the NP not go to the patient but the NP is not released. To see this you'll have to run the program slowly to see on the second patient that the NP stays that the computer spot.

walk to patient.jpg

New Master Clinic Model_1.fsm

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Tee Hiett commented ·

@tee.hiett, I just heard from one of our developers that there is a better way to implement this. I edited my answer above.

As for your other question, go ahead and make a new post on answers. That way more support personnel can see it and get you help quicker.

Thanks!

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

I am unable to download your latest model. I get the error message HTTP Status 403 -Forbidden.

Tee

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Tee Hiett commented ·

I will post it in this comment:

flexscriptlabelupdated.fsm

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett Benjamin W2 commented ·

Thanks, @benjamin.w2 code look nice and seems to be working well.

0 Likes 0 ·