The Orthanc logs show that the ViewPosition dicom tag specified in the tools/find or query/sample/modalities is ignored when searched at Instance level.
Could you please point to the documentation which specifies what all tags can be used for search within Orthanc at different levels (Instance/Study/Series/Patient)?
// Performance setting to specify how Orthanc accesses the storage
// area during find operations (C-FIND, /tools/find API route and
// QIDO-RS in dicom-web). Three modes are available: (1) “Always”
// allows Orthanc to read the storage area as soon as it needs an
// information that is not present in its database (slowest mode),
// (2) “Never” prevents Orthanc from accessing the storage area, and
// makes it uses exclusively its database (fastest mode), and (3)
// “Answers” allows Orthanc to read the storage area to generate its
// answers, but not to filter the DICOM resources (balance between
// the two modes). By default, the mode is “Always”, which
// corresponds to the behavior of Orthanc <= 1.5.0.
“StorageAccessOnFind” : “Always”,
The option StorageAccessOnFind is Always in orthanc.json file.
Here is the logs of orthanc docker container:
orthanc | W0209 11:52:28.808191 DicomControlUserConnection.cpp:170] Tag not allowed for this C-Find level, will be ignored: (0018,5101)
orthanc | W0209 11:52:28.814852 OrthancRestModalities.cpp:958] Driving C-Move SCU on remote modality pacs to target modality rhopacs
orthanc | W0209 11:52:28.865479 OrthancRestModalities.cpp:958] Driving C-Move SCU on remote modality pacs to target modality rhopacs
orthanc | W0209 11:52:28.875424 OrthancRestModalities.cpp:958] Driving C-Move SCU on remote modality pacs to target modality rhopacs
Thank you Sebastien. Do we have a list of allowed tags which can be used for search? Like I was wondering if we can search based on PatientAge or Date of Birth? and give a range like we do in date dicom tag searches.