Xlate IF string compare

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Xlate IF string compare

  • Creator
    Topic
  • #51536
    Marcus de Leon
    Participant

      Hi,

      For some reason when I do an IF condition like LT or EQ on two strings and have a true value, I always get a “Mismatched IR Tags” error. Inside my if condition I just have a comment and nothing else.

      This is what I have

      IF =test eq =test —> Thows Mismatched IR Tags

         COMMENT

      IF =test eq =test1 —> No Error

         COMMENT

      Can anybody explain what is going on here?

      Thanks in advance

      Marcus de Leon

    Viewing 2 reply threads
    • Author
      Replies
      • #70695
        James Cobane
        Participant

          Marcus,

          The ‘mismatched IR Tags’ is an indication that the HL7 variant isn’t matching the inbound data structure. The reason your IF statement is showing the error

        • #70696
          Marcus de Leon
          Participant

            Hi Jim,

            Thanks for your response.

            The thing is, there are no actions. Just a comment as shown in my example. My example shown is exactly what I’m doing and it throws the mismatch. It’s very strange.

          • #70697
            Marcus de Leon
            Participant

              I have a feeling my xlate got corrupted at some point. I scrapped it all and the problem disappeared.

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