Block segment

Clovertech Forums Read Only Archives Cloverleaf Support Web Block segment

  • Creator
    Topic
  • #51041
    K Muthukumaran
    Participant

      Hi, Is it possible to block a segment (don’t send this segment alone) if any of the value in that segment is empty?

      for example, I am forwarding ORU messages through QDX 5.3 and while doing that I am requested to remove the OBX segments if OBX 5 is empty.

      Thanks & Regards,

      Muthu

    Viewing 0 reply threads
    • Author
      Replies
      • #68529
        Robert Kersemakers
        Participant

          Hi Muthu,

          This would be done easiest in the translation.

          Make sure OBX is an optional segment. Then use an IF statement to see whether OBX-5 is empty; if so, PATHCOPY @null to the OBX segment, so all OBX fields will be empty. That way the OBX segment will be removed from the message.

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

      Viewing 0 reply threads
      • The forum ‘Support Web’ is closed to new topics and replies.