FlexSim Healthcare 23.0.2 (I know, there may be an upgrade available)
I am trying to associate equipment, staff, and locations based on similarities in their names. I would like to do this without the use of an additional table. The purpose is to control mismatches in resources that should be linked to another resource (the stretcher that belongs in an exam room, for example), and to automate the mapping of that linking when creating new instances (a copy of a resource with a sequential ID number would automatically point to a resource that should be associated, also having a new, sequential ID number)
I am trying to write two labels to perform this sort of function:
- 1. matches and ID number of an exam room name to an ID number of some equipment stored in this exam room (in this case, a stretcher)
- 2. Points to a registration terminal (location resource) based on an acquired registration clerk (staff resource).
Correct me if I'm wrong: When editing a flexscript label, it seems that I can access the Null variant that exists at a treenode, but because it is Null I can't access any of the properties or methods of that treenode.
Simply put, for the label I want to access the name of the staff from within the label. - in this case "Clerk_Registration_Front_1" - so that the resulting label can point to "Registration_Front_1" which is the name of the associated computer/registration station.
Is this possible to do this way? Or, is there another way?
Thanks!