Re: [HAPI-devel] HL7 to XML

2014-11-09 Thread Rajendram Kathees
Hi James Thanks for your quick response and the explanation about HL7 and XML message format. Thanks, Kathees On 4 November 2014 20:43, James Agnew wrote: > Hi Kathees, > > This is actually correct behaviour. It's a somewhat confusing aspect of > HL7 v2 at first, but HL7 reuses some message

Re: [HAPI-devel] HL7 to XML

2014-11-04 Thread James Agnew
Hi Kathees, This is actually correct behaviour. It's a somewhat confusing aspect of HL7 v2 at first, but HL7 reuses some message structures for multiple message trigger events. For example, the ADT^A01 and ADT^A04 messages both need all of the same data fields, so HL7 decided to reuse the ADT^A01

[HAPI-devel] HL7 to XML

2014-11-04 Thread Kathees Rajendram
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||MD

[HAPI-devel] HL7 to XML

2014-11-04 Thread Rajendram Kathees
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||MD