Moving a certain OBX

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Moving a certain OBX

  • Creator
    Topic
  • #52164
    Kevin Crist
    Participant

      i am trying to move a certain obx to an nte segmet based on criteria and i’m not sure how to do that.

      We have an app sending out a url in an OBX-5 that has an RP in OBX-2. I’m using an IF statement to find the OBX with the RP in OBX-2 but how do i move that particular OBX to an NTE? Usually this will be the last segment in the message but i do not want to assume that, may bite me later. I have attached a copy of the xlate.

      It is the highlighted grey area.

      Thanks for any ideas.

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

          Kevin,

          Just COPY OBX-5 (with the appropriate counter placement in the field addressing) to the NTE field (probably NTE-3) after the OBR using the appropriate notation for the OBR NTE.

          If you think there could be more than one RP type, then use your own counter (remember I showed you how to do this) for the NTE repetitions and add one to if every time your condition is true.

          If you still have issues, email me directly.

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

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