Mercurial > hg > orthanc-tests
annotate PerfsDb/Tests/ToolsFind.py @ 532:f96c023ce523
dicom-web X-Forwarded headers
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 24 Apr 2023 10:43:27 +0200 |
parents | dbc42a03ee75 |
children |
rev | line source |
---|---|
162 | 1 from Test import Test |
2 | |
3 class TestToolsFindStudyByStudyInstanceUID(Test): | |
4 | |
5 def __init__(self, name:str = "ToolsFindStudyByStudyInstanceUID"): | |
6 super().__init__(name) | |
7 | |
8 def test(self): | |
9 self._orthanc.studies.find( | |
10 studyInstanceUid="99999.99999" | |
11 ) | |
12 | |
13 class TestToolsFindPatientByPatientID(Test): | |
14 | |
15 def __init__(self, name:str = "ToolsFindPatientByPatientID"): | |
16 super().__init__(name) | |
17 | |
18 def test(self): | |
19 self._orthanc.patients.find( | |
20 dicomPatientId="99999" | |
21 ) |