Re: [HAPI-devel] parsing ADT_08 in HL7 V2.5

2010-12-08 Thread Vikram Nayak
nHapi - on sourceforge, google it and you should find it On Dec 8, 2010, at 10:25 AM, Tony Kennedy wrote: > I’d walk through the code with a debugger and see what type is getting > returned from parse(); > > > > Just out of curiosity, where did you get nHapi? Was that an inhouse thing, >

Re: [HAPI-devel] parsing ADT_08 in HL7 V2.5

2010-12-08 Thread Vikram Nayak
This is using nHapi, the .NET port of Hapi. The exception is on the cast. On Dec 8, 2010, at 6:29 AM, Jonathan Bartels wrote: > Does the error occur at the cast or when parsing the message? > > > > This line, “IMessage msg = parser.Parse(hl7Data);”, looks wrong. Skimming > through the java

Re: [HAPI-devel] parsing ADT_08 in HL7 V2.5

2010-12-08 Thread Jonathan Bartels
Does the error occur at the cast or when parsing the message? This line, “IMessage msg = parser.Parse(hl7Data);”, looks wrong. Skimming through the javadoc there is a Message interface but no IMessage interface. *From:* Vikram Nayak [mailto:[email protected]] *Sent:* Tuesday, December 07