web stats
Adding node in Node for PIX - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-30-2019, 05:35 PM
mmonisky mmonisky is offline
OBX.1 Kenobi
Join Date: Aug 2015
Posts: 38
mmonisky is on a distinguished road
Default Adding node in Node for PIX

Need to add an additional Patient ID to a PIX v3 301 message.

Last edited by mmonisky; 10-02-2019 at 08:47 AM.
Reply With Quote
Old 09-30-2019, 09:42 PM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,100
agermano is on a distinguished road

I'm not clear on what you're trying to do, but maybe this is what you want?

var asOtherId2 = '1234'; // no need to assign it an empty xml value first
xmlMessage.*::['Body']['PRPA_IN201302UV02']['controlActProcess']['subject']['registrationEvent']['subject1']['patient']['patientPerson']['asOtherIDs'].appendChild(<id extension={asOtherId2}/>);
Reply With Quote

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:40 AM.

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