web stats
Multiple RXE segments to XML - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-14-2017, 08:08 PM
bluechen bluechen is offline
What's HL7?
Join Date: Aug 2017
Posts: 5
bluechen is on a distinguished road
Default Multiple RXE segments to XML

I am a beginner, have the following question.

I receive a message with multiple RXE segments and need to transfer to whole message to XML string.

MSH|^~\&|HospitalA|CentralPharm|SS|HL7GATE|2017081 1104340|56/865321|RDE^O01|2017081110434068;5061759|P|2.2
PID|||0001195214||Blue Mary||19530410|M
RXE|^^^201708110000^201708112359^4^^^^1600|Y000000 15125|||||^0.2g&P.O|||1|||||||||||||||||||UD
RXE|^^^201708120000^201708122359^4^^^^1200|Y000000 12468|||||^300.0mg&P.O|||3|||||||||||||||||||UD
RXE|^^^201708120000^201708122359^4^^^^0800|Y000000 03227|||||^500.0mg&P.O|||1|||||||||||||||||||UD
RXE|^^^201708120000^201708122359^4^^^^0800|Y000000 01070|||||^5.0mg&P.O|||1|||||||||||||||||||UD

the outbound XML string format should be


Can anybody help me?

Thank you.
Reply With Quote

multiple, 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 03:24 AM.

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