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

2013-06-19 Thread sagarshah1983
> >> >> >> msh.getMsh9_MessageType().getMsg2_TriggerEvent().setValue("A01"); >> >> >> >> >> >> msh.getMsh9_MessageType().getMsg3_MessageStructure().setValue("ADT_A01"); >> >> >> >> &g

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

2013-06-19 Thread James Agnew
2.validation.ValidationException: Message > >> >> (superstructure ADT_AXX) of type ADT_A01 must not have content in MSH > >> >> > >> >> Any advice is appreciated. > >> >> > >> >> Regards, > >> >> Sagar Sha

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

2013-06-19 Thread sagarshah1983
istian Ohr-2 wrote: >> >> > >> >> > 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 >> >> > . >> >&

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

2013-06-19 Thread sagarshah1983
; >> Regards, >> >> Sagar Shah >> >> >> >> >> >> >> >> Christian Ohr-2 wrote: >> >> > >> >> > If you are usi

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

2013-06-19 Thread James Agnew
> > >> > 2013/6/18 sagarshah1983 > >> > > >> >> > >> >> That would be really great for me. > >> >> Appreciate your reply and time for the same. > >> >> > >> >> Regards, > >> >> Sagar

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

2013-06-19 Thread sagarshah1983
e really great for me. >> >> Appreciate your reply and time for the same. >> >> >> >> Regards, >> >> Sagar Shah >> >> >>

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

2013-06-19 Thread Christian Ohr
re 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-19 Thread sagarshah1983
gt; >> > >> > ___ >> > Laurent Hasson (via my BlackBerry) >> > email: [email protected] >> > cell: 646-283-2186 >> > twitter: @ldhasson >> > >> > -Original Message- >> > From: sagar

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

2013-06-18 Thread Christian Ohr
___ > > Laurent Hasson (via my BlackBerry) > > email: [email protected] > > cell: 646-283-2186 > > twitter: @ldhasson > > > > -----Original Message----- > > Fro

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 sagarshah1983
adt > generic. > > > > ___ > Laurent Hasson (via my BlackBerry) > email: [email protected] > cell: 646-283-2186 > twitter: @ldhasson > > -Original Message- > From: sagarshah1983 > Date: Tue, 18 Jun 2013 08:53:15 > To:

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

2013-06-18 Thread LDH
itter: @ldhasson -Original Message- From: sagarshah1983 Date: Tue, 18 Jun 2013 08:53:15 To: Subject: [HAPI-devel] Generic class for ADT message -- This SF.net email is sponsored by Windows: Build for Windows Store.

[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?