nulling out OBXs

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf nulling out OBXs

  • Creator
    Topic
  • #52678
    Kevin Crist
    Participant

      I am trying to null out OBXs and am doing so with a pathcopy below. I figure that the OBXs would go away completely but they still show in the HL7 message. Is this working as designed or am just doing this a little off. My code and sample message are below. Thanks.

    Viewing 1 reply thread
    • Author
      Replies
      • #75092
        Rehman Masood
        Participant

          If u do a pathcopy, the OBX is going to on the outbound segment, although, it wont any data. How abt u dont copy OBX at all? and only copy it when u need it?

        • #75093
          Jim Kosloskey
          Participant

            Kevin,

            The PATHCOPY you are doing is working correctly.

            I suspect the OBX is indicated as required rather than optional.

            If a segment is defined as required in a variant, then at least the segment ID (and any required fields) will be presentd. The required fields if null will still present field separators.

            Change your outbound variant to make the OBX Optional and that should take care of things nicely.

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

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