Ejemplo n.º 1
0
 def setUp(self):
     PeerFixtureBase.setUp(self, [
         odil.AssociationParameters.PresentationContext(
             3, odil.registry.VerificationSOPClass,
             [odil.registry.ImplicitVRLittleEndian],
             odil.AssociationParameters.PresentationContext.Role.SCU)
     ])
Ejemplo n.º 2
0
 def setUp(self):
     PeerFixtureBase.setUp(
         self, 
         [
             odil.AssociationParameters.PresentationContext(
                 3, odil.registry.VerificationSOPClass,
                 [ odil.registry.ImplicitVRLittleEndian ], True, False)
         ]
     )
Ejemplo n.º 3
0
    def setUp(self):
        PeerFixtureBase.setUp(self, [
            odil.AssociationParameters.PresentationContext(
                1, odil.registry.PatientRootQueryRetrieveInformationModelFIND,
                [odil.registry.ImplicitVRLittleEndian],
                odil.AssociationParameters.PresentationContext.Role.SCU)
        ])

        self.query = odil.DataSet()
        self.query.add("PatientName", ["Doe^John"])
        self.query.add("QueryRetrieveLevel", ["PATIENT"])
        self.query.add("PatientID")
Ejemplo n.º 4
0
    def setUp(self):
        PeerFixtureBase.setUp(self, [
            odil.AssociationParameters.PresentationContext(
                1, odil.registry.PatientRootQueryRetrieveInformationModelGET,
                [odil.registry.ImplicitVRLittleEndian], True, False),
            odil.AssociationParameters.PresentationContext(
                3, odil.registry.RawDataStorage,
                [odil.registry.ImplicitVRLittleEndian], False, True)
        ])

        self.query = odil.DataSet()
        self.query.add("PatientName", ["Doe^John"])
        self.query.add("QueryRetrieveLevel", ["PATIENT"])
Ejemplo n.º 5
0
    def setUp(self):
        PeerFixtureBase.setUp(
            self, 
            [
                odil.AssociationParameters.PresentationContext(
                1, odil.registry.PatientRootQueryRetrieveInformationModelFIND,
                [ odil.registry.ImplicitVRLittleEndian ], True, False)
            ]
        )

        self.query = odil.DataSet()
        self.query.add("PatientName", ["Doe^John"])
        self.query.add("QueryRetrieveLevel", ["PATIENT"])
        self.query.add("PatientID")
Ejemplo n.º 6
0
    def setUp(self):
        PeerFixtureBase.setUp(self, [
            odil.AssociationParameters.PresentationContext(
                1, odil.registry.RawDataStorage,
                [odil.registry.ImplicitVRLittleEndian], True, False)
        ])

        self.data_set = odil.DataSet()
        self.data_set.add("ImageType", ["ORIGINAL", "PRIMARY", "OTHER"])
        self.data_set.add("PatientID", ["1234"])
        self.data_set.add("StudyInstanceUID",
                          ["2.25.386726390606491051215227596277040710"])
        self.data_set.add("SeriesInstanceUID",
                          ["2.25.235367796740370588607388995952651763168"])
        self.data_set.add("SOPClassUID", [odil.registry.RawDataStorage])
        self.data_set.add("SOPInstanceUID",
                          ["2.25.294312554735929033890522327215919068328"])
Ejemplo n.º 7
0
    def setUp(self):
        PeerFixtureBase.setUp(
            self, 
            [
                odil.AssociationParameters.PresentationContext(
                    1, odil.registry.RawDataStorage,
                    [ odil.registry.ImplicitVRLittleEndian ], True, False
                )
            ])

        self.data_set = odil.DataSet()
        self.data_set.add("ImageType", ["ORIGINAL", "PRIMARY", "OTHER"])
        self.data_set.add("PatientID", ["1234"])
        self.data_set.add(
            "StudyInstanceUID",
            ["2.25.386726390606491051215227596277040710"])
        self.data_set.add(
            "SeriesInstanceUID",
            ["2.25.235367796740370588607388995952651763168"])
        self.data_set.add("SOPClassUID", [odil.registry.RawDataStorage])
        self.data_set.add(
            "SOPInstanceUID",
            ["2.25.294312554735929033890522327215919068328"])