web stats
Converting OBX to NTE using XSLT - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2012, 09:48 PM
satishs satishs is offline
OBX.2 Kenobi
 
Join Date: Jun 2012
Location: Mumbai,India
Posts: 59
satishs is on a distinguished road
Post Converting OBX to NTE using XSLT

Is there a way to convert all OBX segments to NTE segment, Leaving the first OBX segment as it is in the group?

Say for example we have some group of OBR as:

OBR
OBX
OBX
OBX

OBR
OBX
OBX

OBR
OBX


So My Desired output be somethign like this

OBR
OBX
NTE
NTE

OBR
OBX
NTE

OBR
OBX



Anyway of doing it through xslt??
Reply With Quote
  #2  
Old 07-31-2012, 02:56 AM
mpatel71 mpatel71 is offline
Mirth Newb
 
Join Date: Jul 2012
Posts: 12
mpatel71 is on a distinguished road
Default

Similar type of issue required solution (in HL7 message )
I need to create multiple NTE segment out of OBX segment. If OBX – Result contains more than 200 characters then need to create NTE segment in bunch of next 200 characters and keep OBX – Result with first 200 characters.
OBR
OBX
OBR
OBX

OBR
OBX
NTE
….
OBR
OBX
NTE
Reply With Quote
Reply

Tags
hl7, message transformation, obx to nte, xml, xslt

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 02:59 AM.


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