[HAPI-devel] asynchronous messaging

2008-05-09 Thread Erik Gfesser
Recently, I used the SimpleServer class in a client application and registered an implementation of the Application interface with the SimpleServer instance. The abstract processMessage method of Application has a return type of Message. Because of this non-void return type, it appears that synchro

[HAPI-devel] How to add extra component

2008-05-09 Thread KyawHtat
Hi everyone, I am new to HAPI and HL7. The originally comes with two fields/components to specify the a value range to narrow down the query. Example: What I would like to do is to add a third field into it using java (HAPI of course) so it will look like the following.

Re: [HAPI-devel] How to check if a segmen tis present in a message

2008-05-09 Thread VIOT Yves
Hi, One way, but perhaps not the best (???), could be this: String[] segNames = hapiMessage.getNames(); Then jsut browse your string array to find if your seg exists Hope it helps Bye clarksonpj a écrit : Great question, I would also like to know if there is a way of doing this. Right now