Hi! Thanks for the sample query and the tip about using developer tools *embarrassed look*.
I've found the problem with querying Syngo.Via.
Here's the query/{id}/query?simplify generated by Orthanc Explorer
{
"AccessionNumber" : "*",
"PatientBirthDate" : "*",
"PatientID" : "123456",
"PatientName" : "*",
"PatientSex" : "*",
"SpecificCharacterSet" : "ISO_IR 192",
"StudyDate" : "*",
"StudyDescription" : "*"
}
I managed to successful query Syngo.Via by removing changing the date values from "*" to " ":
{
"AccessionNumber" : "*",
"PatientBirthDate" : " ",
"PatientID" : "123456",
"PatientName" : "*",
"PatientSex" : "*",
"SpecificCharacterSet" : "ISO_IR 192",
"StudyDate" : " ",
"StudyDescription" : "*"
}
Syngo.Via won't respond if date values are:
*
2015-
Syngo.Via will only respond if full dates are used:
19700101-
-20141231
20150101-20150601
*Note: Because Orthanc Explorer always sends "*" in PatientBirthDate, Syngo.Via will never return an answer.
Gosh, I love playing around with this!
Next issue (haven't had time to investigate this yet): QueryRetrieveLevel "Series" returns *EVERY* series in Osirix... ("Study" level works in Osirix. Both "Study" and "Series" levels work in Syngo.Via)
Regards,
Emsy