What is the actual query being sent by Orthanc Explorer to the api?
I've seen that behavior because of the wildcard used by Orthanc Explorer, an asterisk *. I have found modalities that require an empty string instead.
Chico Venancio
CEO e Diretor de Criação
VM TECH - (98)8800-2743
I tried deleting the asterisk from the web interface - no change. I tried putting two single quotes to mimic an empty string '', but still get a blank query.
I'm curious what Level is being used by the web interface to construct the query. I dug around a bit in the javascript, but I haven't seen yet where it specified either a Patient or Study root based query.
{ 'Level' : 'Study',
'Query' : { 'AccessionNumber' : '*',
'PatientBirthDate' : '*',
'PatientID' : '*',
'PatientName' : '*',
'PatientSex' : '*',
'SpecificCharacterSet' : 'ISO_IR 192', // UTF-8
'StudyDate' : $('#qr-date').val(),
'StudyDescription' : '*' }
}
and then modifies the query with the values from the web page.
To answer your question, yes, the remote node I'm querying does accept Study level queries. However, I have been testing slightly different queries with my findscu and rest API queries than what the web is doing.
Specifically, I have not added the character set limitation to my queries. I'm curious if that makes a difference here.
Unfortunately, I will have to wait until tomorrow since the remote node was taken down for the night.
Alain Mazy / CTO
a...@osimis.io / +32 494 31 67 27
OSIMIS S.A. | |
Yes, it is all baked in. You could write a plugin to change the Javascript files, but I just put nginx in front and serve js and html from it.
Chico Venancio
ChangePage('query-retrieve-4', { 'query' : pageData.uuid, 'answer' : answerId, 'server' : pageData.server });
While on page 3/4 where series are handled,
ChangePage('query-retrieve-4', { 'query' : queryUuid, 'study' : pageData.uuid, 'answer' : answerId, 'server' : pageData.server });
The query is subsequently constructed as:
var uri = '../queries/' + pageData.query + '/answers/' + pageData.answer + '/retrieve';