web stats
Destination Raw vs Destination encoded - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2016, 06:08 AM
tmcdevitt tmcdevitt is offline
OBX.3 Kenobi
 
Join Date: Oct 2014
Posts: 125
tmcdevitt is on a distinguished road
Smile Destination Raw vs Destination encoded

Hi Support, I am a little mixed with between the Destination Raw vs Destination encoded messages. I was thinking that the Destination raw message was the output from the source Is that correct? Then the Destination encoded would be the output message from the Destination transformer? Can you please explain this for me.
Reply With Quote
  #2  
Old 02-10-2016, 07:51 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,125
narupley is on a distinguished road
Default

Yes, that's exactly right.
__________________
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 02-10-2016, 05:52 PM
tmcdevitt tmcdevitt is offline
OBX.3 Kenobi
 
Join Date: Oct 2014
Posts: 125
tmcdevitt is on a distinguished road
Default

My PID segment is getting removed from the raw to the encoded and when I look at the transformed it is also missing. I have no transformer logic in this channel so I dont understand this?
Reply With Quote
  #4  
Old 02-11-2016, 05:30 AM
jadams4's Avatar
jadams4 jadams4 is offline
OBX.3 Kenobi
 
Join Date: Aug 2015
Posts: 143
jadams4 is on a distinguished road
Default

The destination raw can be different from the source raw, if you have source transformers.

Your pid could be being removed from an outbound msg template? or maybe it has something to do with the message format?

Can you post the example?
Reply With Quote
  #5  
Old 02-11-2016, 06:09 AM
tmcdevitt tmcdevitt is offline
OBX.3 Kenobi
 
Join Date: Oct 2014
Posts: 125
tmcdevitt is on a distinguished road
Default

The file flow is below between the Raw and Transformed the PID is removed

Destination Raw
PID||2007444|20071444||test^test^||04/16/1948|F|||||||||||999999999

Destination Transformed
<PID>
<PID.1/>
<PID.2/>
<PID.3/>
<PID.4/>
<PID.5/>
<PID.6/>
<PID.7/>
<PID.8/>
<PID.9/>
<PID.10/>
<PID.11/>
<PID.12/>
<PID.13/>
<PID.14/>
<PID.15/>
<PID.16/>
<PID.17/>
<PID.18/>
<PID.19/>
</PID>
Encoded
PID|||||||||||||||||||
Reply With Quote
  #6  
Old 02-11-2016, 06:25 AM
jadams4's Avatar
jadams4 jadams4 is offline
OBX.3 Kenobi
 
Join Date: Aug 2015
Posts: 143
jadams4 is on a distinguished road
Default

Do you have an outbound template?
Can you link your channel?
Reply With Quote
  #7  
Old 02-11-2016, 07:15 AM
tmcdevitt tmcdevitt is offline
OBX.3 Kenobi
 
Join Date: Oct 2014
Posts: 125
tmcdevitt is on a distinguished road
Default

I Attach the Channel and don't see any outbound template.
Attached Files
File Type: xml XML to HL7.xml (40.0 KB, 3 views)
Reply With Quote
  #8  
Old 02-11-2016, 06:41 PM
jackwhaines jackwhaines is offline
 
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 250
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines
Default

Quote:
Originally Posted by tmcdevitt View Post
I Attach the Channel and don't see any outbound template.
tmcdevitt,

Even though you have no Destination transformer, you still have a template in your Destination Outbound Message Template. This is replacing the output from the Source Outbound Message Template (and any changes you may have made to tmp)

Remove the Destination Outbound Message Template and you'll be good to go!
__________________

-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
-= jack.haines@HealthcareIntegrations.com
-= Mirth Connect (Advanced)-certified
-= Gold member of HL7.org
-= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines

Last edited by jackwhaines; 02-11-2016 at 07:24 PM. Reason: added sig
Reply With Quote
Reply

Tags
encoded, raw

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 04:22 AM.


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