In Modeling an MRI out-patient clinic and a patient goes to one of 5 MRIs, I would like to record the name of that location on a patient label for use later. What is the command to get that location name?
Thanks,
Tee
In Modeling an MRI out-patient clinic and a patient goes to one of 5 MRIs, I would like to record the name of that location on a patient label for use later. What is the command to get that location name?
Thanks,
Tee
getname(patientlocation)
That will get you the name of the patient's location in an Activity Finished/Started trigger.
However, if you are storing off the location to use again later (like in a Patient Destination field) I would store a pointer to the object on the label and not just the name. A reference to the object is much more useful:
setlabel(patient, "prevLocation", patientlocation);
Then if you want to send the patient back to that same location later you would put this in the Patient Destination field:
getlabel(patient, "prevLocation")
6 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