Removing one OBX line

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing one OBX line

  • Creator
    Topic
  • #51492
    Gina Borden
    Participant

      OBX|4|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|1|Escherichia coli||||||F

      OBX

      NTE|4|L|Moderate

      OBX|6|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|2|Klebsiella pneumoniae||||||F

      OBX

      NTE|6|L|Moderate

      OBX|8|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|3|Gram Negative Rod||||||F

      OBX

      NTE|8|L|ModerateRKluy. ascorbata

      OBX|10|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|4|Bacteroides caccae||||||F

      OBX

      NTE|10|L|ModerateRBeta-lactamase Positive

      OBX|12|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|5|Peptostreptococcus prevotii||||||F

      OBX

      NTE|12|L|Moderate

      In my xlate, I am using this OBX line to create and NTE line, and now I would like to completely remove the line.  I have been able to remove the data fields, but the OBX still comes out in the message.

      Any help would be greatly appreciated

      Gina

    Viewing 2 reply threads
    • Author
      Replies
      • #70505
        Tom Rioux
        Participant

          I’m assuming that your OBX’s look like this before you copy to the NTE:

          OBX|4|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|1|Escherichia coli||||||F

          OBX|4|L|Moderate

          I’m also assuming your are iterating over you OBX’s.  If that is the case, you should be able to simply perform a PATHCOPY and copy @null to that particular iteration of the OBX after you copy it to the NTE.

          Can you post some of your code so we can see how it is being handled now?

          Hope this helps…

          Tom Rioux

        • #70506
          Gina Borden
          Participant

            I’ve attached a printscreen image of the xlate code:[/img]

            Actually the data looks like this before I copy it to the NTE:

            OBX|4|CE|M3-5688^^^CXDWD^Deep Wound Culture|1|Escherichia coli||||||Z

            OBX|5|TX|ORGCOMM1||Moderate||||||Z

            OBX|6|CE|M3-5688^^^CXDWD^Deep Wound Culture|2|Klebsiella pneumoniae||||||Z

            OBX|7|TX|ORGCOMM2||Moderate||||||Z

            OBX|8|CE|M3-5688^^^CXDWD^Deep Wound Culture|3|Gram Negative Rod||||||Z

            OBX|9|TX|ORGCOMM3||ModerateRKluy. ascorbata||||||Z

            OBX|10|CE|M3-5688^^^CXDWD^Deep Wound Culture|4|Bacteroides caccae||||||Z

            OBX|11|TX|ORGCOMM4||ModerateRBeta-lactamase Positive||||||Z

            OBX|12|CE|M3-5688^^^CXDWD^Deep Wound Culture|5|Peptostreptococcus prevotii||||||Z

            OBX|13|TX|ORGCOMM5||Moderate||||||Z

            Thanks again,

            Gina

          • #70507
            Jim Kosloskey
            Participant

              It appears what you want to do is to changeany OBX with certain condition(s) to an NTE.

              If that is what you want to accomplish, then you will need to use your own managed iteration counters for the outbound OBX and  perhaps NTE (you would continue to use the iteration counters you set up in the ITERATES for the OBR and OBX inbound).

              Are you familiar with how to manage your own iteration counters (ones not sepcified in the ITERATE)?

              Are you familiar with what I described regarding changing an OBX to an NTE?

              If not, email me directly as this is a discussion that is too detailed and specific for here.

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

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