Failed OBX Iteration

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Failed OBX Iteration

  • Creator
    Topic
  • #50598
    Gena Gill
    Participant

      I’m drawing a blank on this one.

    Viewing 7 reply threads
    • Author
      Replies
      • #66731

        Try running your inbound messages through the HL7 testing tool and pay special attention to the OBX parens. I’ve found that that has helped me to get my head around some of the iteration problems I’ve had in the past.

        -- Max Drown (Infor)

      • #66732
        Gena Gill
        Participant

          Yes, I’ve done that, but still cannot nail this down.  I’ve actually had issues with this on other translations since upgrading to 5.6, but don’t know if it’s a problem in Cloverleaf, or a problem with me as I’m doing more complex translations than I have in the past.

        • #66733

          What does your variant look like? Is the OBX part of a group?

          -- Max Drown (Infor)

        • #66734
          Gena Gill
          Participant

            I’m just using the version 2.3 ORU variant.  I’ve not created a special variant.  It’s not part of a group.

            Here’s a sample from the testing tool:

            1(0).1(0).1(0).OBX(0).#3(0).[2].[0]  :  >LA01<

            1(0).1(0).1(0).OBX(0).#4(0).[0].[0]  :  >1<

            1(0).1(0).1(0).OBX(0).#5(0).[0].[0]  :  >Specimen/Source: SPUTUM/SPUTUM<

            1(0).1(0).1(0).OBX(0).#14(0).[0].[0]  :  >200902021140<

            1(0).1(0).1(0).OBX(0).#15(0).[0].[0]  :  >SKAGGS<

            1(0).1(0).1(0).OBX(0).#15(0).[1].[0]  :  >SKAGGS REGIONAL HEALTH CENTER<

            1(0).1(0).1(1).OBX(0).#1(0).[0].[0]  :  >2<

            1(0).1(0).1(1).OBX(0).#2(0).[0].[0]  :  >TX<

            1(0).1(0).1(1).OBX(0).#3(0).[0].[0]  :  >REPORT<

            1(0).1(0).1(1).OBX(0).#3(0).[1].[0]  :  >Clinical Report<

            1(0).1(0).1(1).OBX(0).#3(0).[2].[0]  :  >LA01<

            1(0).1(0).1(1).OBX(0).#4(0).[0].[0]  :  >2<

            1(0).1(0).1(1).OBX(0).#5(0).[0].[0]  :  >Collected: 02/02/2009 11:40<

            1(0).1(0).1(1).OBX(0).#11(0).[0].[0]  :  >V<

            1(0).1(0).1(2).OBX(0).#1(0).[0].[0]  :  >3<

            1(0).1(0).1(2).OBX(0).#2(0).[0].[0]  :  >TX<

            You can see on the first iteration, that OBX 11 was nulled, yet the second iteration the V is still in that field.

          • #66735
            Mike Grieger
            Participant

              I think your Test Tool output is showing you that OBX is iterating at the GROUP level, not segment level.

            • #66736

              I think you need to iterate on a group.

              1(0).1(0).1(1).OBX(0).#11(0).[0].[0]

              For a segment looping, you would see OBX(n) like OBX(0), OBX(1), OBX(2), etc.

              In this case, you have the iteration happening on 1(0).1(0).1(n).

              -- Max Drown (Infor)

            • #66737

              Also, note that I suggested the HL7 testing tool, not the XLT testing tool. The HL7 testing tool will help you visualize the looping.

              -- Max Drown (Infor)

            • #66738
              Gena Gill
              Participant

                OK, I’m a dork.  Yes, you guys are right, this IS a group.  I also found out, while looking at some other things that I need to create a variant specifically for this translation, so I should be able to fix my problem.

                Thanks for your help!

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