changeset 654:3117e3f73b9a

qido-rs sequence
author Alain Mazy <am@orthanc.team>
date Wed, 05 Jun 2024 11:21:22 +0200
parents fdd90df1e8ff
children b4fed8dca955
files Plugins/DicomWeb/Run.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py	Wed Jun 05 10:28:09 2024 +0200
+++ b/Plugins/DicomWeb/Run.py	Wed Jun 05 11:21:22 2024 +0200
@@ -682,6 +682,14 @@
         self.assertTrue('00280010' in a[0])
         self.assertEqual(512, a[0]['00280010']['Value'][0])
 
+        if IsPluginVersionAbove(ORTHANC, "dicom-web", 1, 17, 0):
+            a = DoGet(ORTHANC, '/dicom-web/studies/1.2.840.113619.2.176.2025.1499492.7391.1171285944.390/series/1.2.840.113619.2.176.2025.1499492.7391.1171285944.394/instances?includefield=00081140')
+            self.assertEqual(1, len(a))
+            self.assertTrue('00081140' in a[0])
+            self.assertEqual(2, len(a[0]['00081140']['Value']))
+            self.assertEqual('1.2.840.113619.2.176.2025.1499492.7040.1171286241.719', a[0]['00081140']['Value'][0]['00081155']['Value'][0])
+
+
         
     def test_stow_errors(self):
         def CheckSequences(a):