We are CIS 5.7R1 on AIX.
I'm probably just making this too hard. Trying to copy the free-text Chief Complaint from the appropriate DG1 component to PV2-3 where Cerner likes to see it as the Reason For Visit and remove a creative user's backslash...
xlateInVals = SOME PHRASE LIKE THIS
using the COPY pre-proc of
regsub -all {\} $xlateInVals {} xlateOutVals
xlateOutVals = SOME
Okay, I've commited the cardinal Cloverleaf sin of not treating xlateInVals as a list...so I change to
regsub -all {\}
{} xlateOutValsxlateOutVals = SOME PHRASE LIKE THISTa-da! Well, not quite mon hombre...When testingxlateInVals = SOME PHRASE LIKE THIS or,xlateInVals = SOME PHRASE LIKE THISwithout the backslash or with it elsewhere than the end, I getxlateOutVals = {SOME PHRASE LIKE THIS}with those pesky curly braces. I tried using string map and got strange results too:set xlateOutVals [string map {{\} {}}
]SOME PHRASE LIKE THIS => {SOME PHRASE LIKE THIS}SOME PHRASE LIKE THIS => {SOME PHRASE LIKE THIS}and my favorite, the original culprit:SOME PHRASE LIKE THIS => SOME PHRASE LIKE THISAll this was done in the Xlate Testing Tool.Any assistance would be much appreciated.