From: Tripp, B. <Bry...@uh...> - 2004-10-06 14:16:18
|
Hi H=FCseyin,=20 I think the MsgStructID attribute of HL7v2xStaticDef has to be changed = to "ORU_R01". Could you try that and let me know if there are further probelems? =20 Thanks,=20 Bryan=20 > -----Original Message----- > From: H=FCseyin Kartal [mailto:h.k...@ya...] > Sent: October 6, 2004 8:40 AM > To: hl7...@li... > Subject: [HAPI-devel] Support for ConfGen Parser >=20 >=20 > hello dear hapi team, >=20 > we want to use in our company your hl7api. >=20 > My current system: > Eclipse IDE > Hapi 0.5beta form cvs HEAD Branch > Messaging Workbench 1.6.2 >=20 >=20 > i used the mwb to edit the hl7 conformace and generate hl7 registry > profiles. >=20 > at the moment i only have one hl7 message defined which=20 > registry profile is > in the attachment of this mail. >=20 > i want to use the profile compiler to generate the h7 code=20 > and i followed > the steps described in the tutorial. > http://hl7api.sourceforge.net/conf/compiler_manual/index.htm >=20 > i done the procedure 1 of the tutorial, but i can=B4t solve procedure = 2 >=20 > in the tutorial the start process is decribed like > java -classpath conf.jar ConfGen [flags] {source} {dest} > {package-name} >=20 > i start the project direct form the ide like > ca.uhn.hl7v2.conf.classes.generator.builders.ConfGen -v > "D:\eclipse\workspace\hapi\MEDOS\Medos-ORU_R01_ORD CNTRL.xml" = ./MEDOS/ > ./MEDOS >=20 > The output looks like >=20 > ./MEDOS/ > ConfGen: verbose display enabled > Generating Source... > ConformanceError: > ca.uhn.hl7v2.conf.classes.exceptions.ConformanceError:=20 > Underlying > class/method ca.uhn.hl7v2.model.v23.message.ORU.getMSH() can=20 > not be found. > The complete HAPI API must be installed prior to using this system. >=20 > Done. >=20 > If i start the confgen with test options like > ca.uhn.hl7v2.conf.classes.generator.builders.ConfGen -t >=20 > The output looks like > ./MEDOS/ > ConfGen: system test enabled > Checking for XML Parser: PASS > Checking for Xerces: PASS > Checking for Conformance Classes: PASS > Checking for Apache Ant: PASS >=20 >=20 > I don=B4t know what to do. >=20 > Please help... >=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. |