Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » IHE PIX/PDQ API Change Notification
IHE PIX/PDQ API Change Notification [message #29235] Mon, 09 April 2007 22:08
Sondra Renly is currently offline Sondra RenlyFriend
Messages: 39
Registered: July 2009
Member
SHORT VERSION:

I have committed a code change that modifies the API necessary to create
a pix/pdq client. If you are using OHF code for this purpose, either
through the Bridge or as plugins, please read on.


LONG VERSION:

OHF is in the last stages of preparing the IHE component code for an
official "0.2.0M1-incubation" package that corresponds to code
supporting the 2007 IHE Connectathon requirements. This is essentially
the code you used during connectathon. We have incorporated additional
bugzilla report enhancements/fixes and updated documentation. By
creating this package we can then begin working on updates for the 2008
IHE Connectathon requirements without interrupting users of the 2007
requirements.

With the recent packaging process, HL7v2 tools authors recently
redefined the approach for loading HL7 definitions. In doing so, the API
for pix source, pix query, and pdq query must change from what you
prepared for 2007 Connectathon. For plugin users here is a before and
after scenario:

BEFORE
//pixFeed set-up no supporting definitions
PixSource pixFeed = new PixSource();

//pixFeed set-up with javaStream definitions
Stream javaStream = new Stream(new File(TConfig.SERIALISED_PATH));
PixSource pixFeed = new PixSource(javaStream);

//pixFeed set-up with javaStream definitions & conformance profile
Stream javaStream = new Stream(new File(TConfig.SERIALISED_PATH));
InputStream cpStream = new FileInputStream(TConfig.CPROFILE_PATH);
PixSource pixFeed = new PixSource(javaStream, cpStream);
cpStream.close();

AFTER
//pixFeed set-up with definitions
PixSource pixFeed = new PixSource();

//pixFeed set-up with definitions & conformance profile
InputStream cpStream = new FileInputStream(TConfig.CPROFILE_PATH);
PixSource pixFeed = new PixSource(cpStream);
cpStream.close();

For bridge users, you no longer need to specify the location of the
HL7Definitions file.

Please contact me if you have any questions regarding this API change.

Sondra Renly
Previous Topic:ATNA with rfc3195
Next Topic:IHE PIX/PDQ API Change Notification
Goto Forum:
  


Current Time: Sun Dec 21 10:48:20 GMT 2014

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

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