Re: [HAPI-devel] Terser problem with subcomponents

2009-08-03 Thread Johnny2R
nksharma0624 wrote: > > How do you mean..I thought your syntax for Terser was correct? > The syntax would have been correct if they really had been subcomponents (and had ~, the tilde, been the subcomponent separator). But I was completely misreading the field, which is really just a repeating

Re: [HAPI-devel] Terser problem with subcomponents

2009-08-03 Thread Sharma, Niranjan K (GE Healthcare)
How do you mean..I thought your syntax for Terser was correct? -Original Message- From: Johnny2R [mailto:gra...@jmsd.co.uk] Sent: Monday, August 03, 2009 12:49 PM To: hl7api-devel@lists.sourceforge.net Subject: Re: [HAPI-devel] Terser problem with subcomponents Sorry, not a terser

Re: [HAPI-devel] Terser problem with subcomponents

2009-08-03 Thread Johnny2R
Sorry, not a terser problem, an idiocy problem on my part. I was mistaking the repetition separator for a subcomponent separator... -- View this message in context: http://www.nabble.com/Terser-problem-with-subcomponents-tp24795762p24796097.html Sent from the hl7api-devel mailing list archive a

[HAPI-devel] Terser problem with subcomponents

2009-08-03 Thread Johnny2R
I'm having problems getting a value I need using a Terser. Here's the PID segment of a test message: PID|1||0123456^^^H^HOSP~4567891252^^^NH^NHS||TEST SYSTEMS^TEST PATIENT^^^||19400101|F|||Hinde House^Bethel Street^Norwich^Great Yarmouth and Gorleston, Norfolk^NR2 1NR||01603 016030|||2|||

Re: [HAPI-devel] terser problem

2007-12-17 Thread epic winter
That explains so much. I just assumed the structure was the same. > Date: Mon, 17 Dec 2007 09:25:10 -0800 > From: [EMAIL PROTECTED] > To: hl7api-devel@lists.sourceforge.net > Subject: Re: [HAPI-devel] terser problem > > > Actually the spec is different, 2.3.1 does not de

Re: [HAPI-devel] terser problem

2007-12-17 Thread Jan Klasser
> Date: Wed, 12 Dec 2007 09:57:07 +0100 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [HAPI-devel] terser problem > > It works for me: > ADT_A01 msg2 = new ADT_A01(); > Terser t2 = new Terser(msg2); > t2.set("/INSUR

Re: [HAPI-devel] terser problem

2007-12-12 Thread epic winter
Work around anyone? Date: Wed, 12 Dec 2007 09:57:07 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [HAPI-devel] terser problem It works for me: ADT_A01 msg2 = new ADT_A01(); Terser t2 = new Terser(msg2); t2.set("/INSURANCE(0)/IN1-1", "

[HAPI-devel] terser problem

2007-12-11 Thread epic winter
I am trying to add the insurance group to my ADT_A01 and I keep getting : Caused by: ca.uhn.hl7v2.HL7Exception: End of message reached while iterating without loop I am only setting the IN1 segmant and I only have problems when adding the second iteration. I address the first one as: "/.INSURA