<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3467</id>
	<title>Nabble - HAPI</title>
	<updated>2009-12-04T00:59:34Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/HAPI-f3467.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAPI-f3467.html" />
	<subtitle type="html">HAPI (pronounced &amp;quot;happy&amp;quot;) is a Java-based HL7 2.x parser with support for traditional (ER7) and XML encoding.  HL7 (www.hl7.org) is a messaging standard for healthcare information systems.   HAPI home is &lt;a href=&quot;http://sourceforge.net/projects/hl7api/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26640268</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-04T00:59:34Z</published>
	<updated>2009-12-04T00:59:34Z</updated>
	<author>
		<name>Fabio Daprile</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
in HL7 version 2.5 the PID.2 is ST.&lt;br&gt;
In previous versions (2.4, 2.3.2, 2.3) it was NM.&lt;br&gt;
In 2.2, 2.1 it was ST.&lt;br&gt;
&lt;br&gt;
So the check that will be performed depends on which version you
specify when you exchange your messages.&lt;br&gt;
&lt;br&gt;
Greetings,&lt;br&gt;
Fabio&lt;br&gt;
&lt;br&gt;
Janine Graul wrote:
&lt;blockquote cite=&quot;mid:20091204083117.221680@gmx.net&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hello,

thank you very much.
I get the message with 2.1 in MSH! 

Is there an overview from believable source, where I can see these informations? I searched for at hl7.org and hl7.de, but found nothing.

Regards
Janine
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;moz-signature&quot;&gt;-- &lt;br&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;title&gt;&lt;/title&gt;
&lt;br&gt;
&lt;hr color=&quot;#800040&quot; size=&quot;1&quot;&gt;&lt;br&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 12pt; font-weight: bold;&quot;&gt;Fabio
Daprile&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot; title=&quot;&quot; src=&quot;http://old.nabble.com/attachment/26640268/0/Logo_SM_200.jpg&quot; border=&quot;0&quot;&gt;
&lt;pre style=&quot;font-family: Courier New; font-size: 10pt; white-space: pre;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;via Galilei, 2&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;39100 Bolzano (BZ) - Italy&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;Mobile +39 3491204973&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;tel. +39.0471065901&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;fax. +39.0471065919&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;e-mail &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26640268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabio.daprile@...&lt;/a&gt;&lt;/span&gt;


&lt;/p&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26640268&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26640268.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26639239</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-04T00:31:17Z</published>
	<updated>2009-12-04T00:31:17Z</updated>
	<author>
		<name>Janine Graul</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;thank you very much.
&lt;br&gt;I get the message with 2.1 in MSH! 
&lt;br&gt;&lt;br&gt;Is there an overview from believable source, where I can see these informations? I searched for at hl7.org and hl7.de, but found nothing.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Janine
&lt;br&gt;-- 
&lt;br&gt;Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Debütalbum &amp;quot;One Moment in Time&amp;quot;. &lt;a href=&quot;http://portal.gmx.net/de/go/musik&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/musik&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26639239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26639239.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26632438</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-03T12:12:39Z</published>
	<updated>2009-12-03T12:12:39Z</updated>
	<author>
		<name>christian ohr</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;to be more precise, in HL7 versions before 2.3, PID-2 is of composite type CK which has NM primitives in its first components. As of v2.3, PID-2 is CX which has ST primitives. 
