question

Lou Keller avatar image
0 Likes"
Lou Keller asked Matthew Gillespie edited

PatientArrivals object throws exceptions when first patient arrives

Immediately upon the arrival of the first patient in the attached model, the patient stops at the Arrival object and the following error message appears: time: 15.000000 exception: Exception caught in TreeNode::executememberfunctionwithexceptionhandling() c++/dll execution. Throwing... MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node c: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node thisClass: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node time: 15.000000 exception: Exception caught in flexscript execution of MODEL:/PatientArrivals1>variables/messagetrigger line 7 instruction 15. Discontinuing execution.

If for no other reason, as a non-programmer I've come to despise the word, "Throwing..." in error messages. In any event, what does the error message mean and how is it corrected?

Thanks!

Lou

FlexSim HC 5.1.0
healthcareflexsim hcerror messagespatientarrivals
· 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.

Lou Keller avatar image Lou Keller commented ·

ob-4th-floor-poc.fsm The model in question above...

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Ben Wilson commented

The "examTime" label name in the Appointments table doesn't match the "examtime" label name defined in the PCI table. You just need to make these match up.


labelmismatch.png (19.2 KiB)
· 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.

Lou Keller avatar image Lou Keller commented ·

Thanks, Matthew!

0 Likes 0 ·