Dear all,
This is an update to this issue. I have just committed the following changeset:
https://bitbucket.org/sjodogne/orthanc-dicomweb/commits/27001924c4564a517f1a4c6dacc3453a629aff04
This changeset introduces two new configuration option, “StudiesMetadata” and “SeriesMetadata” that are documented in the Orthanc Book:
https://book.orthanc-server.com/plugins/dicomweb.html#server-related-options
Briefly speaking, those configuration options allow to choose how Orthanc will compute the “metadata” endpoints: either by reading the full DICOM instances from the storage area (“Full” mode), or by using only the main DICOM tags as stored in the index database (“MainDicomTags” mode).
Besides these configuration options, forthcoming 1.1 release of the DICOMweb also divides by two the number of files that are read from the storage area (the “DICOM-as-JSON” attachments are not used anymore by the “metadata” routes).
As far as DICOMweb viewers are concerned, it is recommended to:
-
Set option “StudiesMetadata” to value “MainDicomTags”.
-
Set option “SeriesMetadata” to value “Full”.
-
First make a request to “/studies/…/metadata” to have an insight about all the instances that are stored in the study. This should be fast, thanks to “StudiesMetadata” being to “MainDicomTags”.
-
Then make a request to “/studies/…/series/…/metadata” when it comes to rendering one given series from the study. This will give accurate results, actually the same as in releases <= 1.0 of the DICOMweb plugin.
HTH,
Sébastien-