Orthanc 0.9.0

Dear Orthanc users,

Orthanc 0.9.0 is out!

This major release notably features a DICOM Query/Retrieve client inside Orthanc Explorer, that is also accessible through the REST API. Other changes include the support of FreeBSD, many optimizations and bugfixes.

Enjoy,
Sébastien-

Thanks for this great release! :slight_smile: (Just had time after the school holidays to play around with 0.9.0).

A couple of things:

  1. I’ve having trouble constructing a CURL request for modalities/{dicom}/query. I’ve tried modifying the requests from https://code.google.com/p/orthanc/wiki/FAQ#How_Can_I_Run_a_C-Find_SCU_Query_(experimental) (yes, I know they’re the depreceated ones) but can’t seem to retrieve the query IDs.
  2. I’m having some problems using the Q/R from Explorer to Siemens Syngo.Via. (The Explorer Q/R works with my other systems, notably Osirix.) The query is formed properly (can be viewed in /queries), but no answers are returned. No error message appears in the Orthanc command line. I am attempting to change configurations but no such luck so far. (Something weird I noticed is that I can still successfully do a C-FIND using /modalities/SyngoVia/find )

Emsy

Dear Emsy,

Thanks for your feedback!

  1. Yes, the documentation is still very sparse and I’m currently working on it. I will also soon publish my set of integration tests for other people to have more sample code. In the meantime, here is a sample query:

curl -X POST http://localhost:8042/modalities/pacs/query -d ‘{ “Level” : “Series”, “Query” : { “PatientName” : “JOD” }}’

Then, you can trigger a retrieve of one answer to this query, with the modality whose AET is “SAMPLE” as a target, as follows:

curl http://localhost:8042/queries/344455cc-45ff-4196-8f7d-7b43c20d402e/answers/0/retrieve -d ‘SAMPLE’

Other useful URIs are listed in the reference of the REST API:
https://docs.google.com/spreadsheets/d/1muKHMIb9Br-59wfaQbDeLzAfKYsoWfDSXSmyt6P4EM8/pubhtml?gid=525933398&single=true

Obviously, you can monitor the behavior of Orthanc Explorer to get more insight about how to use this API (e.g. using the developer mode of Chromium or Firefox).

  1. I unfortunately have no access to Syngo.Via, so I cannot provide any help on this topic. Maybe it does not support the SERIES query retrieve level, but only the STUDY one?

HTH,
Sébastien-

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:

Just a headsup:
To get Query/Retrieve working from Orthanc with AGFA Impax 6.x i had to add the “SyngoVia” patch to get it working.

Regards,
Robert

Dear Robert,

Thanks for your feedback! I have just added a new “AgfaImpax” modality manufacturer (that is currently only an alias for “SyngoVia” to make things clearer):
https://bitbucket.org/sjodogne/orthanc/commits/3dcf5c0734c9714acfc2ba06ce7328454261ac0c

Regards,
Sébastien-