Re: [HAPI-devel] HAPI don't read NTE segment from a ORM^O01 message

2012-08-01 Thread Paulo Ferreira
Thanks a lot James, I'll follow your recomendations. Cheers, Paulo. On 1 August 2012 15:08, James Agnew wrote: > Hi Paolo, > > Looks like you've found a bug in HAPI's structures. > > You're right, according to HL7 2.5 the ORDER_DETAIL structure can start > with any one of a number of segments b

Re: [HAPI-devel] HAPI don't read NTE segment from a ORM^O01 message

2012-08-01 Thread James Agnew
Hi Paolo, Looks like you've found a bug in HAPI's structures. You're right, according to HL7 2.5 the ORDER_DETAIL structure can start with any one of a number of segments but should only have one of them. HAPI shows them all as mandatory, which is why your code only works if the first mandatory o