Announcement

Collapse
No announcement yet.

Regarding Preprocessor

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

  • Regarding Preprocessor

    Hi, I've been trying to use the preprocessor to filter out a majority of the hl7 message (so as to reduce the need for processing the message) and I was wondering in what order Mirth verifies the version or type of the message. Does it happen before or after the preprocessor (I would assume after)?

    The reason I ask is that I am dealing with prohibitively large ORU^401 messages (on the scale of 2-3MB) that Mirth takes a little while constructing its messageObject for. Thus, I'd like to eliminate the portions of the message I won't use (ie- the non-binary portions) and just send the binary portion to the transformer so I may do whatever else I'd need to with it. Is this possible?

  • #2
    Re: Regarding Preprocessor

    The preprocessor works directly on the raw contents of the message - you can check the type with a regular expression. You can pull out just the binary portion in the preprocessor, however you need to make your channel XML and wrap the binary (or base64) data in XML tags so Mirth can pick it up.

    -Chris
    Chris Lang

    Comment


    • #3
      Re: Regarding Preprocessor

      Hi, can you please show us the script in which you would be filtering out the the large part of a message n building a new one.Thanks in advance
      regards, deepa ganu

      Comment

      Working...
      X