HL7 v2 messages ok in xlate thread but sender removes data

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HL7 v2 messages ok in xlate thread but sender removes data

  • Creator
    Topic
  • #55193
    Ruth Berge
    Participant

    (bearing in mind that i work off and on with CCG).  The goal is simply to send some HL7 v2 messages from one system to another.   I am using Cloverleaf 6.1 but had the same issue with 6.0.  I am using a site that I created in the past and I know it did work at one point-e.g. messages went from one system to another correctly.

    The process is set up to receive message from a File and translate them and send them to another thread.

    When I test the file thread with the xlate i can see the output the way that I want to see it:

    Please Wait ……

    Command Issued: hciroutetest -x ASCII -d -f eof -e hciroutetestshowbydest BulkADTFileIn C:/gehc-it/ccg/quovadx/cis6.1/integrator/hl7bulkloader/ADTTestMessages/A01.txt

    Command output:

    Output going to stdout

    INBOUND TPS PROCS

    PROC=RawHl7Ack ARGS=

    RUNNING INBOUND TPS IN START MODE

    DONE STARTING INBOUND TPS

    [tcl :out :INFO/0:  UNNAMED_TID:09/09/2016 09:50:31] ADT_to_FA MSH|^~&|ADTOUT|PLW||A01-I|201609060902||ADT^A01|PLW21233993777026220|P|2.3.1|||AL|NE

    EVN|A01|201609060902||ADM|U1214^BERGEN^KARIN

    PID|||~01100486^^^CEH^MEDREC||LARA^Audi^^^^^L||19810727|M||||||||||||||||||||||N

    PD1|||CEH

    PV1||A|QA^998^998-99|9|||755000^ATTENDING^RAY^M|||MED||||9|||755000^ATTENDING^RAY^M|||BC||PL|||||||||||||||||CE||2|||201607270945||||||||755000^ATTENDING^RAY^M

    PV2||S

    OBX|1|ST|^^^ABC^Assign Benefits^PLW-HL7|||||||||||20160727

    AL1|1|DA|5500005^^CC-XCN^8921^LATEX^FDB|Se|Rash|20160727

    GT1||9249|LARA^Audi^^^^^L|||||19810727|M||P

    IN1|1|BCWA^BLUE CROSS WA|BLUE CROSS|BLUE CROSS|456 FIRST ST^^SEATTLE^WA^98123^^M|J SMITH|||||||||6

    ZLW|A

    This is what comes OUT of the sender process (note that the editor and different systems involved have reformatted the lines a bit, I’ve tried to fix that

    MSH|^~&|ADTOUT|PLW||A01I|201609060902||ADT^A01|PLW21233993777026220|P|2.3.1|||AL|NE

    EVN|A01

    PID

    PV1

    There is no tcl post or pre-process on any of these threads.

    The outbound- sender thread- has no routes.  It uses mlp_tcp.pdl and is set to outbound only.

    the xlate thread is has a route for ADT_A01.  It uses, as stated above, the file inbound protocol to read from a folder.  As shown above, testing this thread in isolation- either as a route test or an xlate test or an HL7 variant test- it shows the output.  It looks like the sender receives the correct output and then sends out a virtually empty message.  

    I’ve looked through logs and tested, also tested on another CCG with the same set up.  Please advise!

Viewing 0 reply threads
  • Author
    Replies
    • #84526
      Ruth Berge
      Participant

      The problem was simple.  I was using an inbound file for testing.   I had copied the same file to two folders.  This is because the receiving thread consumes the file and destroys it.  I had one copy to keep resubmitting and review.  What I had also done was fix the carriage return/line feed (0d 0a) in the file.  But the file that I was actually using did not have the fixes.  I kept looking at the wrong file to validate that it was fine.  The actual file was sitting in my Notepad editor and instead of copying from the other file, I was saving that file each time.  It wasn’t until I was working with someone else that I happened to review the right file.

      Also Dale Powers (the person who was helping me) suggested that I change the inbound feed from End of File Terminated to New Line terminated.  

      Those were the only two changes.

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10