Amend HL7 message and retreive in original format

lundi 15 décembre 2014

Hi,



I'm still quite new to HL7 and Mirth so sorry if this is an obvious question. I'm trying to rewrite a segment of a HL7 message and then retreive the resulting message in HL7 format as one big string.



I'm using Mirth Connect 2.1.1 and the HL7 messages are in 2.x format.



I'm amending the message by rewriting the segment i.e.



msg['PV1']['PV1.3']['PV1.3.4'] = "New Value";



the problem is that whichever way I try to retreive the new message I either get the old message in HL7 2.x format (for example, by using messageObject.getRawData()), or I get the new message but in XML format e.g by using getTransformedData.



What I need is the amended message but in HL7 2.x, not XML.



Thanks for any help.



Cheers,



Doug





Amend HL7 message and retreive in original format

0 commentaires:

Enregistrer un commentaire