changeset 781:90a382c163ee

allow searching DICOM resources by "Study ID" in the user interface
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Aug 2026 12:44:11 +0200
parents 83ef6cd2e724
children ec19110b0848
files NEWS WebApplication/app.js WebApplication/index.html
diffstat 3 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Aug 18 10:18:24 2026 +0200
+++ b/NEWS	Tue Aug 18 12:44:11 2026 +0200
@@ -1,6 +1,7 @@
 Pending changes in the mainline
 ===============================
 
+* Allow searching DICOM resources by "Study ID" in the DICOMweb client Web user interface.
 * New configuration option "OtherBinaryMode" to control how OB, OD,
   OF, OL, OV, or OW value representations are encoded in WADO-RS
   responses. Possible values: "BulkDataURI" (new default),
--- a/WebApplication/app.js	Tue Aug 18 10:18:24 2026 +0200
+++ b/WebApplication/app.js	Tue Aug 18 12:44:11 2026 +0200
@@ -61,6 +61,10 @@
       {
         key: DICOM_TAG_STUDY_DATE,
         label: 'Study date'
+      },
+      {
+        key: DICOM_TAG_STUDY_ID,
+        label: 'Study ID'
       }
     ],
     studyToDelete: null,
@@ -158,6 +162,10 @@
         args[DICOM_TAG_STUDY_DATE] = app.lookup.studyDate;
       }
 
+      if ('studyID' in app.lookup) {
+        args[DICOM_TAG_STUDY_ID] = app.lookup.studyID;
+      }
+
       if ('accessionNumber' in app.lookup) {
         args[DICOM_TAG_ACCESSION_NUMBER] = app.lookup.accessionNumber;
       }
--- a/WebApplication/index.html	Tue Aug 18 10:18:24 2026 +0200
+++ b/WebApplication/index.html	Tue Aug 18 12:44:11 2026 +0200
@@ -121,6 +121,12 @@
               <input type="text" class="form-control" v-model="lookup.studyDate"></input>
             </div>
           </div>
+          <div class="mb-3 row">
+            <label class="col-form-label col-sm-3 cols-lg-3">Study ID:</label>
+            <div class="col-sm-9 cols-lg-9">
+              <input type="text" class="form-control" v-model="lookup.studyID"></input>
+            </div>
+          </div>
           <p class="pull-right">
             <button type="button" class="btn btn-lg btn-success" @click="OnLookup">Do lookup</button>
             <button type="button" class="btn btn-lg btn-outline-danger" @click="OnReset">Reset</button>