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
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
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
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|||
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
> 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
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", "
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
8 matches
Mail list logo