Occasionally, when I am debugging a program, I would like to get the name of the patient in the waiting room who has a specific location reserved. How can I use commands to do this?
Thanks,
Tee
Occasionally, when I am debugging a program, I would like to get the name of the patient in the waiting room who has a specific location reserved. How can I use commands to do this?
Thanks,
Tee
To get the name of the patient currently reserving Bed1, use the following statement:
getname(tonode(getvarnum(Bed1,VAR_ReservedForPatient)))
To get the name of the location that "patient" is reserving, use the following statement:
getname(tonode(get(first(getvarnode(patient,VAR_PatientDestination)))))
8 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved