Bug 53

Summary: DICOMWeb plugin support for "limit" and "offset" parameters in QIDO-RS
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Plugin - DICOMwebAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   

Description Sébastien Jodogne 2020-06-29 15:12:40 CEST
[BitBucket date: 2017-07-04.10:16:54]

It might be interessing to support "limit" and "offset" parameters in QIDO-RS requests, especially to shorten the response time when listing instances for example.

A few example:
http://127.0.0.1:8042/dicom-web/studies?limit=20
http://127.0.0.1:8042/dicom-web//studies/{StudyInstanceUID}/series?limit=10
http://127.0.0.1:8042/dicom-web//series?limit=50

Using limit and offset to get the json info for only one instance in the middle of the image stack:
http://127.0.0.1:8042/dicom-web//studies/{StudyInstanceUID}/series/{SeriesInstanceUID}/instances?limit=1&offset=100
Comment 1 Sébastien Jodogne 2020-06-29 15:20:19 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-07-11.15:57:48]

This is solved by the combination of the two following changesets (the version of the core of Orthanc must be >= 1.2.1):

https://hg.orthanc-server.com/orthanc/changeset/563bf878407a7f2f45afbcbcc39f78d6410027cd

https://hg.orthanc-server.com/orthanc-dicomweb/changeset/a99830eb937c6afb22c55c842ad1a0ad3a4b431a