Orthanc QueryRetrieve and Distributed PACS

Hi,

I’m trying to connect Orthanc to a Philipps Intellispace distributed PACS.
A distributed PACS has different AETs for query and retrieve.

Looking at how the Query retrieve mechanism is structured currently

  • I do a /modalities/:aet/query
  • I get a QueryResponse and browse the query
  • I /query/:queryresponse/answers/:answer/retrieve the stuff I like
    It seems like Orthanc expects the AET to be the same for query and retrieve.
    Is this assessment correct or is this possible in Orthanc. If not, is this a feature on the roadmap?

Thanks,
Georg

Just add separate entries in the “DicomModalities” configuration option, one for each of the AET that is used by your Philips PACS:
http://book.orthanc-server.com/users/configuration.html

Will configuring Orthanc in this way automatically retrieve images from the retrieve AET when I issue the C-FIND from the query AET and retrieve the query?

Sorry, but I don’t understand your question

Using a Philipps distributed PACS, the workflow when retrieving images is like this:

  1. Issue a C-FIND to AET-QUERY
  2. AET-QUERY will respond and additionally set the tag (0008,0054) Retrieve AE Title
  3. You take the queried InstanceUids to the Retrieve AET (AET-RETRIEVE) to initiate the C-FIND
    The question is, is this behavior (Retrieve AET Tag is respected) implemented in Orthanc?
    Thanks
  1. should be C-MOVE, not C-FIND, sorry

This is non-standard logic, so you’ll have to manually script Orthanc:

  • Call /modalities/…/find to issue the C-FIND query, taking care of including “0008,0054” in the “Query” field
  • Call /queries/…/answers to inspect the results and retrieve the “0008,0054” tag
  • Lookup /modalities/?expand to find the symbolic name of the modality in Orthanc given its AET
  • Call /modalities/…/move to manually retrieve the DICOM instances

Check out the integration tests to have examples of calls to /modalities/…/move:
https://bitbucket.org/sjodogne/orthanc-tests/src/default/Tests/Tests.py

Thanks! I did not know about /modalities/…/move, that answers it. Especially these integration tests documenting it are very helpful.
About the statement that this is non-standard logic, I’m not entirely convinced: especially large hospitals have this form of distributed PACS and the Retrieve AE Title is part of the DICOM standard.
But many thanks for this resource, it helps a lot.

Best Regards,
Georg

Dear Georg,

Thanks for your answer. I wasn’t aware of this feature, that is indeed part of the standard for C-FIND:
http://dicom.nema.org/medical/dicom/current/output/html/part04.html#sect_C.4.1.1.3.2

It should be relatively easy to update Orthanc to implement this feature. I have just added a task on our roadmap:
https://bitbucket.org/sjodogne/orthanc/commits/65c49f832da85ab0cee0ad3c7809f2addfcdd304

Regards,
Sébastien-

Hi Sebastian,

Any update on this feature within Orthanc? I am looking into connecting Orthanc to distributed PACS.

-Rajshree

Hello,

If you look at the TODO file, you’ll see that this feature is implemented on the SCP side (since Orthanc 1.7.3), but not on the SCU side yet:
https://hg.orthanc-server.com/orthanc/file/Orthanc-1.11.0/TODO#l122

  • Support “Retrieve AE Title” (0008,0054) in C-FIND:

Regards,

Sébastien-