web stats
Mirth Connect adding "cda:" to XML elements - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-04-2016, 07:30 AM
craig.burdulis craig.burdulis is offline
Mirth Newb
 
Join Date: Jan 2016
Posts: 7
craig.burdulis is on a distinguished road
Default Mirth Connect adding "cda:" to XML elements

I have a channel that removes certain information from segments and replaces it with randomized information. The channel works on CCDA documents from a one organization but with another it will add "cda:" to the XML headers. So while the incoming message might say
Code:
<streetAddressLine>123 Main St</streetAddressLine>
The encoded message has the segment as:
Code:
<cda:streetAddressLine>1400 Johnson St</cda:streetAddressLine>
Does anyone have any idea why this might be happening to some messages and not others? The addr structure is exactly the same between the 2 documents. Here is the code I am using to alter the streetAddressLine segment:

Code:
tmp['recordTarget']['patientRole']['addr'][0]['streetAddressLine'] = "1400 Johnson St";
Reply With Quote
 

Tags
ccda, cda, connect, element, xml

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 05:08 PM.


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