Please note that I am not familiar with your Citrix application or testing goals.
1. It should be possible to create multiple patient orders. When using Bitmaps, sync on a non-dynamic object. However, each Vuser has to have a unique login. You should parameterize each Vusers login information.
Citrix functions - additional information
If there is a window name listed for the last argument then the x/y coordinates (first and second arguments) are relative to this window.
The encrypted code depends on the position/size/resolution/colors and the contents of the bitmap. The value is supposed to be constant as long as you do not change any of the mentioned factors.
Sometimes, LoadRunner will record ctrx_set_window() (e.g. ctrx_set_window(''0_37_348_265''); ) for opening of menu list, e.g. File -> Exit where the menu list box is interpreted as a window. This happens because LoadRunner always make sure that the menu is already open and ready before selecting an item. The name in this case depends on the menu position.
2. After recording the script, you can enhance the script with Synchronization, Error Trapping, and Custom coding.
I recommend the following link below which covers the following topics:
* Citrix Recording Tips
* Citrix Synchronization
* Citrix Replay Tips
* Citrix Debugging Tips
* Citrix - Troubleshooting and Limitations
I hope this helps.