Bug 53 - DICOMWeb plugin support for "limit" and "offset" parameters in QIDO-RS
Summary: DICOMWeb plugin support for "limit" and "offset" parameters in QIDO-RS
Status: RESOLVED FIXED
Alias: None
Product: Orthanc
Classification: Unclassified
Component: Plugin - DICOMweb (show other bugs)
Version: unspecified
Hardware: All All
: --- enhancement
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:12 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:20 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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