web stats
XML to copy TXA-2 into OBX-3 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2019, 06:08 AM
lukebuckley lukebuckley is offline
What's HL7?
 
Join Date: Feb 2019
Posts: 3
lukebuckley is on a distinguished road
Default XML to copy TXA-2 into OBX-3

Hello, Iím hoping someone can help with an issue.

I cannot seem to put the value of TXA23 into OBX-3 but as the TXA is just one field and OBX-3 has multiple fields, Is there a way to break up the TXA-2 and convert it to appear in the OBX-3?

This is what I have a the moment
Code:
msg['OBX']['OBX.3']['OBX.3.1']= ['TXA']['TXA.2'];
which produces this
Code:
TXA||OPDDOC^Memo^G2S|FT|||20190221115252|||HSE118^""|||013dd859-747c-46de-a823-f8b1f1a31cf9^G2S|||||AU|U||||HSE118^""^^^^^^^^^^^^^20190221115320|Main|1
OBX|1|RP|undefined||http://tcuhg2sdbs06.healthirl.net:90/api/v1.0/Documents/1d9604f0-ee31-43ad-ac5e-7899b3fac6b7^^IMAGE&IEXP2|||N|||F
Reply With Quote
Reply

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 10:05 AM.


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