Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Question on Patient Identity Feed Transaction
Question on Patient Identity Feed Transaction [message #581099] Wed, 29 August 2007 16:20
umesh shaw is currently offline umesh shawFriend
Messages: 8
Registered: July 2009
Junior Member
I am getting the below exception while trying to perform Patient Identity
Feed Transaction using OHF API.

Exception in thread "AWT-EventQueue-1" java.lang.Error: Unresolved
compilation problem:
Syntax error on token "==", = expected

at
org.eclipse.ohf.hl7v2.core.conformance.CPDocument.getProfile (CPDocument.java:230)
at
org.eclipse.ohf.ihe.common.hl7v2.mllpclient.Client.setConfor manceProfile(Client.java:495)

It seems there is some assert statement problem in the class :
org.eclipse.ohf.hl7v2.core.conformance.CPDocument.java
in the jar file : org.eclipse.ohf.hl7v2.core_0.2.0.jar

public CPConformanceProfile getProfile() {
// compiler errors? See readme.txt in <package>/Resources
assert documentType == DOCUMENT_TYPE_PROFILE;
return (CPConformanceProfile) content;
}

Its using the assert statement, I am running in the Java 1.5 version,
there is no problem in compiling
But it gives above problem during run time. I am testing the ClientPixFeed
which uses XML file
"ADT-A04(register outpatient).XML" for setting the conformance profile as
below code.

InputStream cpStream = new
FileInputStream(PixFeedConfiguration.CPROFILE_PATH);
pixFeed.setConformanceProfile(cpStream);
cpStream.close();

I have already checked the below URL
http://www.cis.upenn.edu/~matuszek/cit594-2004/Pages/eclipse -faq.html ,
But it doesnot resolve with Java 1.5 version.

Can you please provide any solution for this.

Thanks,

Umesh
Previous Topic:OHF - IHE Plugin question
Next Topic:Question on Patient Identity Feed Transaction
Goto Forum:
  


Current Time: Tue Nov 13 03:26:41 GMT 2018

Powered by FUDForum. Page generated in 0.02287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top