1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
1.8K views
by brandon-w-8204 (34.1k points)
edited by gary-t-8719
I need to create an XML message from an HL7 source message. How can I do this?

2 Answers

0 votes
 
Best answer

Create a channel that is a source of HL7:

Set the message to a XML message:

Get data from the HL7 and set it in the XML:

by brandon-w-8204 (34.1k points)
0 votes

Here is the custom script that was generated from the standard functions above:

message = qie.createXMLMessage("<root></root>", 'UTF-8');
message.setNode("/root/LastName", source.getNode("PID-5.1"));

by brandon-w-8204 (34.1k points)
edited by gary-t-8719
...