Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-28 Thread Carlos Oliva
Thank you for your reply. I was looking for something like this. How would you create the oruMsg independently of the HL7 version? Currently I create a message by reading an HL7 file with ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator. Would I need to cast the message to the ORU of the appropr

Re: [HAPI-devel] TestPanel message not getting sent immediately

2012-11-28 Thread christian ohr
Outgoing socket connections in fact don't set TCP_NO_DELAY (only KEEP_ALIVE). In HAPI 2.1 you will be able to use your own SocketFactory, but currently there's no way to influence socket parameters. Feel free to add an issue to http://sourceforge.net/tracker/?group_id=38899. Is there a way to dis

Re: [HAPI-devel] TX fields and spaces

2012-11-28 Thread christian ohr
Correct. Unlike ST and FT where it seems that leading whitspaces are unwanted, TX is defined the other way round. Feel free to add a bug in http://sourceforge.net/tracker/?group_id=38899. As a workaround, you can disable validation or add a corresponding rule for TX to DefaultValidation. cheers

Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-28 Thread christian ohr
The Terser cannot be used to determine the number of repetitions of a message element. According to the spec, ORC and OBR may appear just once in each ORU_R01_ORDER_OBSERVATION group. So I guess you are referring to the number of ORU_R01_ORDER_OBSERVATION groups in the ORU message? Maybe you can