view PerfsDb/Tests/ToolsFind.py @ 282:a49055a3399b Orthanc-1.6.0

Added tag Orthanc-1.6.0 for changeset 99acf0c17348
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Mar 2020 14:50:02 +0100
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"
        )