I have an issue that I was attempting to take care of in an .xlt. The issue is my Mysis lab system prefixes the facility code to the MR number in the PID 3 field. What I get is a value of 50999999999. The 50 being the facility and the 999999999 being a 9 digit MR#, leading zeros are included in the MRN#. My first thought was to subtract 50000000000 from the PID 3 and place only the resulting MR# in the outbound data. I dicovered that a @variable in the translation configuration can only by nine digits long. If I had to write a tcl proc would I have the same limitations. I have next to no tcl experience so I wanted to know if this would be a problem before I began.
Thanks in advance for any comments or suggestions.
Victor Ligenza