web stats
Looking for an example channel setup for mhtml file to PDF - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2015, 10:38 AM
skibble skibble is offline
What's HL7?
 
Join Date: Nov 2015
Location: Tulsa, OK
Posts: 3
skibble is on a distinguished road
Default Looking for an example channel setup for mhtml file to PDF

I am trying to work with HRA data which can be a an mhtml file, pdf file or pipe delimited text file. I then want to convert it to an rtf document and update a sql table in NextGen. I am new to mirth connect and would appreciate any examples or information on how to do this. thank you
Reply With Quote
  #2  
Old 11-09-2015, 10:43 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

The Document Writer can create RTF or PDF documents for you. All it needs is an HTML template. So if you can convert the proprietary data you're receiving to some HTML, then the Document Writer will handle the rest.
__________________
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.
Reply With Quote
  #3  
Old 11-09-2015, 10:47 AM
skibble skibble is offline
What's HL7?
 
Join Date: Nov 2015
Location: Tulsa, OK
Posts: 3
skibble is on a distinguished road
Default

ok, but when I view the message from the source in the channel the mhtml file is garbage, same with the message for the pdf? I am also working on the pipe delimited message, but I am not sure I have my settings correctly configured. when reading a pdf what type would be configured as? xml? Sorry, I read the manual that comes with it, but there are not crosswalks on what type goes with what file of if there is I missed that page.

Last edited by skibble; 11-09-2015 at 11:44 AM.
Reply With Quote
Reply

Tags
mhtml, nextgen, pdf, rtf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:26 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation