I don't see that class in the 2.0 jars. However I do see it in the docs for 2.1 
alpha
http://grepcode.com/file/repo1.maven.org/maven2/ca.uhn.hapi/hapi-base/2.1-alpha1/ca/uhn/hl7v2/HapiContext.java

So I guess you need to go to 2.1 for it.

R,
rahul

On Mar 12, 2013, at 7:36 AM, Jack Duncan (NHS TAYSIDE - DD1 9SY) 
<duncan.j...@nhs.net> wrote:

> I’ve downloaded hapi using this link: Download hapi-dist-2.0-all.zip (27.4 
> MB) onhttp://sourceforge.net/projects/hl7api/files/hl7api/.
>  
> I’ve added the jars to a NetBeans project, everything compiles OK.
>  
> However, when I try to create an example, the following imports fail:
>  
> import ca.uhn.hl7v2.DefaultHapiContext;
> import ca.uhn.hl7v2.HapiContext;
>  
> These ones succeed:
>  
> import ca.uhn.hl7v2.HL7Exception;
> import ca.uhn.hl7v2.app.Connection;
> import ca.uhn.hl7v2.llp.LLPException;
> import ca.uhn.hl7v2.model.Message;
> import ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator;
>  
> Can anyone tell me if there’s something else I need to download?
>  
> Thanks
>  
> Duncan Jack
>  
> 
> ********************************************************************************************************************
> 
> This message may contain confidential information. If you are not the 
> intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or take 
> any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
> 
> Thank you for your co-operation.
> 
> NHSmail is the secure email and directory service available for all NHS staff 
> in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive 
> information with NHSmail and GSi recipients
> NHSmail provides an email address for your career in the NHS and can be 
> accessed anywhere
> 
> ********************************************************************************************************************
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
> endpoint security space. For insight on selecting the right partner to 
> tackle endpoint security challenges, access the full report. 
> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to