From: Tripp, B. <Bry...@uh...> - 2004-05-10 23:30:29
|
Hi Gautam (& hapi-devel archive), The messages each have a standard structure, so generally speaking you don't need setters until you get to a Primitive, at which point you can set the value using Primitive.setValue(String). So for example to set MSH-9-2 to "R01" you would use the following code: ORU_R01 message = new ORU_R01(); message.getMSH().getMessageType().getTriggerEvent().setValue("R01"); Bryan -----Original Message----- From: gau...@iw... To: hl7...@li... Sent: 10/05/2004 6:51 PM Subject: [HAPI-devel] HAPI Hi, I am trying to use the HAPI to create to different kinds of messages. But I do not see any setter for the Message classes, ORM, ORU, etc. Could you please help? Thanks, --Gautam _____ <http://www.smileycentral.com/?partner=ZSief010> 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. |