From: Tripp, B. <Bry...@uh...> - 2003-11-05 16:18:06
|
Hi Fr=E9d=E9ric,=20 =20 Yes, as of 0.4, the parsers look up the appropriate message structure = for each event if it is not specified in MSH-9-3. =20 =20 If you are building a SIU_S13 message rather than parsing one, create = an SIU_S12 object, set MSH-9-1 (message type) to SIU, set MSH-9-2 (trigger event) to S13, and set MSH-9-3 (message structure) to SIU_S12. =20 =20 Bryan=20 -----Original Message----- From: Fr=E9d=E9ric Dubru [mailto:Fre...@cl...] Sent: November 5, 2003 8:01 AM To: Tripp, Bryan Cc: hl7...@li... Subject: Re: Missing SIU messages in v231 Hi Bryan, Thank you for your answer. If I understand : - With the release 0.4, other SIU events will be transparently parsed = with the SIU_S12 message structure; - For generating a SIU_S13 for instance, I must use a SIU_S12 message = and set correctly the MSH-9-2 to SIU_S13. But is there a generic method to = know it? Something like this: msgTypeToGenerate =3D "SIU_S13" // Return the structure message to use, here SIU_S12 msgTypeToUse =3D = _parser.findMessageStructure(msgTypeToGenerate); Class msgClass =3D _parser.findMessageClass(msgTypeToUse, = version); Fr=E9d=E9ric Tripp, Bryan a =E9crit : Hi Fr=E9d=E9ric,=20 In 2.3.1 all the SIU events use the SIU_S12 message structure. MSH-9-3 should be valued SIU_S12 for these messages, in which case HAPI should = parse them properly. =20 One of the small changes between HAPI 0.4 beta and 0.4 is that if = MSH-9-3 is missing, HAPI will look up the correct message structure based on the = event. By the way, my apologies for the delay in getting the final 0.4 version = out. The team at UHN has been wrapped up in another project. The good part = of this is that the other project uses HAPI 0.4, and a few bugs have been = found as a result. I'm planning to release 0.4 tomorrow. =20 Bryan=20 =20 -----Original Message----- From: Fr=E9d=E9ric Dubru [ mailto:Fre...@cl... <mailto:Fre...@cl...> ] Sent: November 3, 2003 8:30 AM To: hl7...@li... <mailto:hl7...@li...>=20 Subject: [HAPI-devel] Missing SIU messages in v231 Hi, There are several SIU messages in package v23 (SIU_S12, SIU_S14,=20 SIU_S15, etc.) but only one in package v231 (SIU_S12). I've=20 checked in=20 hapi_0.4beta_source_v231.zip. Is it normal or is it a bug? Can I generate the missing=20 messages easily=20 myself? Thanks, =20 <http://www.saintluc.be>=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. |