&lt;br&gt;Your error message obviously stems from parsing a HL7 v2.1 message and is correct with regard to the v2.1 specification.
&lt;br&gt;If you want to relax validation for NM, please be aware that then all NM fields won't be validated correctly anymore. If you can live that, ok. Another simple (but dirty!) possibility is to replace the '2.1' with '2.3' in the pipe-encoded HL7 message before it gets parsed. 
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Serbulent Unsal-3 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Thursday 03 December 2009 04:15:10 pm Janine Graul wrote:
&lt;br&gt;&amp;gt; Hi Frédéric,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thank you for your quick reply.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I did not wrote my own ValidationContextImpl, but I did something like
&lt;br&gt;&amp;gt; this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ValidationContextImpl context =
&lt;br&gt;&amp;gt; (ValidationContextImpl)pipeParser.getValidationContext(); List&amp;lt;?&amp;gt; list =
&lt;br&gt;&amp;gt; context.getPrimitiveRuleBindings();
&lt;br&gt;&amp;gt; for (Object object : list) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; RuleBinding rb = (RuleBinding) object;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if(rb.getScope().equals(&amp;quot;NM&amp;quot;)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rb.setActive(false);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It worked also, but somebody told me that PID-2 ist not NM type. So I
&lt;br&gt;&amp;gt; searched and found this:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you click an the CX (Datastructure for PID-2) you see that the first
&lt;br&gt;&amp;gt; sequence is defined as ST. Or is this incorrect?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is what I don't understand. I don't like the solution above, because I
&lt;br&gt;&amp;gt; want to validate &amp;quot;real&amp;quot; NM fields the way hapi does.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Janine
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;In IHE profiles datatypes can be different from HL7 specs. For Hapi please look 
&lt;br&gt;at HL7 Official Guides.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Serbulent Unsal | Software Expert 
&lt;br&gt;GSM : +90 555 697 50 46 | Tel : +90.312.478 48 00 
&lt;br&gt;Akgun Softwares &amp; Services Pvt. Ltd. 
&lt;br&gt;Çetin Emeç Bulv. 4. Cad. No:5/3 
&lt;br&gt;06460 A.Öveçler / ANKARA 
&lt;br&gt;&lt;br&gt;This e-mail and its attachments are private and confidential to the exclusive 
&lt;br&gt;use of the individual or entity to whom it is addressed. It may also be 
&lt;br&gt;legally confidential. Any disclosure, distribution or other dissemination of 
&lt;br&gt;this message to any third party is strictly prohibited. If you are not the 
&lt;br&gt;intended recipient, you may not copy, forward, send or use any part of it. If 
&lt;br&gt;you are not the intended recipient or the person who is responsible to 
&lt;br&gt;transmit to the intended recipient, please contact the sender by reply e-mail 
&lt;br&gt;and destroy all copies of the original message and its attachments.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;Hl7api-devel@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26632438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26628562</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-03T07:39:05Z</published>
	<updated>2009-12-03T07:39:05Z</updated>
	<author>
		<name>Serbulent Unsal-3</name>
	</author>
	<content type="html">On Thursday 03 December 2009 04:15:10 pm Janine Graul wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Frédéric,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thank you for your quick reply.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I did not wrote my own ValidationContextImpl, but I did something like
&lt;br&gt;&amp;gt; this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ValidationContextImpl context =
&lt;br&gt;&amp;gt; (ValidationContextImpl)pipeParser.getValidationContext(); List&amp;lt;?&amp;gt; list =
&lt;br&gt;&amp;gt; context.getPrimitiveRuleBindings();
&lt;br&gt;&amp;gt; for (Object object : list) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; RuleBinding rb = (RuleBinding) object;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if(rb.getScope().equals(&amp;quot;NM&amp;quot;)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rb.setActive(false);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It worked also, but somebody told me that PID-2 ist not NM type. So I
&lt;br&gt;&amp;gt; searched and found this:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you click an the CX (Datastructure for PID-2) you see that the first
&lt;br&gt;&amp;gt; sequence is defined as ST. Or is this incorrect?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is what I don't understand. I don't like the solution above, because I
&lt;br&gt;&amp;gt; want to validate &amp;quot;real&amp;quot; NM fields the way hapi does.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Janine
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;In IHE profiles datatypes can be different from HL7 specs. For Hapi please look 
&lt;br&gt;at HL7 Official Guides.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Serbulent Unsal | Software Expert 
&lt;br&gt;GSM : +90 555 697 50 46 | Tel : +90.312.478 48 00 
&lt;br&gt;Akgun Softwares &amp; Services Pvt. Ltd. 
&lt;br&gt;Çetin Emeç Bulv. 4. Cad. No:5/3 
&lt;br&gt;06460 A.Öveçler / ANKARA 
&lt;br&gt;&lt;br&gt;This e-mail and its attachments are private and confidential to the exclusive 
&lt;br&gt;use of the individual or entity to whom it is addressed. It may also be 
&lt;br&gt;legally confidential. Any disclosure, distribution or other dissemination of 
&lt;br&gt;this message to any third party is strictly prohibited. If you are not the 
&lt;br&gt;intended recipient, you may not copy, forward, send or use any part of it. If 
&lt;br&gt;you are not the intended recipient or the person who is responsible to 
&lt;br&gt;transmit to the intended recipient, please contact the sender by reply e-mail 
&lt;br&gt;and destroy all copies of the original message and its attachments.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628562&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26628562.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26626627</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-03T06:15:10Z</published>
	<updated>2009-12-03T06:15:10Z</updated>
	<author>
		<name>Janine Graul</name>
	</author>
	<content type="html">Hi Frédéric,
&lt;br&gt;&lt;br&gt;thank you for your quick reply.
&lt;br&gt;&lt;br&gt;I did not wrote my own ValidationContextImpl, but I did something like this:
&lt;br&gt;&lt;br&gt;ValidationContextImpl context = (ValidationContextImpl)pipeParser.getValidationContext();
&lt;br&gt;List&amp;lt;?&amp;gt; list = context.getPrimitiveRuleBindings();
&lt;br&gt;for (Object object : list) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; RuleBinding rb = (RuleBinding) object;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if(rb.getScope().equals(&amp;quot;NM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rb.setActive(false);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;It worked also, but somebody told me that PID-2 ist not NM type. So I searched and found this:
&lt;br&gt;&lt;a href=&quot;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ihe.univ-rennes1.fr/HL7/segments.php?seg_code=PID&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you click an the CX (Datastructure for PID-2) you see that the first sequence is defined as ST. Or is this incorrect?
&lt;br&gt;&lt;br&gt;That is what I don't understand. I don't like the solution above, because I want to validate &amp;quot;real&amp;quot; NM fields the way hapi does.
&lt;br&gt;&lt;br&gt;Janine
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------- Original-Nachricht --------
&lt;br&gt;&amp;gt; Datum: Thu, 3 Dec 2009 14:36:48 +0100
&lt;br&gt;&amp;gt; Von: &amp;quot;Frédéric JECKER&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;f.jecker@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; An: Janine Graul &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626627&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mailjanine@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626627&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Re: [HAPI-devel] Failed validation rule PID #2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Janine, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The parser uses a default validation context to check the primitives.
&lt;br&gt;&amp;gt; The PID-2 field type is NM, so the parser checks for a number. In your
&lt;br&gt;&amp;gt; case, the PID-2 field contains the 'OK' characters, that's why the validation
&lt;br&gt;&amp;gt; fails.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To get around this problem you must create a ValidationContextImpl
&lt;br&gt;&amp;gt; subclass and set to use it by your parser by calling the
&lt;br&gt;&amp;gt; parser.setValidationContext() method.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Attached to this mail you will find the one I use (which is the original
&lt;br&gt;&amp;gt; one with phone number checking deactivated).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Le 3 déc. 2009 à 14:19, Janine Graul a écrit :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I'm using hapi 0.6. I receive messages from HL7 versions 2.1, 2.3 and
&lt;br&gt;&amp;gt; 2.5.
&lt;br&gt;&amp;gt; &amp;gt; I get a message with a String in PID-Segment Field #2. Like this:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; PID||OK-0000359788|...
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hapi validates this message, sends a nak and doesn't call my
&lt;br&gt;&amp;gt; processMessage(Message in). The Exception which is thrown is:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ca.uhn.hl7v2.model.DataTypeException: Failed validation rule: Matches
&lt;br&gt;&amp;gt; the regular expression (\+|\-)?\d*\.?\d*: Segment: PID (rep 0) Field #2
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Could somebody tell me, why hapi verifies with a regular expression from
&lt;br&gt;&amp;gt; a numeric field? I thought the PID #2-1 is a ST-Field.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Janine
&lt;br&gt;&amp;gt; &amp;gt; -- 
&lt;br&gt;&amp;gt; &amp;gt; Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; Debütalbum &amp;quot;One Moment in Time&amp;quot;. &lt;a href=&quot;http://portal.gmx.net/de/go/musik&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/musik&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;&amp;gt; &amp;gt; a free event focused on virtualization and cloud computing. 
&lt;br&gt;&amp;gt; &amp;gt; Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Hl7api-devel mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626627&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
&lt;br&gt;Jetzt freischalten unter &lt;a href=&quot;http://portal.gmx.net/de/go/maxdome01&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/maxdome01&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626627&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26626627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26626633</id>
	<title>Re: Failed validation rule PID #2</title>
	<published>2009-12-03T05:36:48Z</published>
	<updated>2009-12-03T05:36:48Z</updated>
	<author>
		<name>Frederic JECKER</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;Hi Janine,&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The parser uses a default validation context to check the primitives.&lt;/div&gt;&lt;div&gt;The PID-2 field type is NM, so the parser checks for a number. In your case, the PID-2 field contains the 'OK' characters, that's why the validation fails.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;To get around this problem you must create a ValidationContextImpl subclass and set to use it by your parser by calling the parser.setValidationContext() method.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Attached to this mail you will find the one I use (which is the original one with phone number checking deactivated).&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt; &lt;br /&gt;&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; &quot;&gt;&lt;div&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Le 3 déc. 2009 à 14:19, Janine Graul a écrit :&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Hi,&lt;br&gt;&lt;br&gt;I'm using hapi 0.6. I receive messages from HL7 versions 2.1, 2.3 and 2.5.&lt;br&gt;I get a message with a String in PID-Segment Field #2. Like this:&lt;br&gt;&lt;br&gt;PID||OK-0000359788|...&lt;br&gt;&lt;br&gt;Hapi validates this message, sends a nak and doesn't call my processMessage(Message in). The Exception which is thrown is:&lt;br&gt;&lt;br&gt;ca.uhn.hl7v2.model.DataTypeException: Failed validation rule: Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: PID (rep 0) Field #2&lt;br&gt;&lt;br&gt;Could somebody tell me, why hapi verifies with a regular expression from a numeric field? I thought the PID #2-1 is a ST-Field.&lt;br&gt;&lt;br&gt;Janine&lt;br&gt;-- &lt;br&gt;Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;Debütalbum &quot;One Moment in Time&quot;. &lt;a href=&quot;http://portal.gmx.net/de/go/musik&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/musik&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;a free event focused on virtualization and cloud computing. &lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;Hl7api-devel mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626633&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626633&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;CustomValidation.java&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26626633/0/CustomValidation.java&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26626633.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26625837</id>
	<title>Failed validation rule PID #2</title>
	<published>2009-12-03T05:19:31Z</published>
	<updated>2009-12-03T05:19:31Z</updated>
	<author>
		<name>Janine Graul</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm using hapi 0.6. I receive messages from HL7 versions 2.1, 2.3 and 2.5.
&lt;br&gt;I get a message with a String in PID-Segment Field #2. Like this:
&lt;br&gt;&lt;br&gt;PID||OK-0000359788|...
&lt;br&gt;&lt;br&gt;Hapi validates this message, sends a nak and doesn't call my processMessage(Message in). The Exception which is thrown is:
&lt;br&gt;&lt;br&gt;ca.uhn.hl7v2.model.DataTypeException: Failed validation rule: Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: PID (rep 0) Field #2
&lt;br&gt;&lt;br&gt;Could somebody tell me, why hapi verifies with a regular expression from a numeric field? I thought the PID #2-1 is a ST-Field.
&lt;br&gt;&lt;br&gt;Janine
&lt;br&gt;-- 
&lt;br&gt;Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Debütalbum &amp;quot;One Moment in Time&amp;quot;. &lt;a href=&quot;http://portal.gmx.net/de/go/musik&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/musik&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Failed-validation-rule-PID--2-tp26625837p26625837.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26566459</id>
	<title>Announcement: HAPI New beta available</title>
	<published>2009-11-29T13:37:13Z</published>
	<updated>2009-11-29T13:37:13Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">HI All,&lt;br&gt;&lt;br&gt;First off, sorry to anyone who has emailed me in the last few weeks. I&amp;#39;m involved in writing an RFP right now, and it is soaking up more of my time than I care to think about. Hopefully I&amp;#39;ll be caught up soon..&lt;br&gt;

&lt;br&gt;To let everyone know, a new beta version of the HAPI library has been posted to the website. The new release adds some great new features, some decent speed improvements, and vastly improves handling of unexpected and custom segments in ER7 encoded messages. See the website for more details on all of this.&lt;br&gt;

&lt;br&gt;Also worth noting, a new release of hUnit, the HL7 interface unit testing framework has been released. The new release adds a nice UI, allowing non-coders and coders alike to write tests.&lt;br&gt;&lt;br&gt;James Agnew&lt;br&gt;&lt;br&gt;HAPI: &lt;a href=&quot;http://hl7api.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/&lt;/a&gt;&lt;br&gt;

hUnit: &lt;a href=&quot;http://hl7api.sourceforge.net/hunit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/hunit/&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566459&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Announcement%3A-HAPI-New-beta-available-tp26566459p26566459.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26371374</id>
	<title>Re: Error send message to SimpleServer in Test Panel example</title>
	<published>2009-11-16T03:48:55Z</published>
	<updated>2009-11-16T03:48:55Z</updated>
	<author>
		<name>Martin Fleurke</name>
	</author>
	<content type="html">I believe the messages are in a separate jar. Download the jar-file(s) 
&lt;br&gt;that corresponds to the message version(s) you are using. Add them to 
&lt;br&gt;the classpath.
&lt;br&gt;In your case it is at least the 2.4 messages.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;AnjaliHL7 schreef:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm also new here and I also got the same error while following the steps on
&lt;br&gt;&amp;gt; the Test Panel page 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://hl7api.sourceforge.net/testpanel.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/testpanel.html&lt;/a&gt;). 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I did see the Simple Server got a message SENT from the Test Panel as seen
&lt;br&gt;&amp;gt; in the command prompt window. However, it fails to reply/send back result to
&lt;br&gt;&amp;gt; the Inbound Message Text box of the Test Panel. There are errors shown in
&lt;br&gt;&amp;gt; the Simple Server command prompt: &amp;quot;Critical: Attempting to send error
&lt;br&gt;&amp;gt; message to remote system.
&lt;br&gt;&amp;gt; ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message:
&lt;br&gt;&amp;gt; Can't i
&lt;br&gt;&amp;gt; nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK:
&lt;br&gt;&amp;gt; java.lang.ClassNotFo
&lt;br&gt;&amp;gt; undException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
&lt;br&gt;&amp;gt; .java:77)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Failing to receive response, the Test Panel generate a time out error
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please help us to solve the error.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; fly2moon2 wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm new here and I got error while following the steps on the Test Panel
&lt;br&gt;&amp;gt;&amp;gt; page (&lt;a href=&quot;http://hl7api.sourceforge.net/testpanel.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/testpanel.html&lt;/a&gt;). 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I did see the Simple Server got a message SENT from the Test Panel as seen
&lt;br&gt;&amp;gt;&amp;gt; in the command prompt window. However, it fails to reply/send back result
&lt;br&gt;&amp;gt;&amp;gt; to the Inbound Message Text box of the Test Panel. There are errors shown
&lt;br&gt;&amp;gt;&amp;gt; in the Simple Server command prompt: &amp;quot;Critical: Attempting to send error
&lt;br&gt;&amp;gt;&amp;gt; message to remote system.
&lt;br&gt;&amp;gt;&amp;gt; ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message:
&lt;br&gt;&amp;gt;&amp;gt; Can't i
&lt;br&gt;&amp;gt;&amp;gt; nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK:
&lt;br&gt;&amp;gt;&amp;gt; java.lang.ClassNotFo
&lt;br&gt;&amp;gt;&amp;gt; undException
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt;&amp;gt; ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
&lt;br&gt;&amp;gt;&amp;gt; .java:77)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Failing to receive response, the Test Panel generate a time out error. &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In case it is relevant (for any libraries missing), I paste the command
&lt;br&gt;&amp;gt;&amp;gt; for launcing the Simple Server here:
&lt;br&gt;&amp;gt;&amp;gt; java -classpath hapi-base-0.6.jar;commons-logging-1.0.4.jar
&lt;br&gt;&amp;gt;&amp;gt; ca.uhn.hl7v2.app.SimpleServer 8888
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; your help is much appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; thanks!
&lt;br&gt;&amp;gt;&amp;gt; jack ling
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[martin_fleurke.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:Ir. A.M. Fleurke
&lt;br&gt;n:Fleurke;Martin
&lt;br&gt;org:Portavita BV
&lt;br&gt;adr:[Postbus 1287, 1000 BG Amsterdam];;Oostenburgervoorstraat 106-114;Amsterdam;Noord-Holland;1018MR;Nederland
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371374&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;martin.fleurke@...&lt;/a&gt;
&lt;br&gt;title:Software Engineer
&lt;br&gt;tel;work:+31208200514
&lt;br&gt;tel;fax:+31208200501
&lt;br&gt;url:http://www.portavita.nl
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371374&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-send-message-to-SimpleServer-in-Test-Panel-example-tp25744991p26371374.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26362350</id>
	<title>Connection timeout when trying to receive a RSP_K11 or anyother string other than ACK</title>
	<published>2009-11-15T11:24:38Z</published>
	<updated>2009-11-15T11:24:38Z</updated>
	<author>
		<name>NickyDavid</name>
	</author>
	<content type="html">Hello All,
&lt;br&gt;Please please...somebody help me with this.
&lt;br&gt;I am sending a QBP request to an hl7 server (to Mirth in this instance) and am expecting a RSP_K11 in response through an app that I have build using HAPI API. 
&lt;br&gt;This is the code I am using: 
&lt;br&gt;connection = connectionHub.attach(&amp;quot;192.168.1.67&amp;quot;, 6661, new PipeParser(), MinLowerLayerProtocol.class);
&lt;br&gt;Initiator initiator = connection.getInitiator();
&lt;br&gt;response = initiator.sendAndReceive(msg);
&lt;br&gt;responseString = parser.encode(response);
&lt;br&gt;System.out.println(&amp;quot;Received response:\n&amp;quot; + responseString);	
&lt;br&gt;&lt;br&gt;When the server responds with just an ACK I get the 'responseString' with no issues. But when the server is trying to send the RSP_K11, I get an error &amp;quot;Time out waiting for response. Connection timed out&amp;quot;. (This actually happens for anything other than ACK sent from the Mirth server)
&lt;br&gt;Can anyone please help me sort this out? I will greatly appreciate your input.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Nicky&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connection-timeout-when-trying-to-receive-a-RSP_K11-or-anyother-string-other-than-ACK-tp26362350p26362350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26332681</id>
	<title>Re: Error send message to SimpleServer in Test Panel example</title>
	<published>2009-11-12T23:57:00Z</published>
	<updated>2009-11-12T23:57:00Z</updated>
	<author>
		<name>AnjaliHL7</name>
	</author>
	<content type="html">I'm also new here and I also got the same error while following the steps on the Test Panel page 
&lt;br&gt;&lt;br&gt;(&lt;a href=&quot;http://hl7api.sourceforge.net/testpanel.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/testpanel.html&lt;/a&gt;). 
&lt;br&gt;&lt;br&gt;I did see the Simple Server got a message SENT from the Test Panel as seen in the command prompt window. However, it fails to reply/send back result to the Inbound Message Text box of the Test Panel. There are errors shown in the Simple Server command prompt: &amp;quot;Critical: Attempting to send error message to remote system.
&lt;br&gt;ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message: Can't i
&lt;br&gt;nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK: java.lang.ClassNotFo
&lt;br&gt;undException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
&lt;br&gt;.java:77)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)&amp;quot;
&lt;br&gt;&lt;br&gt;Failing to receive response, the Test Panel generate a time out error
&lt;br&gt;&lt;br&gt;Please help us to solve the error.
&lt;br&gt;&lt;br&gt;thanks.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fly2moon2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi All,
&lt;br&gt;&lt;br&gt;I'm new here and I got error while following the steps on the Test Panel page (&lt;a href=&quot;http://hl7api.sourceforge.net/testpanel.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/testpanel.html&lt;/a&gt;). 
&lt;br&gt;&lt;br&gt;I did see the Simple Server got a message SENT from the Test Panel as seen in the command prompt window. However, it fails to reply/send back result to the Inbound Message Text box of the Test Panel. There are errors shown in the Simple Server command prompt: &amp;quot;Critical: Attempting to send error message to remote system.
&lt;br&gt;ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message: Can't i
&lt;br&gt;nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK: java.lang.ClassNotFo
&lt;br&gt;undException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
&lt;br&gt;.java:77)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)&amp;quot;
&lt;br&gt;&lt;br&gt;Failing to receive response, the Test Panel generate a time out error. &amp;nbsp;
&lt;br&gt;&lt;br&gt;In case it is relevant (for any libraries missing), I paste the command for launcing the Simple Server here:
&lt;br&gt;java -classpath hapi-base-0.6.jar;commons-logging-1.0.4.jar ca.uhn.hl7v2.app.SimpleServer 8888
&lt;br&gt;&lt;br&gt;your help is much appreciated.
&lt;br&gt;&lt;br&gt;thanks!
&lt;br&gt;jack ling
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-send-message-to-SimpleServer-in-Test-Panel-example-tp25744991p26332681.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263507</id>
	<title>Re: How to build the QBP_Q22 demographic fields ?</title>
	<published>2009-11-09T01:41:14Z</published>
	<updated>2009-11-09T01:41:14Z</updated>
	<author>
		<name>christian ohr</name>
	</author>
	<content type="html">Good point. There's a feature request (&lt;a href=&quot;http://sourceforge.net/tracker/?func=detail&amp;aid=2793060&amp;group_id=38899&amp;atid=423838&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=detail&amp;aid=2793060&amp;group_id=38899&amp;atid=423838&lt;/a&gt;) that addresses this problem. 
&lt;br&gt;The Terser currently only supports accessing primitives. I'm not a HAPI committer, but you can use the sourceforge tracker of the HAPI project to file a feature request, of course.
&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Courvoisier, Loic (EXT)&quot;&gt;&lt;br&gt;Hi Christian,
&lt;br&gt;&lt;br&gt;Thanks for your response. I obvioulsly meant QBP^Q22^QBP_Q21, the K21 was a mistake (and I realize there was another in the subject...). And yes, I wish to build an IHE PDQ query.
&lt;br&gt;The idea of defining a custom QBP_Q21 message structure seems good, but it leads to new questions :
&lt;br&gt;The DefaultModelClassFactory's javadoc says that if you create custom classes &amp;nbsp;for messages, segments, etc. their names must correspond exactly to their name in the message text. It also says that there can only be one implementation of a particular message structure. So a new question : what should I do if I need to use my custom structure for the QBP_Q21 message, and the standard one ?
&lt;br&gt;&lt;br&gt;Another question : would you think worth in a future release of HAPI to allow to give the terser a datatype' object, instead of just a String ?
&lt;br&gt;In my example, it would allow to write :
&lt;br&gt;&lt;br&gt;QIP qip1 = new QIP(msg)
&lt;br&gt;// ...
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)&amp;quot;, qip1)
&lt;br&gt;// ...
&lt;br&gt;QIP qip2 = new QIP(msg)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)&amp;quot;, qip2)
&lt;br&gt;&lt;br&gt;To finish, in the 3rd point, you give a piece of code that sets a sigle instance of a &amp;nbsp;QIP object in the QPD-3 segment, but to be clear, there is no way to set multiple values with this syntax ?
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Loïc Courvoisier
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26263507.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263324</id>
	<title>Re: How to build the QBP_Q22 demographic fields ?</title>
	<published>2009-11-09T01:21:44Z</published>
	<updated>2009-11-09T01:21:44Z</updated>
	<author>
		<name>Courvoisier, Loic (EXT)</name>
	</author>
	<content type="html">Hi Christian,
