changeset 869:9447f34ff010

exact-match for OE2
author Alain Mazy <am@osimis.io>
date Mon, 08 Aug 2022 08:53:51 +0200
parents 2cb6b69537c6
children 12ec5b7aecd6
files Sphinx/source/plugins/orthanc-explorer-2.rst
diffstat 1 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/orthanc-explorer-2.rst	Mon Aug 08 08:53:38 2022 +0200
+++ b/Sphinx/source/plugins/orthanc-explorer-2.rst	Mon Aug 08 08:53:51 2022 +0200
@@ -75,12 +75,18 @@
 You may open the OE2 interface directly on a specific study or patient by specifying DICOM Tags directly in the URL.
 e.g::
 
-    http://localhost:8042/ui/app/#/filtered-studies?PatientID=00000169
+    http://localhost:8042/ui/app/#/filtered-studies?PatientID="00000169"
     http://localhost:8042/ui/app/#/filtered-studies?StudyDate=20220512-20220513&ModalitiesInStudy=CR\DX
-    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID=1.2.3
-    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID=1.2.3&expand
-    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID=1.2.3&expand=study
-    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID=1.2.3&expand=series
+    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID="1.2.3"
+    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID="1.2.3"&expand
+    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID="1.2.3"&expand=study
+    http://localhost:8042/ui/app/#/filtered-studies?StudyInstanceUID="1.2.3"&expand=series
+
+By default, OE2 will add a wildcard ``*`` at the beginning and at the end of the search text.  Therefore, searching
+for ``PatientID=1234`` will actually search for ``PatientID=*1234*``.  If you do not want to have these extra wildcards
+added, you should use ``"`` at the beginning and/or at the end of the search text.  Therefore, searching for
+``PatientID="1234"`` will return only the studies whose ``PatientID`` is exactly ``1234``.
+These ``"`` can also be used in the User Interface search fields.