Re: [HAPI-devel] Terser method to get number of reps yet?

2013-06-05 Thread James Agnew
Hi Charles, Unfortunately not, at present there is no good way that I am aware of for getting a number of repetitions using Terser. There was an attempt at one point to create a similar construct to Terser which combined message paths with a sort of "push model" similar to SAX. It was here: http:/

Re: [HAPI-devel] How to properly close a Connection

2013-06-05 Thread David Tombs
Hi Christian, Thank you. Your suggestion worked. I am a little concerned, though, that the ExecutorService seems to be shared among different HapiContexts, so calling hapiContext.getExecutorService().shutdown() could easily affect other contexts which is pretty unintuitive. When I was trying to f

[HAPI-devel] NACK Error message is not valid ?

2013-06-05 Thread vijayaratha vijayasingam
Hi all; I have an issue about the NACK message generated by HAPI, I'm generating the NACK message as follows; * Message msg= hl7Msg.generateACK(HL7Constants.HL7_MSA_ERROR_FIELD_VALUE, * *new HL7Exception(errorMsg));* This returns; following message; MSH|^~\&|20130604165513.576+0100||ACK|