From: Matthew F. <mg...@mc...> - 2003-07-31 16:28:00
|
I am just getting started with this, so please excuse the following no doubt na=EFve questions... My first one is, where are the classes? For example, on the project page under Docs | Overview, there is the following example: 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.toHL7TSForm at(System.currentTimeMillis())); //OK But where does the ADT_A01 class come from? It is not listed in the javadoc documentation. My understanding is that there are 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. 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 comparable using HAPI, I'd really appreciate some sample code. Thanks much, -- Matthew Fleming, MD =09 Associate Professor =09 Dept. of Dermatology Medical College of Wisconsin 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 |