Re: [HAPI-devel] reading HL7 generically

2013-01-10 Thread steven touw
a bit- The short answer I suppose is that > HL7 v2 is an old standard which has evolved lots of quirks and baggage over > the years, and therefore things are sometimes complex in dealing with it. > > Cheers, > James > > > > > On Thu, Jan 10, 2013 at 12:35 PM, steven to

Re: [HAPI-devel] reading HL7 generically

2013-01-10 Thread steven touw
t;> >> ** ** >> >> One problem might be with several instances of the same segment in one >> message. How would you retrieve the fields from all these segments? >> >> ** ** >> >> *From:* steven touw [mailto:[email protected]] >> *Sent:* Thursday, January 10, 201

Re: [HAPI-devel] reading HL7 generically

2013-01-10 Thread steven touw
re prohibited without proper authorization. If you are > not the intended recipient (or have received this e-mail in error) please > notify the sender immediately and destroy this e-mail. Any unauthorized > copying, disclosure or distribution of the material in this e-mail is > strictly forbidden

[HAPI-devel] reading HL7 generically

2013-01-09 Thread steven touw
Hello, I am new to HL7 as well as it's contents. I hope this question isn't too stupid. I'm trying to read from messages generically - is there any way to grab particular segments without having to cast the Message object into ADT_A05 for example? I could have various ADT_* and trying to find the