Hi Murali,
That's strange! Which version of the HAPI library are you using? I'm trying
it here, and the following code seems to work for both v2.2 and v2.5
messages:
ADT_A01 adt_a01 = new ADT_A01();
IN1 rep1 = adt_a01.getINSURANCE(0).getIN1();
IN1 rep2 = adt_a01.getINSURANCE(1).getIN1();
Cheers,
James
On Sun, Jun 28, 2009 at 12:36 AM, Murali <[email protected]> wrote:
> Hi,
>
> I have ADT^A01 which has 3 IN1 segments in it.But i am not able to retrieve
> repeated IN1 segments in the message.
>
> Looks like there is no provison in the HL7 2.5 ADT^A01 message,
>
> But with previous version (Ex. HL7 V2.2) , i am able to extract multiple
> IN1 segments from the message,
> Anybody experienced this problem before.
>
> Any fix is available, or is there way to extract multiple IN1s in the V2.5.
>
> Any help is appreciated
>
> Thanks
> Murali
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel