view PerfsDb/Tests/ToolsFind.py @ 331:32692c1d153c

Added tag Orthanc-1.7.3 for changeset de8f7a80eed1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Aug 2020 07:29:12 +0200
parents dbc42a03ee75
children
line wrap: on
line source

from Test import Test

class TestToolsFindStudyByStudyInstanceUID(Test):

    def __init__(self, name:str = "ToolsFindStudyByStudyInstanceUID"):
        super().__init__(name)

    def test(self):
        self._orthanc.studies.find(
            studyInstanceUid="99999.99999"
        )

class TestToolsFindPatientByPatientID(Test):

    def __init__(self, name:str = "ToolsFindPatientByPatientID"):
        super().__init__(name)

    def test(self):
        self._orthanc.patients.find(
            dicomPatientId="99999"
        )