Re: [HAPI-devel] no luck with cast

2013-04-17 Thread hscully
Hi James, Thanks, that’s it! Hugh From: James Agnew Sent: Tuesday, April 16, 2013 2:32 PM To: [email protected] Cc: HAPI Devel List Subject: Re: [HAPI-devel] no luck with cast Hi Hugh, The issue here is the line endings. You have \n instead of \r so it thinks that everything in the me

Re: [HAPI-devel] Weird behavior running a parse on QBP_Q21 HL7v2.4

2013-04-17 Thread James Agnew
Hi Ryan, This is basically a weakness in the HL7 standard rearing its head. The issue here is that QPD-3 is defined only as a "varies" datatype, and the XML ITS is silent on how it should be encoded. Varies are used in OBX segments (OBX-5), but there you have another field (OBX-2) which defines t