I need a fragment of TCL code to put in an Xlate that will add a pre-fix to a string. I was able to come up with the following,
set prefix “CH”
set deptCode $xlateInVals
set xlateOutVals $prefix$deptCode
When I run a test on this translate, I am getting my output as,
CH{GYNECOLOGY^Faculty^Progress^Note^(SD)}
Where as the real data incoming was,
GYNECOLOGY Faculty Progress Note (SD)
How do I modify my TCL code to give me an output such as follows?
CHGYNECOLOGY Faculty Progress Note (SD)
Thanks!