xLate not copying all OBX Segments

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf xLate not copying all OBX Segments

  • Creator
    Topic
  • #54368
    Weston Olmstead
    Participant

      Hi,

      I’m hoping I can get another pair of eyes to look at my xLate to perhaps offer some suggestions on why I’m missing OBX Segments.

      I’m working with a Lab result, and I have to do some manipulation to the OBX Segments. Right now, I’m just trying to get them copied over and referenced properly so I can then manipulate them.

      The messges can come with one or many OBR sets, so the format as below:

      MSH

      PID

      {

      OBR

      {[NTE]}

    Viewing 5 reply threads
    • Author
      Replies
      • #81194
        Kevin Crist
        Participant

          I have never seen an iterate basis like you have try:

        • #81195
          Jim Kosloskey
          Participant

            Your counters you are using in your Address Paths such as %group1 are invalid they need to be the counter value you set at the representative ITERATE.

            Also you have nested ITERATEs so make sure the basis in each of the children have the appropriate % counters for the parent ITERATEs

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #81196
            Weston Olmstead
            Participant

              Thanks for the feedback. %group1 are the actual name of my variables defined in the iterate instead of %g1 or %g2 (i changed them so they would be easier to see from the screenshot. I’ll re-check the values for each iterate are correct (to my knowledge) and take screenshots of  each iterate to post on here shortly.

              REferring to that basis, I believe those are specific to the structure of the HL7 definition, so I don’t think the one provided in your screenshot will work for my scenario.

            • #81197
              Jim Kosloskey
              Participant

                The point is the only values allowed for ITERATE counters are:

                %gn for Group

                %sn for Segment

                %fn for Field

                %ln for List

                Where n is a number.

                So %groupn is not valid and will always equate to zero.

                email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

              • #81198
                Weston Olmstead
                Participant

                  Thank you, that clarifies things! That what I get for trying to be creative  with easily readable variable names :). I didn’t know that was a inherient requirement.

                  Thanks again!

                • #81199
                  Jim Kosloskey
                  Participant

                    That has been on the enhancement wish list for some time.

                    email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

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