Announcement

Collapse
No announcement yet.

need to read a file with multiple HL7 messages

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

  • need to read a file with multiple HL7 messages

    I am using mirth 3.0.1.7051. I need to process a file contains multiple HL7 messages which does not have the header and trailer. The file reader is used to read the file. If I use the batch process, do I need the BHS, FHS, FTS and BTS? I want to produce different file for each HL7 message. Do you know what is the easiest way to do it? What type of segment separators do we need in order to process it correctly? Thanks again for your help.

    My input file is as follows:
    0bMSH...
    0d0aPID...
    0d0aPV1
    0d0aFT1
    ...
    ...
    ...
    0d0a1c0d0a0bMSH
    0d0aPID
    0d0aPV1
    ...
    ...
    0d0a1c0d0a0bMSH
    0d0aPID
    0d0aPV1
    ...
    ...
    0d0a1c0d0a (last message)

  • #2
    Yes, if you have Process Batch enabled and your inbound data type is HL7 v2.x, it will be automatically split into discrete messages, whether or not the batch segments exist.
    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
      Do I need to put in any specific encoding type? (I used the default) What are you expecting before and after each segment and the end of the file?

      My input file is

      0bMSH...
      0d0aPID...
      0d0aPV1
      0d0aFT1
      ...
      ...
      ...
      0d0a1c0d0a0bMSH
      0d0aPID
      0d0aPV1
      ...
      ...
      0d0a1c0d0a0bMSH
      0d0aPID
      0d0aPV1
      ...
      ...
      0d0a1c0d0a (last message)

      Thanks

      Comment


      • #4
        batch file processing

        I am using mirth 3.0.1.7051. I am trying to read a file with multiple hl7 messages with no header or trailer. The channel is a simple pass through channel with file read as the source and file write as the destination. However, it did not split up individual file when it is done. Does mirth require specific segment termination in order for it to work? I had turned on the batch option, and it still did not work. Any ideas?

        Thanks for your help
        Attached Files

        Comment


        • #5
          I have to put the file in the folder for it to work. The dashboard's send message will not work.

          Comment

          Working...
          X