detecting HL7 Active Null in xlateInVals

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf detecting HL7 Active Null in xlateInVals

  • Creator
    Topic
  • #54502
    Anonymous

      I am having trouble determining when xlateInVals is an active null from within a Tcl Pre Proc (COPY statement). When using the test tool, the active null:

      – will not echo

      – is not found from string equal, string match, regexp, or a simple “==”

      I’ve tried representing active null with:

      – “”

      – “”””

      – x22x22

      -“”””

      – and probably a few more that I’ve forgetten

      Even though I can’t see the active null in xlateInVals, the active null is always copied to the destination message. The only thing I haven’t tried is running this through the engine, because I don’t like to use functions that work but can’t be verified with the test tool. Any ideas?

      Thank you,

      Dave Perry

    Viewing 2 reply threads
    • Author
      Replies
      • #81755
        Jim Kosloskey
        Participant

          This needs to be done in Tcl.

          If you would like a proc that does this you can use as is or as an example, email me and I will send it to you.

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

        • #81756
          Bob Richardson
          Participant

            Greetings,

            Have you tried testing against the temporary xlate variable @active_null?

            Let us know.

          • #81757
            Jim Kosloskey
            Participant

              The only way this is accomplished is via Tcl checking the Data Type for the value ‘null’.

              I have sent an example proc to David which he can use as is or as an example.

              If anyone else would like the proc, email me.

              email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.