[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ohf] Re: Getting document consumer working with ohf 0.3.0?

Hi Frank,

I believe this is because you have the 'returnReferencesOnly' flag set to true when you execute the query. Thus you only get back the list of references to document metadata instead of the whole DocumentEntry object that will contain the URL or document uniqueID that you need to do the retrieve.

hope this helps,
Sarah


Frank wrote:
That definitely helped, one step closer. Now, in the log I see debug messages like "Found 193 object references". I also see a dump of the RegistryObjectList xml. I do not see any errors in the logs.

In that code snippet

org.eclipse.ohf.ihe.xds.consumer.test.IBMLswin10RetrieveTest.testRetrieve()

when the following code is reached:

    response.getDocumentEntryResponses().size()

zero is returned (where response is type XDSQueryResponseType). If I call response.getReferences(), the EList contains 193 entries. I'm unable to retrieve any documents.

Sarah Knoop wrote:

hi Frank,

As you noted, you can browse the IBM Registry by patient id -
http://lswin10.dfw.ibm.com:9081/IBMXDSRegistry/query_docs.jsp

... so this may help with the confirmation part. Looks to be quite a few documents. Note ... that there is no assigning authority name in the registered id:
139158^^^&1.3.6.1.4.1.21367.2005.3.7&ISO


HIMSS2005 (or the assigning authority name) is a prohibited component of patient id (as of 2006 XDS, not before). The registry does a pure string match (not recognizing components). My guess is that this is the issue.

hope this helps,
- Sarah




Frank wrote:

I took a code snippet from org.eclipse.ohf.ihe.xds.consumer.test.IBMLswin10RetrieveTest.testRetrieve(). I used the following info:

patientid - 139158
affinity domain - 1.3.6.1.4.1.21367.2005.3.7
assigning authority name - HIMSS2005
registry url - http://lswin10.dfw.ibm.com:9081/IBMXDSRegistry/XDSb/SOAP11/Registry


I got this info from the following url:

http://lswin10.dfw.ibm.com:9081/IBMIHII/serverInfoIHE_ConnectathonHIMSS2007.htm


When I run the test, I get no documents returned ... and no errors. I suspect that some of the information I'm using is not correct, because if I use the "Blue Panther Administration Portal" at http://lswin10.dfw.ibm.com:9081/IBMXDSRegistry/index.jsp, I can query on the patient id above and get 193 document references returned.


Can someone verify the consumer information I listed above?

Thanks,

Frank