From: Tripp, B. <Bry...@uh...> - 2003-07-31 22:43:55
|
Dr. Fleming,=20 All the message classes are in the HAPI JAR (a separate download from = the core source code). You can also download the source code for these = classes -- they are divided by HL7 version. =20 There is no JavaDoc documentation for the message class library, = because it's huge (thousands of classes). If you want these JavaDocs, the = thing to do is download the source for a particlar HL7 version and run javadoc = on it. I don't think I have any appropriate sample code unfortunately. I = really should make some up for the site. If no one else has gotten back to = you about this, good places to start are the JavaDocs for ca.uhn.hl7v2.app.Application and ca.uhn.hl7v2.app.Initiator. Hope this helps. =20 All the best,=20 Bryan=20 > -----Original Message----- > From: Matthew Fleming [mailto:mg...@mc...] > Sent: July 31, 2003 12:17 PM > To: hl7...@li... > Subject: [HAPI-devel] newbie questions >=20 >=20 > I am just getting started with this, so please excuse the following = no > doubt na=EFve questions... >=20 > My first one is, where are the classes? For example, on the=20 > project page > under Docs | Overview, there is the following example: >=20 > ADT_A01 testMessage =3D new ADT_A01(); > testMessage.getMSH().getDateTimeOfMessage().setValue("foo"); = //throws > exception because "foo" is not a valid date > testMessage.getMSH().getDateTimeOfMessage().setValue(ValidTS.t > oHL7TSForm > at(System.currentTimeMillis())); //OK >=20 > But where does the ADT_A01 class come from? It is not listed in the > javadoc documentation. My understanding is that there are=20 > supposed to be > classes representing all of the message types, but I can't find > documentation for them. Mostly there are just abstract classes and > interfaces. >=20 > I am trying to write an HL7 interface for a pathology lab system. It > just needs to be able to receive lab requests, send lab reports, and > handle acknowledgments. If anyone has done anything remotely=20 > comparable > using HAPI, I'd really appreciate some sample code. >=20 > Thanks much, >=20 > -- > Matthew Fleming, MD =09 > Associate Professor =09 > Dept. of Dermatology > Medical College of Wisconsin >=20 > E-mail: mg...@mc... > S-mail: > Dept. of Dermatology > Medical College of Wisconsin > 8701 Watertown Plank Rd. > Milwaukee, WI 53226 > Phone:414.456.4072=20 > Fax:414.456.6518 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites = including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel >=20 This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact = the sender and delete all copies. Opinions, conclusions or other information contained = in this e-mail may not be that of the organization. |