[HAPI-devel] Creating repeating segments (HL7 2.5.1)

2010-10-20 Thread Abhijit Muthiyan
Hi, I am creating a HL7 2.5.1 message. The message must have repeated segements For example the message below, with multiple ORC segments: MSH|^~\&|EHR Application|EHR Facility|PH Application|PH Facility|20100929111444||VXU^V04^VXU_V04|NIST-100929111444875|P|2.5.1 PID|||97833566^^^MPI&2.16.840

Re: [HAPI-devel] Ignore groups and just access segments

2010-10-20 Thread Sharma, Niranjan K (GE Healthcare)
Hi Jonathan, Looks reasonable to me. Please go ahead and draft an example code and push it to HAPI. If you do not have committer access, please send it to my way and I can commit for you. Thanks. Regards -Niranjan. From: Jonathan Bartels [mailto:[email protected]] Sent: Wed

Re: [HAPI-devel] Ignore groups and just access segments

2010-10-20 Thread Jonathan Bartels
I got some help off list and figured this out. Instead of doing “Message myMessage = new GenericParser().parse(myMessageString);” you can do “GenericMessage myMessage = new GenericMessage.UnknownVersion(new DefaultModelClassFactory()); myMessage.parse(myMessageString);” and get generic access to