Hi,
We used the Hapi library to convert the hl7 message [1] to XML format [2].
I notice MDM_T02 comes as a root element in the XML. Shouldn't this be
MDM_T10 like in the other cases? Is this a bug? Can someone explain why
this is the case?
[1] ER7 Message
MSH|^~\\&|||||20141104095415.605+0530||MDM^T10^MDM_T02|2101||2.6|
[2] XML Message
<?xml version="1.0"?>
<MDM_T02 xmlns="urn:hl7-org:v2xml">
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>^~\&</MSH.2>
<MSH.7>20141104095415.605+0530</MSH.7>
<MSH.9>
<MSG.1>MDM</MSG.1>
<MSG.2>T10</MSG.2>
<MSG.3>MDM_T02</MSG.3>
</MSH.9>
<MSH.10>2101</MSH.10>
<MSH.12>
<VID.1>2.6</VID.1>
</MSH.12>
</MSH>
</MDM_T02>
Thanks,
Kathees
------------------------------------------------------------------------------
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel