Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » XDS.b registry query response causes parsing error
XDS.b registry query response causes parsing error [message #40991] Sun, 24 February 2008 13:55 Go to next message
Sam Gerstein is currently offline Sam GersteinFriend
Messages: 6
Registered: July 2009
Junior Member
Hello,
I'm testing at HIMSS for the Interoperability Showcase, and I'm getting a
NoSuchElementException parsing Microsoft's registry query response..
following is the relevant part of the stack trace and the response itself.
The thing that jumps out at me is that they're sending the URI slot with
an empty value.. is that allowed? They're looking into it too..
Thanks,
Sam

Caused by: java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332 )
at
org.eclipse.ohf.ihe.xds.metadata.extract.EbXML_3_0DocumentEn tryExtractor.extractExtrinsicObjectSlots(EbXML_3_0DocumentEn tryExtractor.java:484)
at
org.eclipse.ohf.ihe.xds.metadata.extract.EbXML_3_0DocumentEn tryExtractor.extract(EbXML_3_0DocumentEntryExtractor.java:20 9)
at
org.eclipse.ohf.ihe.xds.consumer.AbstractConsumer.processEbX ML_3_0QueryResults(AbstractConsumer.java:556)
at
org.eclipse.ohf.ihe.xds.consumer.B_Consumer.invokeStoredQuer y(B_Consumer.java:237)


<?xml version="1.0"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action
s:mustUnderstand="1">urn:ihe:iti:2007:RegistryStoredQueryResponse </a:Action>
<ActivityId
xmlns=" http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostic s"
CorrelationId="b3fb3241-defa-47e9-997e-b5384bad4052">55719aee-0ce7-480d-a0de-8c58c8324b35 </ActivityId>
<a:RelatesTo>urn:uuid:58b90656-d8b6-52d0-3913-7769cd1545c1</a:RelatesTo >
</s:Header>
<s:Body>
<query:AdhocQueryResponse
xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success ">
<rim:RegistryObjectList>
<ExtrinsicObject xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
id="theDocument" mimeType="text/xml"
objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1"
status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved ">
<Slot name="URI">
<ValueList>
<Value/>
</ValueList>
</Slot>
<Slot name="repositoryUniqueId">
<ValueList>
<Value>1.3.6.1.4.1.21367.2008.1.2.706</Value>
</ValueList>
</Slot>
<Slot name="creationTime">
<ValueList>
<Value>20080224001913</Value>
</ValueList>
</Slot>
<Slot name="languageCode">
<ValueList>
<Value>en-us</Value>
</ValueList>
</Slot>
<Slot name="serviceStartTime">
<ValueList>
<Value>20080224001900</Value>
</ValueList>
</Slot>
<Slot name="serviceStopTime">
<ValueList>
<Value>20080224001913</Value>
</ValueList>
</Slot>
<!-- added the
legal authenticator slor-->
<Slot name="legalAuthenticator">
<ValueList>
<Value>^^^^^</Value>
</ValueList>
</Slot>
<Slot name="sourcePatientId">
<ValueList>
<Value>638912084^^^&amp;1.3.6.1.4.1.22812.3.2&amp;ISO </Value>
</ValueList>
</Slot>
<Slot name="sourcePatientInfo">
<ValueList>
<Value> PID-3|638912084^^^&amp;1.3.6.1.4.1.22812.3.2&amp;ISO </Value>
<Value>PID-5|Saturday^Robert^^^^</Value>
<Value>PID-7|19900301</Value>
<Value>PID-8|M</Value>
<Value>PID-11|896 1st Ave^^Boston^MA^01519^USA</Value>
<Value>PID-13|</Value>
</ValueList>
</Slot>
<!-- added slots for size, hash, URI -->
<Slot name="size">
<ValueList>
<Value>14242</Value>
</ValueList>
</Slot>
<Slot name="hash">
<ValueList>
<Value>60F7A4B6AE9F5378A57CA12CFD3090B52E6D3A16</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="TouchWorks Medical Summary"/>
</Name>
<Description/>
<Classification id="cl01"
classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d "
classifiedObject="theDocument">
<Slot name="authorPerson">
<ValueList>
<Value>1TW090^Medici^James^^^</Value>
</ValueList>
</Slot>
<Slot name="authorInstitution">
<ValueList>
<Value>New World Health</Value>
</ValueList>
</Slot>
<Slot name="authorRole">
<ValueList>
<Value>Provider</Value>
</ValueList>
</Slot>
<Slot name="authorSpecialty">
<ValueList>
<Value>General Medicine</Value>
</ValueList>
</Slot>
</Classification>
<Classification id="cl02"
classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a "
classifiedObject="theDocument" nodeRepresentation="Transfer of care
referral">
<Slot name="codingScheme">
<ValueList>
<Value>Connect-a-thon classCodes</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="Transfer of care referral"/>
</Name>
</Classification>
<Classification id="cl03"
classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f "
classifiedObject="theDocument" nodeRepresentation="N">
<Slot name="codingScheme">
<ValueList>
<Value>Connect-a-thon confidentialityCodes</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="Normal"/>
</Name>
</Classification>
<Classification id="cl04"
classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d "
classifiedObject="theDocument"
nodeRepresentation="1.3.6.1.4.1.19376.1.5.3.1.1.2">
<Slot name="codingScheme">
<ValueList>
<Value>Connect-a-thon formatCodes</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="XDS-MS"/>
</Name>
</Classification>
<Classification id="cl05"
classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 "
classifiedObject="theDocument" nodeRepresentation="Outpatient">
<Slot name="codingScheme">
<ValueList>
<Value>Connect-a-thon healthcareFacilityTypeCodes</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="Outpatient"/>
</Name>
</Classification>
<Classification id="cl06"
classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead "
classifiedObject="theDocument" nodeRepresentation="Multidisciplinary">
<Slot name="codingScheme">
<ValueList>
<Value>Connect-a-thon practiceSettingCodes</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="Multidisciplinary"/>
</Name>
</Classification>
<Classification id="cl07"
classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 "
classifiedObject="theDocument" nodeRepresentation="34133-9">
<Slot name="codingScheme">
<ValueList>
<Value>LOINC</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString value="Summary of Episode Note"/>
</Name>
</Classification>
<ExternalIdentifier id="ei01" registryObject="theDocument"
identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 "
value="663892^^^&amp;1.3.6.1.4.1.21367.2005.3.7&amp;ISO ">
<Name>
<LocalizedString value="XDSDocumentEntry.patientId"/>
</Name>
</ExternalIdentifier>
<ExternalIdentifier id="ei02" registryObject="theDocument"
identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab "
value="1.3.6.1.4.1.22812.2.42.1043632">
<Name>
<LocalizedString value="XDSDocumentEntry.uniqueId"/>
</Name>
</ExternalIdentifier>
</ExtrinsicObject>
<rim:ObjectRef id="theDocument"/>
</rim:RegistryObjectList>
</query:AdhocQueryResponse>
</s:Body>
</s:Envelope>
Re: XDS.b registry query response causes parsing error [message #41022 is a reply to message #40991] Sun, 24 February 2008 14:52 Go to previous message
Sam Gerstein is currently offline Sam GersteinFriend
Messages: 6
Registered: July 2009
Junior Member
Never mind, I found the fix for this in the latest source... I thought I
had all of the latest jars, but I guess I'd better double check..
Thanks
Sam
Re: XDS.b registry query response causes parsing error [message #584731 is a reply to message #40991] Sun, 24 February 2008 14:52 Go to previous message
Sam Gerstein is currently offline Sam GersteinFriend
Messages: 6
Registered: July 2009
Junior Member
Never mind, I found the fix for this in the latest source... I thought I
had all of the latest jars, but I guess I'd better double check..
Thanks
Sam
Previous Topic:XDS.b registry query response causes parsing error
Next Topic:Mesa Test 1221
Goto Forum:
  


Current Time: Tue Mar 19 05:53:13 GMT 2024

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

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

Back to the top