Batched HL7 messages over tcpip

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Batched HL7 messages over tcpip

  • Creator
    Topic
  • #48359
    David Dillard
    Participant

      Hi,

      One of our clients sending us HL7 order messages ove a tcp/ip VPN connections is sending us messages in the following format:

      Code:

      BHS
        {
       MSH
       PID
       ORC
       OBR
       }
      BTS

      Normally when we are working with tcp connections we just receive the single message — and have only seen the batch segments when working with files.

      What would be the best way to handle this?  

      Is there a special pdl to use for the communciation? we normally use a mlp_tcp.pdl OR would a modification to the inbound tps proc used to send back the ack message be in order here?

      If anyone has experience dealing with this I would love to hear from you.

      Thanks greatly,

    Viewing 2 reply threads
    • Author
      Replies
      • #58410
        Dennis Pfeifer
        Participant

          Haven’t ever faced this .. but ..

          I suggest an inbound TPS, which will then split up the ‘batch’ into multiple messages, and CONTINUE each message.

          You won’t be able to use Cloverleafs parsing…. until you split it into multiple messages.

          (But why would you want to any way!)

          Dennis

        • #58411
          Michael Lacriola
          Participant

            We’ve done that with a Physician interface. You will need to strip off the BHS and BTS segments in an inbound TPs. It will be your choice to then split through each individual message in either the same TPs or create another one and stack it on the inbound TPS proc.

            Not to difficult either way. Good luck to you.

          • #58412
            David Dillard
            Participant

              I just needed look in the right direction.

              Once I took a look at the inbound TPS we currently use to ack the client it all became clear.

              Thanks everyone for the guidance 😀

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