looping over group and segments obr/obx pairs

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf looping over group and segments obr/obx pairs

  • Creator
    Topic
  • #55380
    mi reid
    Participant

      new to cloverleaf

      cloverleaf 6.1

      we have a result oru message that contains multiple results obr/obx pairs.  vendor requirement is to send a result that contains a single result for vital only.

      working on an xlate to evaluate if obr-4.1 = “vitalsigns” or obr-4.4= “vital signs” then process transaction obr/obx pair and value the obr-4.2 text to “vital signs” per vendor requirements.

      I get a path error when I try to put in an IF to eval obr-4.1 or obr-4.4 and I am not sure where I am off on the group, segment or if it is some other issue.  I have attached xlate and incoming sample message, desired outgoing sample message.

      I am open to new way to do the xlate if there is a more straight forward and better approach.  All assistance is greatly appreciated.

    Viewing 1 reply thread
    • Author
      Replies
      • #85133
        Jim Kosloskey
        Participant

          email me and I will try to assist you.

          See my email in my signature.

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

        • #85134
          mi reid
          Participant

            Issue has been resolved.  Jim K thanks for the fast and on point assistance.

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