XLATE: Adding Carriage Return / Line Feed

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XLATE: Adding Carriage Return / Line Feed

  • Creator
    Topic
  • #48793
    Femina Jaffer
    Participant

      Can anyone advise on how to force a carriage return in an xlate?

      I have added an OBX segment after each OBR in an xlate.  The receiving system does not recognize the OBX, which I believe is due to a missing carriage return or line feed (the OBX does not line up with the OBR in the SMAT).

      What is the syntax to do this in an xlate?  Pls. advise.

      mina

    Viewing 2 reply threads
    • Author
      Replies
      • #59708
        Anonymous
        Participant

          Have you tested the inbound message through your testing tool using HL7 testing to see how your message is structured? your problem should not be because of your Xlate.

        • #59709
          Russ Ross
          Participant

            I have never seen a problem like you described were the xlate did not put a carrage return between segments.

            I’m assuming your xlate has the OBR defined in the outbound varinat and you are mapping fields to it using the Xlate tool.

            If that assumption is not true then that might be part of the cause.

            There is a utility called

            hcihd

            that will help you be certain if there is a missing carrage return or show any other non-printable characters that might be causing a problem.

            I mention using the hcihd utility so that you can clearly see all the charcters in the message, because non-printable characters can really sneak up on you and send you chasing your tail until you know what they are.

            Russ Ross
            RussRoss318@gmail.com

          • #59710
            Femina Jaffer
            Participant

              Thank you Russ and Hari,

              You are absolutely right, my problem had nothing to do with the xlate.  As a matter of fact, it had to do with a code that was in the inbound side that stripped the carriage returns.

              I have it working now.  Thank you again.

              fj

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