web stats
msg.appendChild(obx) does not add new setID in OBX - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2018, 07:33 AM
mcampanella@rimirad.com mcampanella@rimirad.com is offline
Mirth Newb
 
Join Date: Apr 2009
Location: RI
Posts: 11
mcampanella@rimirad.com is on a distinguished road
Default msg.appendChild(obx) does not add new setID in OBX

I am trying to use msg.appendChild(obx) to add OBX segments but the new segments all have the same SetId as the last one. OBX|22|



OBX|22|FT|MMCAD&IMP^DIGITAL SCREENING MAMMO
OBX|22|CE|MMCAD&IMP^DIGITAL SCREENING MAMMO
OBX|22|CE|MMCAD&IMP^DIGITAL SCREENING MAMMO
OBX|22|CE|MMCAD&IMP^DIGITAL SCREENING MAMMO|

Am I missing a step? Is that the intended functionality?
Reply With Quote
  #2  
Old 05-11-2018, 07:45 AM
kirbykn2's Avatar
kirbykn2 kirbykn2 is offline
Mirth Guru
 
Join Date: Sep 2014
Location: Michigan
Posts: 533
kirbykn2 is on a distinguished road
Default

You will need to increase the setID for each appended segment.
__________________
Kirby

Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

Appliance Version 3.10.4
Mirth Connect Version 3.5.0.8232
Java Version 1.6.0_45-b06
Java (64 bit) Version 1.6.0_45-b06
Java 7 (64 bit) Version 1.7.0_79-b15
Java 8 (64 bit) Version 1.8.0_121-b13
PostgreSQL Version 9.4.5
Reply With Quote
Reply

Tags
append obx segment

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:27 PM.


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