Anna Fleeger

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: How to do IF / COPY #116469
    Anna Fleeger
    Participant

      Thanks to everyone to responded to my question.

      We went with Jim’s suggestion of going with a table because there could be additional codes that will need to be converted.  Here are the steps we took to determine if the result text was what we were looking for, and if so, to update the result code:

      1. created a table with the result text requiring a special code in the IN side and the desired replacement result code in the OUT side.  The Use Default Value is selected, and allowed to stay Null.
      2. in the xlt enter TABLE operation, use text in OBR.4[1] as the Source, with the new table, write the Destination value to a variable
      3. using IF operation, if the variable value is NOT null, use the variable as the Source, and COPY the value to the OBR#4[0]

       

      Many thanks to Jim for his additional support!

    Viewing 1 replies (of 1 total)