&lt;br&gt;&lt;br&gt;Thanks for your response. I obvioulsly meant QBP^Q22^QBP_Q21, the K21 was a mistake (and I realize there was another in the subject...). And yes, I wish to build an IHE PDQ query.
&lt;br&gt;The idea of defining a custom QBP_Q21 message structure seems good, but it leads to new questions :
&lt;br&gt;The DefaultModelClassFactory's javadoc says that if you create custom classes &amp;nbsp;for messages, segments, etc. their names must correspond exactly to their name in the message text. It also says that there can only be one implementation of a particular message structure. So a new question : what should I do if I need to use my custom structure for the QBP_Q21 message, and the standard one ?
&lt;br&gt;&lt;br&gt;Another question : would you think worth in a future release of HAPI to allow to give the terser a datatype' object, instead of just a String ?
&lt;br&gt;In my example, it would allow to write :
&lt;br&gt;&lt;br&gt;QIP qip1 = new QIP(msg)
&lt;br&gt;// ...
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)&amp;quot;, qip1)
&lt;br&gt;// ...
&lt;br&gt;QIP qip2 = new QIP(msg)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)&amp;quot;, qip2)
&lt;br&gt;&lt;br&gt;To finish, in the 3rd point, you give a piece of code that sets a sigle instance of a &amp;nbsp;QIP object in the QPD-3 segment, but to be clear, there is no way to set multiple values with this syntax ?
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Loïc Courvoisier
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Message d'origine-----
&lt;br&gt;De : christian ohr [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;christian.ohr@...&lt;/a&gt;] 
&lt;br&gt;Envoyé : lundi 9 novembre 2009 09:09
&lt;br&gt;À : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263324&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;
&lt;br&gt;Objet : Re: [HAPI-devel] How to build the QBP_K22 demographic fields ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;seems like you are trying to construct a IHE PDQ Query. There are a some
&lt;br&gt;issues, which are related to the standard definition of QPD-3.
&lt;br&gt;&lt;br&gt;1. There is no QBP^Q22^QBP_K21 message. Did you mean QBP^Q22^QBP_Q21 ?
&lt;br&gt;&lt;br&gt;2. The HL7 v2.5 standard defines QPD-3 as a non-repeatable field of variable
&lt;br&gt;type (HAPI: Varies). HL7 wants you to pass each query parameter in QPD-3,
&lt;br&gt;QPD-4 etc., respectively. PDQ, however, wants all the query parameters in a
&lt;br&gt;repeatable QPD-3 field, which obviously contradicts with the standard. Oh
&lt;br&gt;well.
&lt;br&gt;&lt;br&gt;So, for this purpose you can define a custom QBP_Q21 message structure class
&lt;br&gt;that defines a custom QPD segment having QPD-3 as a repeatable field of type
&lt;br&gt;QIP - see &lt;a href=&quot;http://hl7api.sourceforge.net/base/apidocs/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/base/apidocs/index.html&lt;/a&gt;&amp;nbsp;for some
&lt;br&gt;guidelines.
&lt;br&gt;If you instantiate an instance of your custom QBP_Q21 class, you can use the
&lt;br&gt;Terser and just write
&lt;br&gt;&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)-2&amp;quot;, &amp;quot;SMITH&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)-2&amp;quot;, &amp;quot;JOHN&amp;quot;)
&lt;br&gt;&lt;br&gt;3. Concerning your second question: Even when using the Terser correctly
&lt;br&gt;with VARIES types, this results in creating GenericPrimitives or
&lt;br&gt;GenericComposite objects that don't render very well in XML encoding. Better
&lt;br&gt;create your field first and add it to the segment. You are not required to
&lt;br&gt;use Terser, of course:
&lt;br&gt;&lt;br&gt;QIP qip = new QIP(msg)
&lt;br&gt;msg.getQPD().getUserParametersInsuccessivefields().setData(qip) &amp;nbsp; // not
&lt;br&gt;defined repeatable here! 
&lt;br&gt;qip.getSegmentFieldName().setValue(&amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;qip.getValues().setValue(&amp;quot;SMITH&amp;quot;)
&lt;br&gt;// ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this helps
&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;Christian Ohr
&lt;br&gt;Open eHealth Integration Platform (IPF) 
&lt;br&gt;- &lt;a href=&quot;http://gforge.openehealth.org/gf/project/ipf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gforge.openehealth.org/gf/project/ipf/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Courvoisier, Loic (EXT) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; In a QBP^Q22^QBP_K21 message, I am trying to construct the QPD.3 field,
&lt;br&gt;&amp;gt; DemographicsFields. This field contains as many QIP elements as
&lt;br&gt;&amp;gt; demographics fields.
&lt;br&gt;&amp;gt; I tried to use the terser to set the values :
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; terser.set(&amp;quot;/QPD-3(0)/QIP-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;);
&lt;br&gt;&amp;gt; terser.set(&amp;quot;/QPD-3(0)/QIP-2&amp;quot;, &amp;quot;SMITH&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; terser.set(&amp;quot;/QPD-3(1)/QIP-1&amp;quot;, &amp;quot;@PID.5.2&amp;quot;);
&lt;br&gt;&amp;gt; terser.set(&amp;quot;/QPD-3(1)/QIP-2&amp;quot;, &amp;quot;JOHN&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; This set the values in the correct place, but when I use the
&lt;br&gt;&amp;gt; DefaultXMLParser to encode the message, I have some &amp;quot;UNKNOWN&amp;quot; element
&lt;br&gt;&amp;gt; names instead of QIP.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Furthemore, is there a way not to use the terser to set these values ? E.g
&lt;br&gt;&amp;gt; : qpd.getUserParametersInSuccessivefields().XXXXXXXXXXXXXXXXXX.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Any help welcome !
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Loïc Courvoisier
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt; 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Hl7api-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263324&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26258127.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26258127.html&lt;/a&gt;&lt;br&gt;Sent from the hl7api-devel mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263324&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263324&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26263324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26258127</id>
	<title>Re: How to build the QBP_K22 demographic fields ?</title>
	<published>2009-11-08T13:26:03Z</published>
	<updated>2009-11-08T13:26:03Z</updated>
	<author>
		<name>christian ohr</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;seems like you are trying to construct a IHE PDQ Query. There are a some issues, which are related to the standard definition of QPD-3.
&lt;br&gt;&lt;br&gt;1. There is no QBP^Q22^QBP_K21 message. Did you mean QBP^Q22^QBP_&lt;b&gt;Q&lt;/b&gt;21 ?
&lt;br&gt;&lt;br&gt;2. The HL7 v2.5 standard defines QPD-3 as a non-repeatable field of variable type (HAPI: Varies). HL7 wants you to pass each query parameter in QPD-3, QPD-4 etc., respectively. PDQ, however, wants all the query parameters in a repeatable QPD-3 field, which obviously contradicts with the standard. Oh well.
&lt;br&gt;&lt;br&gt;So, for this purpose you can define a custom QBP_Q21 message structure class that defines a custom QPD segment having QPD-3 as a repeatable field of type QIP - see &lt;a href=&quot;http://hl7api.sourceforge.net/base/apidocs/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hl7api.sourceforge.net/base/apidocs/index.html&lt;/a&gt;&amp;nbsp;for some guidelines.
&lt;br&gt;If you instantiate an instance of your custom QBP_Q21 class, you can use the Terser and just write
&lt;br&gt;&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)-2&amp;quot;, &amp;quot;SMITH&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)-2&amp;quot;, &amp;quot;JOHN&amp;quot;)
&lt;br&gt;&lt;br&gt;3. Concerning your second question: Even when using the Terser correctly with VARIES types, this results in creating GenericPrimitives or GenericComposite objects that don't render very well in XML encoding. Better create your field first and add it to the segment. You are not required to use Terser, of course:
&lt;br&gt;&lt;br&gt;QIP qip = new QIP(msg)
&lt;br&gt;msg.getQPD().getUserParametersInsuccessivefields().setData(qip) &amp;nbsp; // not defined repeatable here! 
&lt;br&gt;qip.getSegmentFieldName().setValue(&amp;quot;@PID.5.1&amp;quot;)
&lt;br&gt;qip.getValues().setValue(&amp;quot;SMITH&amp;quot;)
&lt;br&gt;// ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this helps
&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;Christian Ohr
&lt;br&gt;Open eHealth Integration Platform (IPF) 
&lt;br&gt;- &lt;a href=&quot;http://gforge.openehealth.org/gf/project/ipf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gforge.openehealth.org/gf/project/ipf/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Courvoisier, Loic (EXT) wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;In a QBP^Q22^QBP_K21 message, I am trying to construct the QPD.3 field, DemographicsFields. This field contains as many QIP elements as demographics fields.
&lt;br&gt;I tried to use the terser to set the values :
&lt;br&gt;&amp;nbsp;
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)/QIP-1&amp;quot;, &amp;quot;@PID.5.1&amp;quot;);
&lt;br&gt;terser.set(&amp;quot;/QPD-3(0)/QIP-2&amp;quot;, &amp;quot;SMITH&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)/QIP-1&amp;quot;, &amp;quot;@PID.5.2&amp;quot;);
&lt;br&gt;terser.set(&amp;quot;/QPD-3(1)/QIP-2&amp;quot;, &amp;quot;JOHN&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;This set the values in the correct place, but when I use the DefaultXMLParser to encode the message, I have some &amp;quot;UNKNOWN&amp;quot; element names instead of QIP.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Furthemore, is there a way not to use the terser to set these values ? E.g : qpd.getUserParametersInSuccessivefields().XXXXXXXXXXXXXXXXXX.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Any help welcome !
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Loïc Courvoisier
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;Hl7api-devel@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26258127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26236748</id>
	<title>How to build the QBP_K22 demographic fields ?</title>
	<published>2009-11-06T10:40:26Z</published>
	<updated>2009-11-06T10:40:26Z</updated>
	<author>
		<name>Courvoisier, Loic (EXT)</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.5880&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;Hi,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;In a 
QBP^Q22^QBP_K21 message, I am trying to construct the QPD.3 field, 
DemographicsFields. This field contains as many QIP elements as demographics 
fields.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;I 
tried to use the terser to set the values :&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;terser.set(&quot;/QPD-3(0)/QIP-1&quot;, &quot;@PID.5.1&quot;);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;terser.set(&quot;/QPD-3(0)/QIP-2&quot;, &quot;SMITH&quot;);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;terser.set(&quot;/QPD-3(1)/QIP-1&quot;, &quot;@PID.5.2&quot;);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;terser.set(&quot;/QPD-3(1)/QIP-2&quot;, 
&quot;JOHN&quot;);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;This set the values in the correct place, 
but when I use the DefaultXMLParser to encode the message, I have some &quot;UNKNOWN&quot; 
element names instead of QIP.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;Furthemore, is there a way not to use the 
terser to set these values ? E.g : 
qpd.getUserParametersInSuccessivefields().XXXXXXXXXXXXXXXXXX.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;Any help welcome !&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=514252118-06112009&gt;Loïc 
Courvoisier&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26236748&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-the-QBP_K22-demographic-fields---tp26236748p26236748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26180535</id>
	<title>DefaultXMLParser doesn't handle namespaces</title>
	<published>2009-11-03T06:33:14Z</published>
	<updated>2009-11-03T06:33:14Z</updated>
	<author>
		<name>Courvoisier, Loic (EXT)</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.5880&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;Hi,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;I have some trouble 
to parse some HL7 XML messages which are using a namespace prefix 
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;for every 
HL7 element.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;The XML document I 
receive is valid, but the DefaultXMLParser doesn't handle at all the namespaces, 
and thus doesn't map the HL7 XML elements to the corresponding HAPI 
objects.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;I looked at the 
source code, and saw that DefaultXMLParser uses the getNodeName() method on the 
nodes to find the corresponding class name, while getNodeName() returns the 
fully qualified name of the node (ie including the namespace prefix). The 
getLocalName() method only return the name of the node, not the prefix. Is there 
a reason to use the getNodeName() method instead of getLocalName(), or is this 
just a mistake ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;For the moment I 
remove the namespace prefix of each node before parsing the XML file, but if you 
have a better idea to handle this properly, I would be glad 
!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;Thanks,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=738101114-02112009&gt;Loïc 
Courvoisier&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26180535&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DefaultXMLParser-doesn%27t-handle-namespaces-tp26180535p26180535.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26168361</id>
	<title>Re: Construction of QBP_Q11 &amp; RSP_K11 messages</title>
	<published>2009-11-02T10:11:08Z</published>
	<updated>2009-11-02T10:11:08Z</updated>
	<author>
		<name>Chris Selwyn</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
James,&lt;br&gt;
&lt;br&gt;
Thank-you very much for the prompt response.&lt;br&gt;
&lt;br&gt;
My purpose is currently to build an integration scenario for a
demonstration of performing a HL7 query/response.&lt;br&gt;
I have a decent amount of experience with HL7... just not with
query/response interfaces.&lt;br&gt;
&lt;br&gt;
When I looked in the HL7 2.4 spec, I saw the QBP/RSP message pair as
the current way to do request/response and that the QRY/DSR pair is
described as superseded.&lt;br&gt;
So I started building a scenario based on QBP/RSP and that is when I
ran into the issue of how to build and insert the arbitrary segments
that I asked about in my email.&lt;br&gt;
Unfortunately, as far as I can tell the addNonstandardSegment(String)
method cannot add the segment at the correct point in the message.&lt;br&gt;
&lt;br&gt;
A subsequent conversation with a colleague has revealed that he has
recently been working on an interface using QRY/DSR for another project.&lt;br&gt;
So I think that, just for the current demo, I may well just revert back
to QRY/DSR until I find that I really need to use QBP/RSP for a real
production project.&lt;br&gt;
&lt;br&gt;
I may well come back to you if/when I need to use the newer message
pair.&lt;br&gt;
&lt;br&gt;
Chris Selwyn&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
James Agnew wrote:
&lt;blockquote cite=&quot;mid:118287670911020833s27610dbbv984ea5f47fb1ddba@mail.gmail.com&quot; type=&quot;cite&quot;&gt;Hi Chris,&lt;br&gt;
  &lt;br&gt;
I don't personally have any experience with these two types of
messages, so someone else on the list may have better information than
me. That said...&lt;br&gt;
  &lt;br&gt;
Support for non-standard segments is indeed possible with HAPI, but it
can be slightly challenging with the currently released version of
HAPI. Using the addNonstandardSegment(String) method, you can add any
number of custom segments to a message. The method only adds a single
repetition of a segment, but if you wanted 2 reps you can use the
get(String, int) method to retrieve the second repetition once you have
added the first using the aforementioned method. The big problem is
that these methods place the extra segment at the very end of the
message or group you add them to, which isn't always what you want.&lt;br&gt;
  &lt;br&gt;
If you wanted to go the custom message structure route (probably your
best option with the current version of HAPI), I don't think there are
curently any good examples on the site, but if you downloaded one of
the source jars and copied a few classes into your IDE starting with
the existing QPB_Q11.java it probably wouldn't take to long to get
aquainted with the process.&lt;br&gt;
  &lt;br&gt;
Things get a whole lot easier in the unreleased version of HAPI
currently in CVS. I plan to have a beta out within the next week or
two, but you could download and build from CVS if you were comfortable
with that beforehand. A new method &quot;addNonstandardSegment(String, int)&quot;
is now available which allows you to specify an arbitrary index to add
a nonstandard segment. In addition, there is a maven plugin which
allows you to generate custom message structures using the Message
Workbench tool and then compile these to custom HAPI structure
definitions.&lt;br&gt;
  &lt;br&gt;
If you're comfortable working on the bleeding edge for a bit, I'm happy
to talk you through the process of getting that working. I'd actually
love to collaborate a bit so that I can get some decent documentation
on QPB/RSP messages.&lt;br&gt;
  &lt;br&gt;
James&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 2, 2009 at 9:55 AM, Chris Selwyn
  &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168361&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Dear
all,&lt;br&gt;
    &lt;br&gt;
Is there a recommended way to construct QBP_Q11 &amp;amp; RSP_K11 messages?&lt;br&gt;
    &lt;br&gt;
The message definitions specify that an arbitrary set of segments should&lt;br&gt;
occur at certain points in the messages.&lt;br&gt;
However, I can only see support for a single Zxx segment.&lt;br&gt;
    &lt;br&gt;
Does it involve creating a new customised message structure?&lt;br&gt;
If so, is there a potted example on how to do so?&lt;br&gt;
    &lt;br&gt;
Chris Selwyn&lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and
stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
    &lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168361&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
    &lt;a moz-do-not-send=&quot;true&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
  &lt;/blockquote&gt;
  &lt;/div&gt;
  &lt;br&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26168361&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Construction-of-QBP_Q11---RSP_K11-messages-tp26165419p26168361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26166742</id>
	<title>Re: Construction of QBP_Q11 &amp; RSP_K11 messages</title>
	<published>2009-11-02T08:33:37Z</published>
	<updated>2009-11-02T08:33:37Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">Hi Chris,&lt;br&gt;&lt;br&gt;I don&amp;#39;t personally have any experience with these two types of messages, so someone else on the list may have better information than me. That said...&lt;br&gt;&lt;br&gt;Support for non-standard segments is indeed possible with HAPI, but it can be slightly challenging with the currently released version of HAPI. Using the addNonstandardSegment(String) method, you can add any number of custom segments to a message. The method only adds a single repetition of a segment, but if you wanted 2 reps you can use the get(String, int) method to retrieve the second repetition once you have added the first using the aforementioned method. The big problem is that these methods place the extra segment at the very end of the message or group you add them to, which isn&amp;#39;t always what you want.&lt;br&gt;

&lt;br&gt;If you wanted to go the custom message structure route (probably your best option with the current version of HAPI), I don&amp;#39;t think there are curently any good examples on the site, but if you downloaded one of the source jars and copied a few classes into your IDE starting with the existing QPB_Q11.java it probably wouldn&amp;#39;t take to long to get aquainted with the process.&lt;br&gt;

&lt;br&gt;Things get a whole lot easier in the unreleased version of HAPI currently in CVS. I plan to have a beta out within the next week or two, but you could download and build from CVS if you were comfortable with that beforehand. A new method &amp;quot;addNonstandardSegment(String, int)&amp;quot; is now available which allows you to specify an arbitrary index to add a nonstandard segment. In addition, there is a maven plugin which allows you to generate custom message structures using the Message Workbench tool and then compile these to custom HAPI structure definitions.&lt;br&gt;

&lt;br&gt;If you&amp;#39;re comfortable working on the bleeding edge for a bit, I&amp;#39;m happy to talk you through the process of getting that working. I&amp;#39;d actually love to collaborate a bit so that I can get some decent documentation on QPB/RSP messages.&lt;br&gt;

&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 2, 2009 at 9:55 AM, Chris Selwyn &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Dear all,&lt;br&gt;
&lt;br&gt;
Is there a recommended way to construct QBP_Q11 &amp;amp; RSP_K11 messages?&lt;br&gt;
&lt;br&gt;
The message definitions specify that an arbitrary set of segments should&lt;br&gt;
occur at certain points in the messages.&lt;br&gt;
However, I can only see support for a single Zxx segment.&lt;br&gt;
&lt;br&gt;
Does it involve creating a new customised message structure?&lt;br&gt;
If so, is there a potted example on how to do so?&lt;br&gt;
&lt;br&gt;
Chris Selwyn&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26166742&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Construction-of-QBP_Q11---RSP_K11-messages-tp26165419p26166742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26165419</id>
	<title>Construction of QBP_Q11 &amp; RSP_K11 messages</title>
	<published>2009-11-02T06:55:11Z</published>
	<updated>2009-11-02T06:55:11Z</updated>
	<author>
		<name>Chris Selwyn</name>
	</author>
	<content type="html">Dear all,
&lt;br&gt;&lt;br&gt;Is there a recommended way to construct QBP_Q11 &amp; RSP_K11 messages?
&lt;br&gt;&lt;br&gt;The message definitions specify that an arbitrary set of segments should 
&lt;br&gt;occur at certain points in the messages.
&lt;br&gt;However, I can only see support for a single Zxx segment.
&lt;br&gt;&lt;br&gt;Does it involve creating a new customised message structure?
&lt;br&gt;If so, is there a potted example on how to do so?
&lt;br&gt;&lt;br&gt;Chris Selwyn
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26165419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Construction-of-QBP_Q11---RSP_K11-messages-tp26165419p26165419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26118482</id>
	<title>Re: How generate MessageControl ID MSH-10</title>
	<published>2009-10-29T11:38:21Z</published>
	<updated>2009-10-29T11:38:21Z</updated>
	<author>
		<name>munikuntla</name>
	</author>
	<content type="html">ADT_A01 adt = new ADT_A01();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;// Populate the MSH Segment
&lt;br&gt;MSH mshSegment = adt.getMSH();
&lt;br&gt;//Set unique ID here
&lt;br&gt;mshSegment.getMessageControlID().setValue(MessageIDGenerator.getInstance().getNewID());
&lt;br&gt;mshSegment.getFieldSeparator().setValue(&amp;quot;|&amp;quot;);
&lt;br&gt;mshSegment.getEncodingCharacters().setValue(&amp;quot;^~\\&amp;&amp;quot;);
&lt;br&gt;//Set unique dateTimeOfMessage here
&lt;br&gt;mshSegment.getDateTimeOfMessage().setValue(DateFormat.getDateTimeInstance().format(new Date()));
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sai Kumar Munikuntla.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Frédéric Dubru-3 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Piero a écrit :
&lt;br&gt;&amp;gt; how I'can generate a unique message contro id (MSH-10) for my HL7 messages
&lt;br&gt;&amp;gt; from class Java.
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Piero
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Did you have a look at ca.uhn.hl7v2.util.MessageIDGenerator? It is very 
&lt;br&gt;simple to use:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String id;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = MessageIDGenerator.getInstance().getNewID();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (IOException ex)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new HL7Exception(ex.getMessage(), 
&lt;br&gt;HL7Exception.APPLICATION_INTERNAL_ERROR);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; terser.set(&amp;quot;/MSH-10&amp;quot;, id);
&lt;br&gt;&lt;br&gt;Fred.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by: Splunk Inc.
&lt;br&gt;Still grepping through log files to find problems? &amp;nbsp;Stop.
&lt;br&gt;Now Search log events and configuration files using AJAX and a browser.
&lt;br&gt;Download your FREE copy of Splunk now &amp;gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://get.splunk.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://get.splunk.com/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;Hl7api-devel@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-generate-MessageControl-ID-MSH-10-tp11585682p26118482.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26090375</id>
	<title>Re: It would be nice if XMLParser could translate HL7 escape sequences to correponding XML sequences.</title>
	<published>2009-10-28T00:29:16Z</published>
	<updated>2009-10-28T00:29:16Z</updated>
	<author>
		<name>Yu Gu</name>
	</author>
	<content type="html">Actually,there is &amp;quot; &amp;#xd; &amp;quot; after &amp;quot;901149&amp;quot; in &amp;lt;XCN.1&amp;gt; element, but it can not been manifested on the net. I don not know why. 
&lt;br&gt;&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p26090375/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.jpg&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Yu&lt;div class=&quot;signature&quot;&gt;Just Do It !&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/It-would-be-nice-if-XMLParser-could-translate-HL7-escape-sequences-to-correponding-XML-sequences.-tp26076951p26090375.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26090298</id>
	<title>Re: It would be nice if XMLParser could translate HL7 escape sequences to correponding XML sequences.</title>
	<published>2009-10-28T00:19:05Z</published>
	<updated>2009-10-28T00:19:05Z</updated>
	<author>
		<name>Yu Gu</name>
	</author>
	<content type="html">Hi James,
&lt;br&gt;I copy Fabio's message and use XMLParser to translate it into XML representation . It seems as follows:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;PV1.7&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;XCN.1&amp;gt;901149&amp;#xd;&amp;lt;/XCN.1&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;XCN.2&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;FN.1&amp;gt;XXXX&amp;lt;/FN.1&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/XCN.2&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;XCN.3&amp;gt;YYYYY&amp;lt;/XCN.3&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;XCN.13&amp;gt;11&amp;lt;/XCN.13&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;XCN.14&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;HD.3&amp;gt;L&amp;lt;/HD.3&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/XCN.14&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/PV1.7&amp;gt;
&lt;br&gt;&lt;br&gt;I guess Fabio think that it would be better that HAPI treat &amp;quot;\X000d&amp;quot; as &amp;quot;\r&amp;quot; not &amp;quot;&amp;#xd;&amp;quot;.
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Yu&lt;div class=&quot;signature&quot;&gt;Just Do It !&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/It-would-be-nice-if-XMLParser-could-translate-HL7-escape-sequences-to-correponding-XML-sequences.-tp26076951p26090298.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26079444</id>
	<title>Re: It would be nice if XMLParser could translate HL7 escape sequences to correponding XML sequences.</title>
	<published>2009-10-27T08:07:12Z</published>
	<updated>2009-10-27T08:07:12Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">Hi Fabio,&lt;br&gt;&lt;br&gt;This is interesting, I don&amp;#39;t actually know much about that style of escape sequence in XML encoding (the &lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;&amp;amp;#xD; example you list). How does this work, i.e. where is &amp;quot;xD&amp;quot; drawn from?&lt;br&gt;

&lt;br&gt;James&lt;br&gt;&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 27, 2009 at 7:21 AM, Fabio Daprile &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26079444&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabio.daprile@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;div bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
HL7 defines character sequences to represent ’special’ characters not
otherwise permitted in HL7 messages.
&lt;br&gt;
These sequences begin and end with the message’s Escape character
(usually ‘\’), and contain an identifying character, followed by 0 or
more characters. &lt;br&gt;
The most common use of these escape sequences is to
escape the HL7 defined delimiter characters. &lt;br&gt;
These delimiter or
separator characters are defined in MSH-1 and MSH-2 of the HL7 message.&lt;br&gt;
&lt;br&gt;
&lt;p align=&quot;left&quot;&gt;The table below shows the HL7 Escape sequences, and how
they are converted:&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;
&lt;/p&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Character&lt;/td&gt;
      &lt;td&gt;Description Conversion&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Cxxyy\&lt;/td&gt;
      &lt;td&gt;Single-byte character set escape sequence with two
hexadecimal values not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\E\&lt;/td&gt;
      &lt;td&gt;Escape character converted to escape character (e.g., ‘\’)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\F\&lt;/td&gt;
      &lt;td&gt;Field separator converted to field separator character (e.g.,
‘|’)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\H\&lt;/td&gt;
      &lt;td&gt;Start highlighting not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Mxxyyzz\&lt;/td&gt;
      &lt;td&gt;Multi-byte character set escape sequence with two or three
hexadecimal values (zz is optional) not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\N\&lt;/td&gt;
      &lt;td&gt;Normal text (end highlighting) not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\R\&lt;/td&gt;
      &lt;td&gt;Repetition separator converted to repetition separator
character (e.g., ‘~’)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\S\&lt;/td&gt;
      &lt;td&gt;Component separator converted to component separator
character (e.g., ‘^’)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\T\&lt;/td&gt;
      &lt;td&gt;Subcomponent separator converted to subcomponent separator
character (e.g., ‘&amp;amp;’)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Xdd…\&lt;/td&gt;
      &lt;td&gt;Hexadecimal data (dd must be hexadecimal characters)
converted to the characters identified by each pair of digits&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Zdd…\&lt;/td&gt;
      &lt;td&gt;Locally defined escape sequence not converted&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
For example i have this message:&lt;br&gt;
&lt;br&gt;
&lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;MSH|^~\&amp;amp;|G2|Insiel|RIS|Syncromed|200910211144||ORM^O01|G2090000008570747600|P|2.3.1&lt;br&gt;
PID|||0000001||XXXXXXX^YYYYYYYY^^^^^L||194312300000|M|||VIA PROVA
12^PROVA^036015^^41043^^L^41043~VIA PROVA
12^PROVA^036015^^41043^^M^41043|||||||CF|44740355||||000216|||100&lt;br&gt;
PV1||I|||||&lt;font color=&quot;#ff0000&quot;&gt;901149&lt;/font&gt;\X000d\^XXXX^YYYYY^^^^^^^^^^11^&amp;amp;&amp;amp;L|^^^^^^^^^^^^^&amp;amp;&amp;amp;L||SPL01S01||||01|||||8406681|10||||15||||||||||||||||||SBA82|SBA82E01|200910191632|||||0||V|SPL01&lt;br&gt;
ORC|NW|00000001||00000001|||^^20^200910211148||200910211144|^XXXXX|||||||SPL01|BGD11|||SPL01&lt;br&gt;
OBR|1|80000001||RX00840^^^0673.000|01||||||||DSA ev PTA
periferica||||||||||||||^^10^200910211148|||CART|DSA ev PTA periferica&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;&lt;br&gt;
&lt;br&gt;
In the PV1 segment i have the escape sequence &lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;\X000d\, which represents the
carriage return.&lt;br&gt;
&lt;br&gt;
I parse this message with the pipeparser and then parse it into xml
with XMLParser.&lt;br&gt;
I would expect that the HL7 escape sequence would have been translated
to the XML representation of carriage return which is &amp;quot;&amp;amp;#xD;&amp;quot;&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;&lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;, but in fact the parser just
copies the HL7 sequence in the node text. This automatic translation of
escape sequences would be a nice feature to have.&lt;br&gt;
&lt;br&gt;
Greetings,&lt;br&gt;
Fabio&lt;br&gt;
&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;
&lt;div&gt;-- &lt;br&gt;


&lt;br&gt;
&lt;hr color=&quot;#800040&quot; size=&quot;1&quot;&gt;&lt;br&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 12pt; font-weight: bold;&quot;&gt;Fabio
Daprile&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot; title=&quot;&quot; src=&quot;http://old.nabble.com/attachment/26079444/0/Logo_SM_200.jpg&quot; border=&quot;0&quot;&gt;
&lt;pre style=&quot;font-family: Courier New; font-size: 10pt; white-space: pre;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;via Galilei, 2&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;39100 Bolzano (BZ) - Italy&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;Mobile +39 3491204973&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;tel. +39.0471065901&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;fax. +39.0471065919&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;e-mail &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26079444&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabio.daprile@...&lt;/a&gt;&lt;/span&gt;


&lt;/p&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26079444&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26079444&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/It-would-be-nice-if-XMLParser-could-translate-HL7-escape-sequences-to-correponding-XML-sequences.-tp26076951p26079444.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26076951</id>
	<title>It would be nice if XMLParser could translate HL7 escape sequences to correponding XML sequences.</title>
	<published>2009-10-27T04:21:24Z</published>
	<updated>2009-10-27T04:21:24Z</updated>
	<author>
		<name>Fabio Daprile</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
HL7 defines character sequences to represent &amp;#8217;special&amp;#8217; characters not
otherwise permitted in HL7 messages.
&lt;br&gt;
These sequences begin and end with the message&amp;#8217;s Escape character
(usually &amp;#8216;\&amp;#8217;), and contain an identifying character, followed by 0 or
more characters. &lt;br&gt;
The most common use of these escape sequences is to
escape the HL7 defined delimiter characters. &lt;br&gt;
These delimiter or
separator characters are defined in MSH-1 and MSH-2 of the HL7 message.&lt;br&gt;
&lt;br&gt;
&lt;p align=&quot;left&quot;&gt;The table below shows the HL7 Escape sequences, and how
they are converted:&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;
&lt;/p&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Character&lt;/td&gt;
      &lt;td&gt;Description Conversion&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Cxxyy\&lt;/td&gt;
      &lt;td&gt;Single-byte character set escape sequence with two
hexadecimal values not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\E\&lt;/td&gt;
      &lt;td&gt;Escape character converted to escape character (e.g., &amp;#8216;\&amp;#8217;)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\F\&lt;/td&gt;
      &lt;td&gt;Field separator converted to field separator character (e.g.,
&amp;#8216;|&amp;#8217;)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\H\&lt;/td&gt;
      &lt;td&gt;Start highlighting not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Mxxyyzz\&lt;/td&gt;
      &lt;td&gt;Multi-byte character set escape sequence with two or three
hexadecimal values (zz is optional) not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\N\&lt;/td&gt;
      &lt;td&gt;Normal text (end highlighting) not converted&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\R\&lt;/td&gt;
      &lt;td&gt;Repetition separator converted to repetition separator
character (e.g., &amp;#8216;~&amp;#8217;)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\S\&lt;/td&gt;
      &lt;td&gt;Component separator converted to component separator
character (e.g., &amp;#8216;^&amp;#8217;)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\T\&lt;/td&gt;
      &lt;td&gt;Subcomponent separator converted to subcomponent separator
character (e.g., &amp;#8216;&amp;amp;&amp;#8217;)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Xdd&amp;#8230;\&lt;/td&gt;
      &lt;td&gt;Hexadecimal data (dd must be hexadecimal characters)
converted to the characters identified by each pair of digits&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;\Zdd&amp;#8230;\&lt;/td&gt;
      &lt;td&gt;Locally defined escape sequence not converted&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
For example i have this message:&lt;br&gt;
&lt;br&gt;
&lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;MSH|^~\&amp;amp;|G2|Insiel|RIS|Syncromed|200910211144||ORM^O01|G2090000008570747600|P|2.3.1&lt;br&gt;
PID|||0000001||XXXXXXX^YYYYYYYY^^^^^L||194312300000|M|||VIA PROVA
12^PROVA^036015^^41043^^L^41043~VIA PROVA
12^PROVA^036015^^41043^^M^41043|||||||CF|44740355||||000216|||100&lt;br&gt;
PV1||I|||||&lt;font color=&quot;#ff0000&quot;&gt;901149&lt;/font&gt;\X000d\^XXXX^YYYYY^^^^^^^^^^11^&amp;amp;&amp;amp;L|^^^^^^^^^^^^^&amp;amp;&amp;amp;L||SPL01S01||||01|||||8406681|10||||15||||||||||||||||||SBA82|SBA82E01|200910191632|||||0||V|SPL01&lt;br&gt;
ORC|NW|00000001||00000001|||^^20^200910211148||200910211144|^XXXXX|||||||SPL01|BGD11|||SPL01&lt;br&gt;
OBR|1|80000001||RX00840^^^0673.000|01||||||||DSA ev PTA
periferica||||||||||||||^^10^200910211148|||CART|DSA ev PTA periferica&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;&lt;br&gt;
&lt;br&gt;
In the PV1 segment i have the escape sequence &lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;\X000d\, which represents the
carriage return.&lt;br&gt;
&lt;br&gt;
I parse this message with the pipeparser and then parse it into xml
with XMLParser.&lt;br&gt;
I would expect that the HL7 escape sequence would have been translated
to the XML representation of carriage return which is &quot;&amp;amp;#xD;&quot;&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;&lt;big&gt;&lt;big&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;small&gt;&lt;small&gt;&lt;font face=&quot;Courier New, Courier, monospace&quot;&gt;, but in fact the parser just
copies the HL7 sequence in the node text. This automatic translation of
escape sequences would be a nice feature to have.&lt;br&gt;
&lt;br&gt;
Greetings,&lt;br&gt;
Fabio&lt;br&gt;
&lt;/font&gt;&lt;/small&gt;&lt;/small&gt;&lt;/font&gt;&lt;/big&gt;&lt;/big&gt;
&lt;div class=&quot;moz-signature&quot;&gt;-- &lt;br&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;title&gt;&lt;/title&gt;
&lt;br&gt;
&lt;hr color=&quot;#800040&quot; size=&quot;1&quot;&gt;&lt;br&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 12pt; font-weight: bold;&quot;&gt;Fabio
Daprile&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot; title=&quot;&quot; src=&quot;http://old.nabble.com/attachment/26076951/0/Logo_SM_200.jpg&quot; border=&quot;0&quot;&gt;
&lt;pre style=&quot;font-family: Courier New; font-size: 10pt; white-space: pre;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;via Galilei, 2&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;39100 Bolzano (BZ) - Italy&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;Mobile +39 3491204973&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;tel. +39.0471065901&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;fax. +39.0471065919&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New; font-size: 11pt; white-space: pre;&quot;&gt;e-mail &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26076951&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabio.daprile@...&lt;/a&gt;&lt;/span&gt;


&lt;/p&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26076951&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/It-would-be-nice-if-XMLParser-could-translate-HL7-escape-sequences-to-correponding-XML-sequences.-tp26076951p26076951.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26061321</id>
	<title>Re: custom segments</title>
	<published>2009-10-26T07:54:53Z</published>
	<updated>2009-10-26T07:54:53Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">Hi Tony,&lt;br&gt;&lt;br&gt;Ah ok, I see what you mean. HAPI&amp;#39;s PipeParser will happily parse messages with unexpected or custom segments and you will end up with a fully populated message, including the unexpected segments.&lt;br&gt;&lt;br&gt;

The major caveat is that the bahaviour can be a bit unexpected in that case. When PipeParser encounters a segment that isn&amp;#39;t &amp;quot;supposed&amp;quot; to be there, it will recurse as deep as it can into the next segment group it encounters, and then start placing the segments there. I have found that depending on the structure of the message you are trying to parse and the location of the unexpected segment within the message, sometimes every segment after the unexpected one ends up attached to the wrong structure in the message. Oddly enough, this is behaviour that is fixed in the CVS version of PipeParser, and will be released with the next version.&lt;br&gt;

&lt;br&gt;If the custom segments you want to parse are at or near the end of the message, you shouldn&amp;#39;t have any trouble. If they are closer to the front (and you don&amp;#39;t want to upgrade) it&amp;#39;s going to be possible, but a bit more work to find the data you are looking for.&lt;br&gt;

&lt;br&gt;Cheers,&lt;br&gt;James&lt;br&gt;&lt;br&gt;On Wed, Oct 21, 2009 at 4:02 PM, Tony Kennedy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;











&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;James,&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;&lt;br&gt;
I started to take a look at this and I think I wasn’t clear.  I need to parse
messages with the non-standard segments, not create them.  Can I just use the
Terser() functions to grab data?  Will those non-standard segments be parsed? 
Or will I need to add some parsing code somewhere?&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Thanks again for the help,&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Tony&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;James
Agnew&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 9:29 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Hi Tony,&lt;br&gt;
&lt;br&gt;
You can actually add a custom segment to messages at runtime fairly easily,
there is a method called &amp;quot;addCustomSegment(String name)&amp;quot; on the Group
class, which is the superclass of Message. Using that, you could add a custom
segment fairly easily, and I&amp;#39;m fairly sure (though not positive) that this
method existed in the 0.4 release.&lt;br&gt;
&lt;br&gt;
The one caviat is that this method adds the segment to the end of the group or
message, so you don&amp;#39;t have much control over where the segment ends up. The
upcoming 1.0 release actually improves this functionality quite a bit, allowing
you to choose where in the message a custom segment added at runtime ends up.
In addition, very shortly it will be possible to generate custom message
structures or segments using the Message Workbench Tool and have HAPI generate
custom message classes (this is in CVS already, but documentation isn&amp;#39;t yet
written. If anyone wants to know more, I&amp;#39;m happy to explain further).&lt;br&gt;
&lt;br&gt;
If I may ask, why is upgrading the library a lot of coding? Definitely one of
our design goals is that new versions should be backwards compatible, so I&amp;#39;m
wondering if there&amp;#39;s something that needs fixing. The one thing that I can
think of that broks backwards compatibiity between 0.4 and 0.5 was that 0.4 had
incorrect segment group names for HL7 2.4 and 2.5 message types. Is that the
source of your issue? I&amp;#39;m thinking it might be possible to produce structures jars
for the newest version of HAPI that used the old structures names if that was
it..&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
James&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On Tue, Oct 20, 2009 at 5:01 PM, Tony Kennedy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;I’d prefer not to have to modify any source. 
I’d like to be able to add a custom segment just like you can add a custom
message package.  But, I’m not quite sure how to go about that.  Any
examples?  I’m using the 0.42 build (no, I don’t want to update, it’s a
LOT of re-coding.)  If I need to modify source, I can, but as a last
resort.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Thanks,&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Tony&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;
Charles D. Fisher [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cdf02@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 4:30 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p style=&quot;margin-bottom: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;When you modify
source, you don&amp;#39;t necessarily have to recompile the whole thing. You just have
to recompile the ones you changed, and then contrive to have them in the
classpath ahead of the standard jar files, so your modified ones get picked up
first. This works for us.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;img src=&quot;http://old.nabble.com/attachment/26061321/1/image001.gif&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot; border=&quot;0&quot; height=&quot;16&quot; width=&quot;16&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;



&lt;table style=&quot;width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td style=&quot;padding: 0in; width: 40%;&quot; valign=&quot;top&quot; width=&quot;40%&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 2in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;quot;Tony Kennedy&amp;quot;
  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
  &lt;p style=&quot;margin-left: 2in;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;2009_10_20 01:55
  PM&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;padding: 0in; width: 60%;&quot; valign=&quot;top&quot; width=&quot;60%&quot;&gt;
  &lt;table style=&quot;width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/0/image002.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;To&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/2/image003.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;br&gt;
    &lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/0/image002.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;cc&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/2/image003.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/0/image002.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Subject&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/2/image003.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;br&gt;
    &lt;span style=&quot;font-size: 10pt;&quot;&gt;[HAPI-devel] custom segments&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;
  &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 43.5pt;&quot; valign=&quot;top&quot; width=&quot;58&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/2/image003.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 3.5in;&quot; valign=&quot;top&quot; width=&quot;336&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/26061321/2/image003.png&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Hi all,&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Is there a way to add custom segment parsing
without having to add code to HAPI and recompile the whole thing?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Thanks&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Tony&lt;/span&gt;&lt;tt&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/tt&gt;&lt;span style=&quot;font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;br&gt;


&lt;tt&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;is the only developer event you need to attend this year. Jumpstart your&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;_______________________________________________&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Hl7api-devel mailing list&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or
sensitive information which is, or may be, legally privileged or otherwise
protected by law from further disclosure. It is intended only for the
addressee. If you received this in error or from someone who was not authorized
to send it to you, please do not distribute, copy or use it or any attachments.
Please notify the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. &lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26061321&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p26061321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25999290</id>
	<title>Re: custom segments</title>
	<published>2009-10-21T13:02:14Z</published>
	<updated>2009-10-21T13:02:14Z</updated>
	<author>
		<name>Tony Kennedy-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;James,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;br&gt;
I started to take a look at this and I think I wasn&amp;#8217;t clear.&amp;nbsp; I need to parse
messages with the non-standard segments, not create them.&amp;nbsp; Can I just use the
Terser() functions to grab data?&amp;nbsp; Will those non-standard segments be parsed?&amp;nbsp;
Or will I need to add some parsing code somewhere?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Thanks again for the help,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Tony&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;James
Agnew&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 9:29 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;Hi Tony,&lt;br&gt;
&lt;br&gt;
You can actually add a custom segment to messages at runtime fairly easily,
there is a method called &amp;quot;addCustomSegment(String name)&amp;quot; on the Group
class, which is the superclass of Message. Using that, you could add a custom
segment fairly easily, and I'm fairly sure (though not positive) that this
method existed in the 0.4 release.&lt;br&gt;
&lt;br&gt;
The one caviat is that this method adds the segment to the end of the group or
message, so you don't have much control over where the segment ends up. The
upcoming 1.0 release actually improves this functionality quite a bit, allowing
you to choose where in the message a custom segment added at runtime ends up.
In addition, very shortly it will be possible to generate custom message
structures or segments using the Message Workbench Tool and have HAPI generate
custom message classes (this is in CVS already, but documentation isn't yet
written. If anyone wants to know more, I'm happy to explain further).&lt;br&gt;
&lt;br&gt;
If I may ask, why is upgrading the library a lot of coding? Definitely one of
our design goals is that new versions should be backwards compatible, so I'm
wondering if there's something that needs fixing. The one thing that I can
think of that broks backwards compatibiity between 0.4 and 0.5 was that 0.4 had
incorrect segment group names for HL7 2.4 and 2.5 message types. Is that the
source of your issue? I'm thinking it might be possible to produce structures jars
for the newest version of HAPI that used the old structures names if that was
it..&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
James&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Tue, Oct 20, 2009 at 5:01 PM, Tony Kennedy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt; wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;I&amp;#8217;d prefer not to have to modify any source.&amp;nbsp;
I&amp;#8217;d like to be able to add a custom segment just like you can add a custom
message package.&amp;nbsp; But, I&amp;#8217;m not quite sure how to go about that.&amp;nbsp; Any
examples?&amp;nbsp; I&amp;#8217;m using the 0.42 build (no, I don&amp;#8217;t want to update, it&amp;#8217;s a
LOT of re-coding.)&amp;nbsp; If I need to modify source, I can, but as a last
resort.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Thanks,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Tony&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt;
Charles D. Fisher [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cdf02@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 4:30 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p style='margin-bottom:12.0pt'&gt;&lt;span style='font-size:10.0pt'&gt;When you modify
source, you don't necessarily have to recompile the whole thing. You just have
to recompile the ones you changed, and then contrive to have them in the
classpath ahead of the standard jar files, so your modified ones get picked up
first. This works for us.&lt;/span&gt;&lt;br&gt;
&lt;span style='font-size:10.0pt'&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;img border=0 width=16 height=16 id=&quot;_x0000_i1025&quot; src=&quot;http://old.nabble.com/attachment/25999290/0/image001.gif&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot;&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%'&gt;
 &lt;tr&gt;
  &lt;td width=&quot;40%&quot; valign=top style='width:40.0%;padding:0in 0in 0in 0in'&gt;
  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  margin-left:2.0in'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony Kennedy&amp;quot;
  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p style='margin-left:2.0in'&gt;&lt;span style='font-size:10.0pt'&gt;2009_10_20 01:55
  PM&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td width=&quot;60%&quot; valign=top style='width:60.0%;padding:0in 0in 0in 0in'&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%'&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1026&quot; src=&quot;http://old.nabble.com/attachment/25999290/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;To&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1027&quot; src=&quot;http://old.nabble.com/attachment/25999290/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1028&quot; src=&quot;http://old.nabble.com/attachment/25999290/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;cc&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1029&quot; src=&quot;http://old.nabble.com/attachment/25999290/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1030&quot; src=&quot;http://old.nabble.com/attachment/25999290/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;Subject&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1031&quot; src=&quot;http://old.nabble.com/attachment/25999290/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;[HAPI-devel] custom segments&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0&gt;
   &lt;tr&gt;
    &lt;td width=58 valign=top style='width:43.5pt;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1032&quot; src=&quot;http://old.nabble.com/attachment/25999290/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=336 valign=top style='width:3.5in;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1033&quot; src=&quot;http://old.nabble.com/attachment/25999290/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Hi all,&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Is there a way to add custom segment parsing
without having to add code to HAPI and recompile the whole thing?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Thanks&lt;/span&gt;&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Tony&lt;/span&gt;&lt;tt&gt;&lt;span style='font-size:10.0pt'&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/tt&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt;&lt;br&gt;
&lt;tt&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;is the only developer event you need to attend this year. Jumpstart your&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;_______________________________________________&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Hl7api-devel mailing list&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or
sensitive information which is, or may be, legally privileged or otherwise
protected by law from further disclosure. It is intended only for the
addressee. If you received this in error or from someone who was not authorized
to send it to you, please do not distribute, copy or use it or any attachments.
Please notify the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25999290&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25999290.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25992998</id>
	<title>Re: custom segments</title>
	<published>2009-10-21T06:51:58Z</published>
	<updated>2009-10-21T06:51:58Z</updated>
	<author>
		<name>Tony Kennedy-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Thanks James,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I&amp;#8217;ll give the addCustomSegment() a try. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;At one point I moved from .3 to .42 and it was a pain.&amp;nbsp;
&gt;From your note, I&amp;#8217;m guessing moving from .4 up shouldn&amp;#8217;t be so much
work.&amp;nbsp; I should give it a try.&amp;nbsp; I&amp;#8217;ve since done a conversion of
the 0.51 Java to C# and I&amp;#8217;m working on converting all our code over.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Thanks for the help,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Tony&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jamesagnew@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;James
Agnew&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 9:29 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;Hi Tony,&lt;br&gt;
&lt;br&gt;
You can actually add a custom segment to messages at runtime fairly easily,
there is a method called &amp;quot;addCustomSegment(String name)&amp;quot; on the Group
class, which is the superclass of Message. Using that, you could add a custom
segment fairly easily, and I'm fairly sure (though not positive) that this
method existed in the 0.4 release.&lt;br&gt;
&lt;br&gt;
The one caviat is that this method adds the segment to the end of the group or
message, so you don't have much control over where the segment ends up. The
upcoming 1.0 release actually improves this functionality quite a bit, allowing
you to choose where in the message a custom segment added at runtime ends up.
In addition, very shortly it will be possible to generate custom message
structures or segments using the Message Workbench Tool and have HAPI generate
custom message classes (this is in CVS already, but documentation isn't yet
written. If anyone wants to know more, I'm happy to explain further).&lt;br&gt;
&lt;br&gt;
If I may ask, why is upgrading the library a lot of coding? Definitely one of
our design goals is that new versions should be backwards compatible, so I'm
wondering if there's something that needs fixing. The one thing that I can
think of that broks backwards compatibiity between 0.4 and 0.5 was that 0.4 had
incorrect segment group names for HL7 2.4 and 2.5 message types. Is that the
source of your issue? I'm thinking it might be possible to produce structures jars
for the newest version of HAPI that used the old structures names if that was
it..&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
James&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Tue, Oct 20, 2009 at 5:01 PM, Tony Kennedy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt; wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;I&amp;#8217;d prefer not to have to modify
any source.&amp;nbsp; I&amp;#8217;d like to be able to add a custom segment just like
you can add a custom message package.&amp;nbsp; But, I&amp;#8217;m not quite sure how
to go about that.&amp;nbsp; Any examples?&amp;nbsp; I&amp;#8217;m using the 0.42 build (no,
I don&amp;#8217;t want to update, it&amp;#8217;s a LOT of re-coding.)&amp;nbsp; If I need
to modify source, I can, but as a last resort.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Thanks,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Tony&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt;
Charles D. Fisher [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cdf02@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 4:30 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p style='margin-bottom:12.0pt'&gt;&lt;span style='font-size:10.0pt'&gt;When you modify
source, you don't necessarily have to recompile the whole thing. You just have
to recompile the ones you changed, and then contrive to have them in the
classpath ahead of the standard jar files, so your modified ones get picked up
first. This works for us.&lt;/span&gt;&lt;br&gt;
&lt;span style='font-size:10.0pt'&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;img border=0 width=16 height=16 id=&quot;_x0000_i1025&quot; src=&quot;http://old.nabble.com/attachment/25992998/0/image001.gif&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot;&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%'&gt;
 &lt;tr&gt;
  &lt;td width=&quot;40%&quot; valign=top style='width:40.0%;padding:0in 0in 0in 0in'&gt;
  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
  margin-left:2.0in'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony Kennedy&amp;quot;
  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p style='margin-left:2.0in'&gt;&lt;span style='font-size:10.0pt'&gt;2009_10_20 01:55
  PM&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td width=&quot;60%&quot; valign=top style='width:60.0%;padding:0in 0in 0in 0in'&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%'&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1026&quot; src=&quot;http://old.nabble.com/attachment/25992998/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;To&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1027&quot; src=&quot;http://old.nabble.com/attachment/25992998/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1028&quot; src=&quot;http://old.nabble.com/attachment/25992998/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;cc&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1029&quot; src=&quot;http://old.nabble.com/attachment/25992998/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=58 height=1 id=&quot;_x0000_i1030&quot; src=&quot;http://old.nabble.com/attachment/25992998/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;Subject&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1031&quot; src=&quot;http://old.nabble.com/attachment/25992998/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;[HAPI-devel] custom segments&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0&gt;
   &lt;tr&gt;
    &lt;td width=58 valign=top style='width:43.5pt;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1032&quot; src=&quot;http://old.nabble.com/attachment/25992998/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=336 valign=top style='width:3.5in;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto'&gt;&lt;img border=0 width=1 height=1 id=&quot;_x0000_i1033&quot; src=&quot;http://old.nabble.com/attachment/25992998/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Hi all,&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Is there a way to add custom segment parsing
without having to add code to HAPI and recompile the whole thing?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Thanks&lt;/span&gt;&lt;br&gt;
&lt;span style='color:#1F497D'&gt;Tony&lt;/span&gt;&lt;tt&gt;&lt;span style='font-size:10.0pt'&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/tt&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt;&lt;br&gt;
&lt;tt&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;is the only developer event you need to attend this year. Jumpstart your&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;_______________________________________________&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Hl7api-devel mailing list&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or
sensitive information which is, or may be, legally privileged or otherwise
protected by law from further disclosure. It is intended only for the
addressee. If you received this in error or from someone who was not authorized
to send it to you, please do not distribute, copy or use it or any attachments.
Please notify the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25992998&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25992998.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25985240</id>
	<title>Re: custom segments</title>
	<published>2009-10-20T18:28:33Z</published>
	<updated>2009-10-20T18:28:33Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">Hi Tony,&lt;br&gt;&lt;br&gt;You can actually add a custom segment to messages at runtime fairly easily, there is a method called &amp;quot;addCustomSegment(String name)&amp;quot; on the Group class, which is the superclass of Message. Using that, you could add a custom segment fairly easily, and I&amp;#39;m fairly sure (though not positive) that this method existed in the 0.4 release.&lt;br&gt;

&lt;br&gt;The one caviat is that this method adds the segment to the end of the group or message, so you don&amp;#39;t have much control over where the segment ends up. The upcoming 1.0 release actually improves this functionality quite a bit, allowing you to choose where in the message a custom segment added at runtime ends up. In addition, very shortly it will be possible to generate custom message structures or segments using the Message Workbench Tool and have HAPI generate custom message classes (this is in CVS already, but documentation isn&amp;#39;t yet written. If anyone wants to know more, I&amp;#39;m happy to explain further).&lt;br&gt;

&lt;br&gt;If I may ask, why is upgrading the library a lot of coding? Definitely one of our design goals is that new versions should be backwards compatible, so I&amp;#39;m wondering if there&amp;#39;s something that needs fixing. The one thing that I can think of that broks backwards compatibiity between 0.4 and 0.5 was that 0.4 had incorrect segment group names for HL7 2.4 and 2.5 message types. Is that the source of your issue? I&amp;#39;m thinking it might be possible to produce structures jars for the newest version of HAPI that used the old structures names if that was it..&lt;br&gt;

&lt;br&gt;Cheers,&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 20, 2009 at 5:01 PM, Tony Kennedy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;











&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;I’d prefer not to have to modify any source.  I’d like to be
able to add a custom segment just like you can add a custom message package. 
But, I’m not quite sure how to go about that.  Any examples?  I’m using the 0.42
build (no, I don’t want to update, it’s a LOT of re-coding.)  If I need to
modify source, I can, but as a last resort.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Thanks,&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Tony&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Charles D. Fisher
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cdf02@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 4:30 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p style=&quot;margin-bottom: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;When you modify
source, you don&amp;#39;t necessarily have to recompile the whole thing. You just have
to recompile the ones you changed, and then contrive to have them in the
classpath ahead of the standard jar files, so your modified ones get picked up
first. This works for us.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;img src=&quot;http://old.nabble.com/attachment/25985240/0/image001.gif&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot; height=&quot;16&quot; width=&quot;16&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;


&lt;br&gt;
&lt;/p&gt;

&lt;table style=&quot;width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td style=&quot;padding: 0in; width: 40%;&quot; valign=&quot;top&quot; width=&quot;40%&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 2in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;quot;Tony
  Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
  &lt;p style=&quot;margin-left: 2in;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;2009_10_20 01:55
  PM&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;padding: 0in; width: 60%;&quot; valign=&quot;top&quot; width=&quot;60%&quot;&gt;
  &lt;table style=&quot;width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/2/image002.png&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;To&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/1/image003.png&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;br&gt;
    &lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/2/image002.png&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;cc&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/1/image003.png&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 1%;&quot; valign=&quot;top&quot; width=&quot;1%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/2/image002.png&quot; height=&quot;1&quot; width=&quot;58&quot;&gt;&lt;/p&gt;
    &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: right;&quot; align=&quot;right&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Subject&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 100%;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/1/image003.png&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;br&gt;
    &lt;span style=&quot;font-size: 10pt;&quot;&gt;[HAPI-devel] custom segments&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
  &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;td style=&quot;padding: 0in; width: 43.5pt;&quot; valign=&quot;top&quot; width=&quot;58&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/1/image003.png&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td style=&quot;padding: 0in; width: 3.5in;&quot; valign=&quot;top&quot; width=&quot;336&quot;&gt;
    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://old.nabble.com/attachment/25985240/1/image003.png&quot; height=&quot;1&quot; width=&quot;1&quot;&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Hi all,&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Is there a way
to add custom segment parsing without having to add code to HAPI and recompile
the whole thing?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Thanks&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;Tony&lt;/span&gt;&lt;tt&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/tt&gt;&lt;span style=&quot;font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;br&gt;


&lt;tt&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;is the only developer event you need to attend this year. Jumpstart your&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;_______________________________________________&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Hl7api-devel mailing list&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or
sensitive information which is, or may be, legally privileged or otherwise
protected by law from further disclosure. It is intended only for the
addressee. If you received this in error or from someone who was not authorized
to send it to you, please do not distribute, copy or use it or any attachments.
Please notify the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25985240&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25985240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25982509</id>
	<title>Re: custom segments</title>
	<published>2009-10-20T14:01:23Z</published>
	<updated>2009-10-20T14:01:23Z</updated>
	<author>
		<name>Tony Kennedy-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I&amp;#8217;d prefer not to have to modify any source.&amp;nbsp; I&amp;#8217;d like to be
able to add a custom segment just like you can add a custom message package.&amp;nbsp;
But, I&amp;#8217;m not quite sure how to go about that.&amp;nbsp; Any examples?&amp;nbsp; I&amp;#8217;m using the 0.42
build (no, I don&amp;#8217;t want to update, it&amp;#8217;s a LOT of re-coding.)&amp;nbsp; If I need to
modify source, I can, but as a last resort.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Tony&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; Charles D. Fisher
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cdf02@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 20, 2009 4:30 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Tony Kennedy&lt;br&gt;
&lt;b&gt;Cc:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] custom segments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p style='margin-bottom:12.0pt'&gt;&lt;span style='font-size:10.0pt'&gt;When you modify
source, you don't necessarily have to recompile the whole thing. You just have
to recompile the ones you changed, and then contrive to have them in the
classpath ahead of the standard jar files, so your modified ones get picked up
first. This works for us.&lt;/span&gt;&lt;br&gt;
&lt;span style='font-size:10.0pt'&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;img width=16 height=16 id=&quot;_x0000_i1025&quot; src=&quot;http://old.nabble.com/attachment/25982509/0/image001.gif&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot;&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%' id=memototbl&gt;
 &lt;tr&gt;
  &lt;td width=&quot;40%&quot; valign=top style='width:40.0%;padding:0in 0in 0in 0in'&gt;
  &lt;p class=MsoNormal style='margin-left:2.0in'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;&amp;quot;Tony
  Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:
  10.0pt'&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p style='margin-left:2.0in'&gt;&lt;span style='font-size:10.0pt'&gt;2009_10_20 01:55
  PM&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td width=&quot;60%&quot; valign=top style='width:60.0%;padding:0in 0in 0in 0in'&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=&quot;100%&quot; style='width:100.0%'&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=58 height=1 id=&quot;_x0000_i1026&quot; src=&quot;http://old.nabble.com/attachment/25982509/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;To&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=1 height=1 id=&quot;_x0000_i1027&quot; src=&quot;http://old.nabble.com/attachment/25982509/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=58 height=1 id=&quot;_x0000_i1028&quot; src=&quot;http://old.nabble.com/attachment/25982509/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;cc&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=1 height=1 id=&quot;_x0000_i1029&quot; src=&quot;http://old.nabble.com/attachment/25982509/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;1%&quot; valign=top style='width:1.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=58 height=1 id=&quot;_x0000_i1030&quot; src=&quot;http://old.nabble.com/attachment/25982509/1/image002.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;p class=MsoNormal align=right style='text-align:right'&gt;&lt;span style='font-size:10.0pt'&gt;Subject&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=&quot;100%&quot; valign=top style='width:100.0%;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=1 height=1 id=&quot;_x0000_i1031&quot; src=&quot;http://old.nabble.com/attachment/25982509/2/image003.png&quot;&gt;&lt;br&gt;
    &lt;span style='font-size:10.0pt'&gt;[HAPI-devel] custom segments&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;p class=MsoNormal&gt;&lt;span style='display:none'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0&gt;
   &lt;tr&gt;
    &lt;td width=58 valign=top style='width:43.5pt;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=1 height=1 id=&quot;_x0000_i1032&quot; src=&quot;http://old.nabble.com/attachment/25982509/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=336 valign=top style='width:3.5in;padding:0in 0in 0in 0in'&gt;
    &lt;p class=MsoNormal&gt;&lt;img width=1 height=1 id=&quot;_x0000_i1033&quot; src=&quot;http://old.nabble.com/attachment/25982509/2/image003.png&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&lt;br&gt;
&lt;span style='font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Hi all,&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Is there a way
to add custom segment parsing without having to add code to HAPI and recompile
the whole thing?&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style='font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Thanks&lt;/span&gt;&lt;br&gt;
&lt;span style='font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Tony&lt;/span&gt;&lt;tt&gt;&lt;span style='font-size:10.0pt'&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/tt&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Courier New&quot;'&gt;&lt;br&gt;
&lt;tt&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;is the only developer event you need to attend this year. Jumpstart your&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;_______________________________________________&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Hl7api-devel mailing list&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/tt&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or
sensitive information which is, or may be, legally privileged or otherwise
protected by law from further disclosure. It is intended only for the
addressee. If you received this in error or from someone who was not authorized
to send it to you, please do not distribute, copy or use it or any attachments.
Please notify the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982509&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25982509.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25982790</id>
	<title>Re: custom segments</title>
	<published>2009-10-20T13:30:05Z</published>
	<updated>2009-10-20T13:30:05Z</updated>
	<author>
		<name>Charles D. Fisher</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;When you modify source, you don't necessarily have to recompile the whole thing.  You just have to recompile the ones you changed, and then contrive to have them in the classpath ahead of the standard jar files, so your modified ones get picked up first.  This works for us.&lt;/font&gt;&lt;br&gt;
&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
Charles Fisher&lt;br&gt;
Division of Epidemiology&lt;br&gt;
New York State Dept. of Health&lt;br&gt;
518-474-2735&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
&lt;img width=&quot;16&quot; height=&quot;16&quot; src=&quot;http://old.nabble.com/attachment/25982790/0/graycol.gif&quot; border=&quot;0&quot; alt=&quot;Inactive hide details for &amp;quot;Tony Kennedy&amp;quot; &amp;lt;Tony@Exscribe.com&amp;gt;&quot;&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;

&lt;table id=&quot;memototbl&quot; width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot;&gt;&lt;td style=&quot;background-image:url(cid:2__=0ABBFCC6DFE3D07@notes.health.state.ny.us); background-repeat: no-repeat; &quot; width=&quot;40%&quot;&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;&lt;b&gt;&lt;font size=&quot;2&quot;&gt;&amp;quot;Tony Kennedy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982790&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Tony@...&lt;/a&gt;&amp;gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;2009_10_20 01:55 PM&lt;/font&gt;&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;td width=&quot;60%&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot;&gt;&lt;td width=&quot;1%&quot;&gt;&lt;img width=&quot;58&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;div align=&quot;right&quot;&gt;&lt;font size=&quot;2&quot;&gt;To&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;td width=&quot;100%&quot;&gt;&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;font size=&quot;2&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982790&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&amp;gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr valign=&quot;top&quot;&gt;&lt;td width=&quot;1%&quot;&gt;&lt;img width=&quot;58&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;div align=&quot;right&quot;&gt;&lt;font size=&quot;2&quot;&gt;cc&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;td width=&quot;100%&quot;&gt;&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr valign=&quot;top&quot;&gt;&lt;td width=&quot;1%&quot;&gt;&lt;img width=&quot;58&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;div align=&quot;right&quot;&gt;&lt;font size=&quot;2&quot;&gt;Subject&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;td width=&quot;100%&quot;&gt;&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;font size=&quot;2&quot;&gt;[HAPI-devel] custom segments&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot;&gt;&lt;td width=&quot;58&quot;&gt;&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;/td&gt;&lt;td width=&quot;336&quot;&gt;&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;http://old.nabble.com/attachment/25982790/2/ecblank.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt;Hi all,&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt; &lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt;Is there a way to add custom segment parsing without having to add code to HAPI and recompile the whole thing?&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt; &lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt;Thanks&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#1F497D&quot; face=&quot;Calibri&quot;&gt;Tony&lt;/font&gt;&lt;tt&gt;&lt;font size=&quot;2&quot;&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay &lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;tt&gt;&lt;font size=&quot;2&quot;&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;/font&gt;&lt;/tt&gt;&lt;tt&gt;&lt;font size=&quot;2&quot;&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982790&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;tt&gt;&lt;font size=&quot;2&quot;&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;/font&gt;&lt;/tt&gt;&lt;tt&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;br&gt;

IMPORTANT NOTICE:  This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure.  It is intended only for the addressee.  If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments.  Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
&lt;/body&gt;&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25982790&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;pic21786.gif&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/25982790/1/pic21786.gif&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25982790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25979667</id>
	<title>custom segments</title>
	<published>2009-10-20T10:42:50Z</published>
	<updated>2009-10-20T10:42:50Z</updated>
	<author>
		<name>Tony Kennedy-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Hi all,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Is there a way to add custom segment parsing without having to
add code to HAPI and recompile the whole thing?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Thanks&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Tony&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25979667&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-segments-tp25979667p25979667.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25795580</id>
	<title>Re: Fwd: HAPI and SSL</title>
	<published>2009-10-07T15:30:22Z</published>
	<updated>2009-10-07T15:30:22Z</updated>
	<author>
		<name>skarootz</name>
	</author>
	<content type="html">thank you, now I can be sure that it is ok to use web services, and with Hl7 2.6 feature to send user authorization info, I can take away WS-Security, this way getting integration with other platforms better.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;

On Wed, Oct 7, 2009 at 4:56 PM, James Agnew &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;james@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Hi Everyone,&lt;br&gt;&lt;br&gt;I&amp;#39;ll just throw in 2 cents from my perspective, although I&amp;#39;m mostly just repeating the good information already presented. :)&lt;br&gt;&lt;br&gt;By far the most common way of encrypting messages as they flow across a stream (here in Canada at least) is by passing them through an encrypted VPN tunnel. That way they are encrypted when they leave the local network, but the end systems don&amp;#39;t need to know anything about the encryption. &lt;br&gt;



&lt;br&gt;HAPI supports SSL connections (you just need to pass in a SecureSocket of your own creation), and I&amp;#39;ve heard a few reports of people doing this successfully, but in my experience there aren&amp;#39;t too many applications out there that support this.&lt;br&gt;



&lt;br&gt;The approach that is starting to gain a lot of traction here (and it sounds like in Australia as well!) is sending HL7 v2 messages as payloads in a SOAP message, often encrypted. This approach is more work to set up, but I really like it for the ease of encryption and for the fact that you can send metadata along with the message.&lt;br&gt;



&lt;br&gt;One final note, for sending user authentication information, it&amp;#39;s probably worth mentioning that HL7 v2.6 added a UAC segment to most message types for this purpose. That information may or may not be helpful- I&amp;#39;ve never heard of anyone using it, but it&amp;#39;s there, so someone must.&lt;br&gt;



&lt;br&gt;Cheers,&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Tue, Oct 6, 2009 at 4:22 PM, Sharma, Niranjan K (GE Healthcare) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;



&lt;/div&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;








&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;You need to hook up your SSL sockets to an access management
engine..like this&lt;/span&gt; &lt;a href=&quot;http://www.sun.com/software/products/opensso_enterprise/index.xml&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.sun.com/software/products/opensso_enterprise/index.xml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Hope this makes sense?&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;

&lt;p&gt;-Niranjan.&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Jaime Hablutzel
Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 06, 2009 1:47 PM&lt;div&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p style=&quot;margin-bottom: 12pt;&quot;&gt;thank you Niranjan, but what
facities can I use to implement user authorization? is the a hl7 specific
message to manage authentication?&lt;br&gt;
&lt;br&gt;
regards.&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;On Tue, Oct 6, 2009 at 2:09 PM, Sharma, Niranjan K (GE
Healthcare) &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;There is a choice for you to
excersize..implement ServerSocket call into SSL socket . This is in
TransportLayer domains.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;Have a look at it.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Jaime Hablutzel Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, October 05, 2009 10:34 PM&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div&gt;

&lt;p&gt;I can realize that some of you are using web services for message
transportation, but... is this the best??&lt;br&gt;
doesn&amp;#39;t it add an unnecesary level of complexity? I can realize that HAPI has a
message transport implementation. I would like to know all alternatives before
getting into production at the hospital I work for &lt;span style=&quot;font-size: 7.5pt;&quot;&gt;1&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
1. &lt;a href=&quot;http://www.hndac.gob.pe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.hndac.gob.pe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
 &lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p&gt;On Sat, Oct 3, 2009 at 1:46 PM, Erik Gfesser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erik_gfesser@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;p&gt;Please note that the WS-Security standard covers message layer security,
while SSL (actually TLS) covers transport layer security. The former encrypts
individual messages as they are sent across the wire, while the latter encrypts
all messages sent across the wire. The type of security implemented will depend
on your needs; it&amp;#39;s not necessarily required to implement both types of
security.&lt;br&gt;
&lt;br&gt;
Thanks, Erik&lt;br&gt;
&lt;br&gt;
--- On Sat, 10/3/09, Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Subject: Re: [HAPI-devel] HAPI and SSL&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; To: &amp;quot;Jaime Hablutzel Egoavil&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;&amp;gt;,
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Date: Saturday, October 3, 2009, 8:25 AM&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Jamie,&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt;   We do the same&lt;br&gt;
&amp;gt; thing, we have designed a&lt;br&gt;
&amp;gt; series of web service wrappers over the HL7 messages and&lt;br&gt;
&amp;gt; events, it is at this&lt;br&gt;
&amp;gt; level that we apply security which includes WS-Security and&lt;br&gt;
&amp;gt; SSL, this will&lt;br&gt;
&amp;gt; become part of the published standard in&lt;br&gt;
&amp;gt; Australia.&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Shirren&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   ----- Original Message&lt;br&gt;
&amp;gt; -----&lt;br&gt;
&amp;gt;   From:&lt;br&gt;
&amp;gt;   Jaime&lt;br&gt;
&amp;gt;   Hablutzel Egoavil&lt;br&gt;
&amp;gt;   To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Sent: Saturday,&lt;br&gt;
&amp;gt; October 03, 2009 6:37&lt;br&gt;
&amp;gt;   AM&lt;br&gt;
&amp;gt;   Subject: Re:&lt;br&gt;
&amp;gt; [HAPI-devel] HAPI and&lt;br&gt;
&amp;gt;   SSL&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m just getting inside HL7 for the hospital&lt;br&gt;
&amp;gt; where I work, and&lt;br&gt;
&amp;gt;   for now I have considered using a web service as a&lt;br&gt;
&amp;gt; wrapper (String&lt;br&gt;
&amp;gt;   method(String)) for hl7 messages and apply security at&lt;br&gt;
&amp;gt; web service level using&lt;br&gt;
&amp;gt;   axis2, WS security, SSL, but I wonder what is the best&lt;br&gt;
&amp;gt; solution, for clients&lt;br&gt;
&amp;gt;   and servers talking HL7...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   On Fri, Oct 2, 2009 at 11:37 AM,&lt;br&gt;
&amp;gt; Mike DiChiappari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdichiappari@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Is anyone using HAPI with&lt;br&gt;
&amp;gt;     SSL?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Mike&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;     build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;     the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;     your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;     stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;     Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel&lt;br&gt;
&amp;gt;     mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Jaime Hablutzel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; (tildes omitidas intencionalmente)&lt;br&gt;
&amp;gt;   9 8964 0369&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;   build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;   the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;   your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;   stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;   Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing&lt;br&gt;
&amp;gt;   list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12, 2009.&lt;br&gt;
&amp;gt; Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;
&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;div class=&quot;im&quot;&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Jaime Hablutzel&lt;br&gt; &lt;br&gt;(tildes omitidas intencionalmente) 9 8964 0369&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795580&amp;i=19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAPI-and-SSL-tp25720869p25795580.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25795155</id>
	<title>Re: Fwd: HAPI and SSL</title>
	<published>2009-10-07T14:56:24Z</published>
	<updated>2009-10-07T14:56:24Z</updated>
	<author>
		<name>James Agnew</name>
	</author>
	<content type="html">Hi Everyone,&lt;br&gt;&lt;br&gt;I&amp;#39;ll just throw in 2 cents from my perspective, although I&amp;#39;m mostly just repeating the good information already presented. :)&lt;br&gt;&lt;br&gt;By far the most common way of encrypting messages as they flow across a stream (here in Canada at least) is by passing them through an encrypted VPN tunnel. That way they are encrypted when they leave the local network, but the end systems don&amp;#39;t need to know anything about the encryption. &lt;br&gt;

&lt;br&gt;HAPI supports SSL connections (you just need to pass in a SecureSocket of your own creation), and I&amp;#39;ve heard a few reports of people doing this successfully, but in my experience there aren&amp;#39;t too many applications out there that support this.&lt;br&gt;

&lt;br&gt;The approach that is starting to gain a lot of traction here (and it sounds like in Australia as well!) is sending HL7 v2 messages as payloads in a SOAP message, often encrypted. This approach is more work to set up, but I really like it for the ease of encryption and for the fact that you can send metadata along with the message.&lt;br&gt;

&lt;br&gt;One final note, for sending user authentication information, it&amp;#39;s probably worth mentioning that HL7 v2.6 added a UAC segment to most message types for this purpose. That information may or may not be helpful- I&amp;#39;ve never heard of anyone using it, but it&amp;#39;s there, so someone must.&lt;br&gt;

&lt;br&gt;Cheers,&lt;br&gt;James&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 6, 2009 at 4:22 PM, Sharma, Niranjan K (GE Healthcare) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;








&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;You need to hook up your SSL sockets to an access management
engine..like this&lt;/span&gt; &lt;a href=&quot;http://www.sun.com/software/products/opensso_enterprise/index.xml&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.sun.com/software/products/opensso_enterprise/index.xml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Hope this makes sense?&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;

&lt;p&gt;-Niranjan.&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Jaime Hablutzel
Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 06, 2009 1:47 PM&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p style=&quot;margin-bottom: 12pt;&quot;&gt;thank you Niranjan, but what
facities can I use to implement user authorization? is the a hl7 specific
message to manage authentication?&lt;br&gt;
&lt;br&gt;
regards.&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;On Tue, Oct 6, 2009 at 2:09 PM, Sharma, Niranjan K (GE
Healthcare) &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;There is a choice for you to
excersize..implement ServerSocket call into SSL socket . This is in
TransportLayer domains.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;Have a look at it.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Jaime Hablutzel Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, October 05, 2009 10:34 PM&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div&gt;

&lt;p&gt;I can realize that some of you are using web services for message
transportation, but... is this the best??&lt;br&gt;
doesn&amp;#39;t it add an unnecesary level of complexity? I can realize that HAPI has a
message transport implementation. I would like to know all alternatives before
getting into production at the hospital I work for &lt;span style=&quot;font-size: 7.5pt;&quot;&gt;1&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
1. &lt;a href=&quot;http://www.hndac.gob.pe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.hndac.gob.pe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
 &lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p&gt;On Sat, Oct 3, 2009 at 1:46 PM, Erik Gfesser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erik_gfesser@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;p&gt;Please note that the WS-Security standard covers message layer security,
while SSL (actually TLS) covers transport layer security. The former encrypts
individual messages as they are sent across the wire, while the latter encrypts
all messages sent across the wire. The type of security implemented will depend
on your needs; it&amp;#39;s not necessarily required to implement both types of
security.&lt;br&gt;
&lt;br&gt;
Thanks, Erik&lt;br&gt;
&lt;br&gt;
--- On Sat, 10/3/09, Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Subject: Re: [HAPI-devel] HAPI and SSL&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; To: &amp;quot;Jaime Hablutzel Egoavil&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;&amp;gt;,
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Date: Saturday, October 3, 2009, 8:25 AM&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Jamie,&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt;   We do the same&lt;br&gt;
&amp;gt; thing, we have designed a&lt;br&gt;
&amp;gt; series of web service wrappers over the HL7 messages and&lt;br&gt;
&amp;gt; events, it is at this&lt;br&gt;
&amp;gt; level that we apply security which includes WS-Security and&lt;br&gt;
&amp;gt; SSL, this will&lt;br&gt;
&amp;gt; become part of the published standard in&lt;br&gt;
&amp;gt; Australia.&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Shirren&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   ----- Original Message&lt;br&gt;
&amp;gt; -----&lt;br&gt;
&amp;gt;   From:&lt;br&gt;
&amp;gt;   Jaime&lt;br&gt;
&amp;gt;   Hablutzel Egoavil&lt;br&gt;
&amp;gt;   To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Sent: Saturday,&lt;br&gt;
&amp;gt; October 03, 2009 6:37&lt;br&gt;
&amp;gt;   AM&lt;br&gt;
&amp;gt;   Subject: Re:&lt;br&gt;
&amp;gt; [HAPI-devel] HAPI and&lt;br&gt;
&amp;gt;   SSL&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m just getting inside HL7 for the hospital&lt;br&gt;
&amp;gt; where I work, and&lt;br&gt;
&amp;gt;   for now I have considered using a web service as a&lt;br&gt;
&amp;gt; wrapper (String&lt;br&gt;
&amp;gt;   method(String)) for hl7 messages and apply security at&lt;br&gt;
&amp;gt; web service level using&lt;br&gt;
&amp;gt;   axis2, WS security, SSL, but I wonder what is the best&lt;br&gt;
&amp;gt; solution, for clients&lt;br&gt;
&amp;gt;   and servers talking HL7...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   On Fri, Oct 2, 2009 at 11:37 AM,&lt;br&gt;
&amp;gt; Mike DiChiappari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdichiappari@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Is anyone using HAPI with&lt;br&gt;
&amp;gt;     SSL?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Mike&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;     build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;     the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;     your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;     stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;     Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel&lt;br&gt;
&amp;gt;     mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Jaime Hablutzel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; (tildes omitidas intencionalmente)&lt;br&gt;
&amp;gt;   9 8964 0369&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;   build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;   the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;   your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;   stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;   Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing&lt;br&gt;
&amp;gt;   list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12, 2009.&lt;br&gt;
&amp;gt; Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;
&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Hl7api-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25795155&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAPI-and-SSL-tp25720869p25795155.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25775959</id>
	<title>Re: Fwd: HAPI and SSL</title>
	<published>2009-10-06T13:22:12Z</published>
	<updated>2009-10-06T13:22:12Z</updated>
	<author>
		<name>nksharma0624</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;GE Inspira Pitch&quot;,&quot;sans-serif&quot;;
color:#3333FF'&gt;You need to hook up your SSL sockets to an access management
engine..like this&lt;/span&gt; &lt;a href=&quot;http://www.sun.com/software/products/opensso_enterprise/index.xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sun.com/software/products/opensso_enterprise/index.xml&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hope this makes sense?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Thanks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Regards&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;-Niranjan.&lt;span style='font-size:11.0pt;font-family:&quot;GE Inspira Pitch&quot;,&quot;sans-serif&quot;;
color:#3333FF'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;GE Inspira Pitch&quot;,&quot;sans-serif&quot;;
color:#3333FF'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; Jaime Hablutzel
Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 06, 2009 1:47 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [HAPI-devel] Fwd: HAPI and SSL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;thank you Niranjan, but what
facities can I use to implement user authorization? is the a hl7 specific
message to manage authentication?&lt;br&gt;
&lt;br&gt;
regards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Tue, Oct 6, 2009 at 2:09 PM, Sharma, Niranjan K (GE
Healthcare) &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#3333FF'&gt;There is a choice for you to
excersize..implement ServerSocket call into SSL socket . This is in
TransportLayer domains.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#3333FF'&gt;Have a look at it.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#3333FF'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'&gt;

&lt;p&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:
10.0pt'&gt; Jaime Hablutzel Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, October 05, 2009 10:34 PM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt'&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;Subject:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;I can realize that some of you are using web services for message
transportation, but... is this the best??&lt;br&gt;
doesn't it add an unnecesary level of complexity? I can realize that HAPI has a
message transport implementation. I would like to know all alternatives before
getting into production at the hospital I work for &lt;span style='font-size:7.5pt'&gt;1&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
1. &lt;a href=&quot;http://www.hndac.gob.pe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.hndac.gob.pe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p&gt;On Sat, Oct 3, 2009 at 1:46 PM, Erik Gfesser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erik_gfesser@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;Please note that the WS-Security standard covers message layer security,
while SSL (actually TLS) covers transport layer security. The former encrypts
individual messages as they are sent across the wire, while the latter encrypts
all messages sent across the wire. The type of security implemented will depend
on your needs; it's not necessarily required to implement both types of
security.&lt;br&gt;
&lt;br&gt;
Thanks, Erik&lt;br&gt;
&lt;br&gt;
--- On Sat, 10/3/09, Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Subject: Re: [HAPI-devel] HAPI and SSL&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; To: &amp;quot;Jaime Hablutzel Egoavil&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;&amp;gt;,
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Date: Saturday, October 3, 2009, 8:25 AM&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Jamie,&lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; &amp;nbsp; We do the same&lt;br&gt;
&amp;gt; thing, we have designed a&lt;br&gt;
&amp;gt; series of web service wrappers over the HL7 messages and&lt;br&gt;
&amp;gt; events, it is at this&lt;br&gt;
&amp;gt; level that we apply security which includes WS-Security and&lt;br&gt;
&amp;gt; SSL, this will&lt;br&gt;
&amp;gt; become part of the published standard in&lt;br&gt;
&amp;gt; Australia.&lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Shirren&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; ----- Original Message&lt;br&gt;
&amp;gt; -----&lt;br&gt;
&amp;gt; &amp;nbsp; From:&lt;br&gt;
&amp;gt; &amp;nbsp; Jaime&lt;br&gt;
&amp;gt; &amp;nbsp; Hablutzel Egoavil&lt;br&gt;
&amp;gt; &amp;nbsp; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; Sent: Saturday,&lt;br&gt;
&amp;gt; October 03, 2009 6:37&lt;br&gt;
&amp;gt; &amp;nbsp; AM&lt;br&gt;
&amp;gt; &amp;nbsp; Subject: Re:&lt;br&gt;
&amp;gt; [HAPI-devel] HAPI and&lt;br&gt;
&amp;gt; &amp;nbsp; SSL&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I'm just getting inside HL7 for the hospital&lt;br&gt;
&amp;gt; where I work, and&lt;br&gt;
&amp;gt; &amp;nbsp; for now I have considered using a web service as a&lt;br&gt;
&amp;gt; wrapper (String&lt;br&gt;
&amp;gt; &amp;nbsp; method(String)) for hl7 messages and apply security at&lt;br&gt;
&amp;gt; web service level using&lt;br&gt;
&amp;gt; &amp;nbsp; axis2, WS security, SSL, but I wonder what is the best&lt;br&gt;
&amp;gt; solution, for clients&lt;br&gt;
&amp;gt; &amp;nbsp; and servers talking HL7...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; On Fri, Oct 2, 2009 at 11:37 AM,&lt;br&gt;
&amp;gt; Mike DiChiappari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdichiappari@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; Is anyone using HAPI with&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; SSL?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Mike&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; &amp;nbsp; &amp;nbsp; build with us! The BlackBerry&amp;reg; Developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; stay&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; Register now!&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Jaime Hablutzel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; (tildes omitidas intencionalmente)&lt;br&gt;
&amp;gt; &amp;nbsp; 9 8964 0369&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; &amp;nbsp; build with us! The BlackBerry&amp;reg; Developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt; &amp;nbsp; the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt; &amp;nbsp; your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt; &amp;nbsp; stay&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt; &amp;nbsp; Register now!&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing&lt;br&gt;
&amp;gt; &amp;nbsp; list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come build with us! The BlackBerry&amp;reg; Developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and stay&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12, 2009.&lt;br&gt;
&amp;gt; Register now!&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=all&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;br&gt;
&lt;br clear=all&gt;
&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775959&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAPI-and-SSL-tp25720869p25775959.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25775445</id>
	<title>Re: Fwd: HAPI and SSL</title>
	<published>2009-10-06T12:46:30Z</published>
	<updated>2009-10-06T12:46:30Z</updated>
	<author>
		<name>skarootz</name>
	</author>
	<content type="html">thank you Niranjan, but what facities can I use to implement user authorization? is the a hl7 specific message to manage authentication?&lt;br&gt;&lt;br&gt;regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 6, 2009 at 2:09 PM, Sharma, Niranjan K (GE Healthcare) &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;niranjan.sharma@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;








&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;There is a choice for you to excersize..implement ServerSocket
call into SSL socket . This is in TransportLayer domains.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt;Have a look at it.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 255);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; Jaime Hablutzel
Egoavil [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, October 05, 2009 10:34 PM&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;b&gt;Subject:&lt;/b&gt; [HAPI-devel] Fwd: HAPI and SSL&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div&gt;

&lt;p&gt;I can realize that some of you are using web services for
message transportation, but... is this the best??&lt;br&gt;
doesn&amp;#39;t it add an unnecesary level of complexity? I can realize that HAPI has a
message transport implementation. I would like to know all alternatives before
getting into production at the hospital I work for &lt;span style=&quot;font-size: 7.5pt;&quot;&gt;1&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
1. &lt;a href=&quot;http://www.hndac.gob.pe&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.hndac.gob.pe&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
 &lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p&gt;On Sat, Oct 3, 2009 at 1:46 PM, Erik Gfesser &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erik_gfesser@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;p&gt;Please note that the WS-Security standard covers message
layer security, while SSL (actually TLS) covers transport layer security. The
former encrypts individual messages as they are sent across the wire, while the
latter encrypts all messages sent across the wire. The type of security
implemented will depend on your needs; it&amp;#39;s not necessarily required to
implement both types of security.&lt;br&gt;
&lt;br&gt;
Thanks, Erik&lt;br&gt;
&lt;br&gt;
--- On Sat, 10/3/09, Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Shirren &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shirren.premaratne@...&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Subject: Re: [HAPI-devel] HAPI and SSL&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; To: &amp;quot;Jaime Hablutzel Egoavil&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hablutzel1@...&lt;/a&gt;&amp;gt;,
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Date: Saturday, October 3, 2009, 8:25 AM&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi Jamie,&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt;   We do the same&lt;br&gt;
&amp;gt; thing, we have designed a&lt;br&gt;
&amp;gt; series of web service wrappers over the HL7 messages and&lt;br&gt;
&amp;gt; events, it is at this&lt;br&gt;
&amp;gt; level that we apply security which includes WS-Security and&lt;br&gt;
&amp;gt; SSL, this will&lt;br&gt;
&amp;gt; become part of the published standard in&lt;br&gt;
&amp;gt; Australia.&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Shirren&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   ----- Original Message&lt;br&gt;
&amp;gt; -----&lt;br&gt;
&amp;gt;   From:&lt;br&gt;
&amp;gt;   Jaime&lt;br&gt;
&amp;gt;   Hablutzel Egoavil&lt;br&gt;
&amp;gt;   To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Sent: Saturday,&lt;br&gt;
&amp;gt; October 03, 2009 6:37&lt;br&gt;
&amp;gt;   AM&lt;br&gt;
&amp;gt;   Subject: Re:&lt;br&gt;
&amp;gt; [HAPI-devel] HAPI and&lt;br&gt;
&amp;gt;   SSL&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m just getting inside HL7 for the hospital&lt;br&gt;
&amp;gt; where I work, and&lt;br&gt;
&amp;gt;   for now I have considered using a web service as a&lt;br&gt;
&amp;gt; wrapper (String&lt;br&gt;
&amp;gt;   method(String)) for hl7 messages and apply security at&lt;br&gt;
&amp;gt; web service level using&lt;br&gt;
&amp;gt;   axis2, WS security, SSL, but I wonder what is the best&lt;br&gt;
&amp;gt; solution, for clients&lt;br&gt;
&amp;gt;   and servers talking HL7...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   On Fri, Oct 2, 2009 at 11:37 AM,&lt;br&gt;
&amp;gt; Mike DiChiappari &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdichiappari@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   Is anyone using HAPI with&lt;br&gt;
&amp;gt;     SSL?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Mike&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;     build with us! The BlackBerry®
Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;     the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;     your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;     stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;     Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel&lt;br&gt;
&amp;gt;     mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Jaime Hablutzel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; (tildes omitidas intencionalmente)&lt;br&gt;
&amp;gt;   9 8964 0369&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt;   build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;   the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart&lt;br&gt;
&amp;gt;   your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and&lt;br&gt;
&amp;gt;   stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12,&lt;br&gt;
&amp;gt; 2009.&lt;br&gt;
&amp;gt;   Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;   _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing&lt;br&gt;
&amp;gt;   list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;
------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Come build with us! The BlackBerry® Developer&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; Conference in SF, CA&lt;br&gt;
&amp;gt; is the only developer event you need to attend this year.&lt;br&gt;
&amp;gt; Jumpstart your&lt;br&gt;
&amp;gt; developing skills, take BlackBerry mobile applications to&lt;br&gt;
&amp;gt; market and stay&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; ahead of the curve. Join us from November 9-12, 2009.&lt;br&gt;
&amp;gt; Register now!&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&amp;gt; -----Inline Attachment Follows-----&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&amp;gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Hl7api-devel mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;
&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
-- &lt;br&gt;
Jaime Hablutzel&lt;br&gt;
&lt;br&gt;
(tildes omitidas intencionalmente) 9 8964 0369&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Jaime Hablutzel&lt;br&gt; &lt;br&gt;(tildes omitidas intencionalmente) 9 8964 0369&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Hl7api-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25775445&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Hl7api-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/hl7api-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/hl7api-devel-f3468.html&quot; embed=&quot;fixTarget[3468]&quot; target=&quot;_top&quot; &gt;hl7api-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAPI-and-SSL-tp25720869p25775445.html" />
</entry>

</feed>
