xlateStrSubstring error

Clovertech Forums Cloverleaf xlateStrSubstring error

  • Creator
    Topic
  • #115691
    Rich
    Participant

      Team,

      I’m trying to pull the first three numbers from PV1.18 (Patient ID) for comparison and possible supression.

      I did the following:

      xlateStrSubstring 0 2

      and am getting the following error in the testing tool:

      MESSAGE 1
      Tcl callout error
      xlateStrSubstring 0 3:

      errorCode: NONE

      errorInfo:
      bad type “nm”: must be c, d, v, or x
      while executing
      “xpmstore $xlateId $outAdd $outType [string range $inValue $_first $_last]”
      (procedure “xlateStrSubstring” line 15)
      invoked from within
      “xlateStrSubstring 0 3”
      <End of errorInfo>

       

      Why??

    Viewing 0 reply threads
    • Author
      Replies
      • #115711
        Jim Kosloskey
        Participant

          What is the Destination of the STRING Action?

          Also it is curious the error trace shows 0 and 3 rather than 0 and 2.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #115756
            Jim Kosloskey
            Participant

              It is the map Function of the STRING Action. I forgot to include that. you will also need to escape the escape character \\.br\\

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        Viewing 0 reply threads
        • You must be logged in to reply to this topic.