Announcement

Collapse
No announcement yet.

TCP Listener Missing Final Carriage Return

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TCP Listener Missing Final Carriage Return

    I have a TCP Listener that I am utilizing and we are missing the final carriage return at the end of the message. so my messages all run together on the same line. What are the options for handling this.

    MSH|^~\&|Aprima|PRM|iMedica|PRM|20140116000020||AD T^A31|2218910|P|2.3
    PID||430860|430860|430860|Test^Dummy^M^^|^|1111111 1|M||2131-1|566 Emerson Rd^^Sedalia^KY^42079^||2703822104^^^|8125689080|^E nglish|||430860|401132493||||||||||
    PV1||O|^^^3||||1200^Gupton^Emily^^DO^^^^
    GT1||430860|Alderdice^John^M^^||566 Emerson Rd^^Sedalia^KY^42079^|2703822104|8125689080|197405 03|M||Self|401132493|||||^^^^^|||||||||||||||||||| ||||||||||||||Self^^
    IN1|1|||WellCare|^^^^^||8773899457||||||||WellCare |Alderdice^John^M^^|Self|19740503|566 Emerson Rd^^Sedalia^KY^42079^|||1||||||||||||||14473120||| |||^|M|^^^^^MSH|^~\&|Aprima|PRM|iMedica|PRM|201401 16000046||ADT^A31|2218911|P|2.3
    PID||484768|484768|484768|Ryan^William^D^^|^|20090 709|M||2131-1|111 Rippling Creek^^Murray^KY^42071^||2707536655^^^|2702938058| ^English|||484768|||||||||||
    PV1||O|^^^3||||13^Adams^Thomas M^^MD^^^^
    GT1||23477|Ryan^Amber^P^^||111 Rippling Creek^^Murray^KY^42071^|2707536655|2702938058|1981 0427|F||Child||||||^^^^^|||||||||||||||||||||||||| ||||||||^^
    IN1|1|1017|1017|Anthem Blue Card Po 105187|P O Box 105187^^Atlanta^GA^30348^|||80860|||||||Anthem Blue Card Po 105187|Ryan^Amber^P^^|Child|19810427|111 Rippling Creek^^Murray^KY^42071^|||1||||||||||||||STTS00216 692|25.0000|||||^|F|^^^^^
    Attached Files

  • #2
    You can use one channel to read in the message via TCP, and then manually split the message up in a transformer and route multiple messages to a downstream channel using router.routeMessage().
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment


    • #3
      TCP Listener

      I am very new to Mirth and I am not sure how to use the Transformer and Router.

      Do you have a channel that you can upload so that I can review the setup.

      Comment


      • #4
        Originally posted by reb View Post
        I am very new to Mirth and I am not sure how to use the Transformer and Router.

        Do you have a channel that you can upload so that I can review the setup.
        I don't have such a channel off-hand, but this will likely help: http://www.mirthcorp.com/webinars/mi...ect-screencast
        Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

        Nicholas Rupley
        Work: 949-237-6069
        Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


        - How do I foo?
        - You just bar.

        Comment

        Working...
        X