[HAPI-devel] Generic class for ADT message

2013-06-18 Thread sagarshah1983
What is the generic class that can be used for any kind of ADT message covering all the possible segments? I want to handle A01, A04, A05, A08 and A28 messages for now, but might want to extend the same design for any ADT trigger events. Which class from HAPI library is the best fit for the same?

Re: [HAPI-devel] Generic class for ADT message

2013-06-18 Thread LDH
I am not aware of one in 1.x... I don't know 2.x well enough yet. I am on the road, but I can send out later the type of code I have used to be adt generic. ___ Laurent Hasson (via my BlackBerry) email: l...@360fresh.com cell: 646-283-2186 twitter: @ldhas

Re: [HAPI-devel] Generic class for ADT message

2013-06-18 Thread sagarshah1983
That would be really great for me. Appreciate your reply and time for the same. Regards, Sagar Shah LDH-2 wrote: > > I am not aware of one in 1.x... I don't know 2.x well enough yet. I am on > the road, but I can send out later the type of code I have used to be adt > generic. > > > > __

Re: [HAPI-devel] Generic class for ADT message

2013-06-18 Thread Ian Vowles
I posted this response a couple of weeks back to a similar question about ADT generic. Ian --- I overcame this issue by creating a GENERIC_ADT message using techniques shown on the Hapi site. Our establishment has many Z-segments, so I had to do all those, and group them accordingly. A basic e

Re: [HAPI-devel] Generic class for ADT message

2013-06-18 Thread Christian Ohr
If you are using HAPI 2.1, you should have a look at this: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/ExampleSuperStructures.html . cheers Christian 2013/6/18 sagarshah1983 > > That would be really great for me. > Appreciate your reply and time for the same. > > Regards, > Sagar