pydicom / pynetdicom

A Python implementation of the DICOM networking protocol
https://pydicom.github.io/pynetdicom
MIT License
500 stars 176 forks source link

Retrieving MRI images on SERIES level #434

Closed DL854359743057 closed 4 years ago

DL854359743057 commented 4 years ago

Hi, I am trying to c-move MRI images on Series level. MRI series contain a time series of images. However, when i try to store an image on series level only one image is stored instead of the multiple images. I checked this by importing the received to Osirix. If I request the MRI series via Osirix I see multiple frames.

How can i receive and store all images in one Dicom file?

Code:

def handle_store(event):
    ds = event.dataset
    ds.file_meta = event.file_meta
    ds.save_as('/Volumes/MRI1/MRIs/' + ds.PatientID + '/' + ds.StudyDate + '_' + ds.StudyDescription + '_' + ds.StudyInstanceUID + '/' + ds.SeriesDescription + '_' + ds.SeriesInstanceUID + '.dcm', write_like_original=False)
    return 0x0000
            ds = Dataset()
            ds.QueryRetrieveLevel = 'SERIES'
            ds.PatientID = PatientID
            ds.StudyInstanceUID = StudyInstanceUID
            ds.SeriesInstanceUID = SeriesInstanceUID          
            ae = AE()
            ae.add_requested_context(PatientRootQueryRetrieveInformationModelMove)
            ae.supported_contexts = StoragePresentationContexts
            ae.ae_title = b'MYAE'
            scp = ae.start_server(('', 1111), block=False, evt_handlers=handlers)
            assoc = ae.associate('1.1.1.1', 1111, ae_title='SOMEAE')

            if assoc.is_established:
                # print('Connection established for MOVE')
                responses = assoc.send_c_move(ds, b'MYAE', PatientRootQueryRetrieveInformationModelMove)

                for (status, identifier) in responses:
                    if status:
                        # print('C-MOVE query status: 0x{0:04x}'.format(status.Status))
                        if status.Status in (0xFF00, 0xFF01):
                            print(identifier)
                    else:
                        print('Connection timed out, was aborted or received invalid response')
                assoc.release()
            else:
                print('Association rejected, aborted or never connected')
            scp.shutdown()
scaramallion commented 4 years ago

Can you post the log you get when you add:

from pynetdicom import debug_logger
debug_logger()

# rest of code...

Maybe also double check that your query is correct. What PACS are you making queries against?

DL854359743057 commented 4 years ago

Code:

I: Requesting Association
D: Request Parameters:
D: ========================= BEGIN A-ASSOCIATE-RQ PDU =========================
D: Our Implementation Class UID:      1.2.826.0.1.3680043.9.3811.1.4.1
D: Our Implementation Version Name:   PYNETDICOM_141
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    MYAE     
D: Called Application Name:     AEPACS         
D: Our Max PDU Receive Size:    16382
D: Presentation Context:
D:   Context ID:        1 (Proposed)
D:     Abstract Syntax: =Patient Root Query/Retrieve Information Model - MOVE
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Implicit VR Little Endian
D:       =Explicit VR Little Endian
D:       =Explicit VR Big Endian
D: Requested Extended Negotiation: None
D: Requested Common Extended Negotiation: None
D: Requested Asynchronous Operations Window Negotiation: None
D: Requested User Identity Negotiation: None
D: ========================== END A-ASSOCIATE-RQ PDU ==========================
D: Accept Parameters:
D: ========================= BEGIN A-ASSOCIATE-AC PDU =========================
D: Their Implementation Class UID:    1.2.840.113619.6.94
D: Their Implementation Version Name: CENTRICITY_4.0
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    MYAE     
D: Called Application Name:     AEPACS         
D: Their Max PDU Receive Size:  28672
D: Presentation Contexts:
D:   Context ID:        1 (Accepted)
D:     Abstract Syntax: =Patient Root Query/Retrieve Information Model - MOVE
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Little Endian
D: Accepted Extended Negotiation: None
D: Accepted Asynchronous Operations Window Negotiation: None
D: User Identity Negotiation Response: None
D: ========================== END A-ASSOCIATE-AC PDU ==========================
I: Association Accepted
I: Sending Move Request: MsgID 1
I: 
I: # Identifier DICOM Dataset
I: (0008, 0052) Query/Retrieve Level                CS: 'SERIES'
I: (0010, 0020) Patient ID                          LO: '0001563125'
I: (0020, 000d) Study Instance UID                  UI: 1.2.124.113532.161.42.10.165.20070425.192136.121203
I: (0020, 000e) Series Instance UID                 UI: 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042609591592343
I: 
D: ========================== OUTGOING DIMSE MESSAGE ==========================
D: Message Type                  : C-MOVE RQ
D: Message ID                    : 1
D: Affected SOP Class UID        : Patient Root Query/Retrieve Information Model - MOVE
D: Move Destination              : MYAE     
D: Identifier                    : Present
D: Priority                      : Low
D: ============================ END DIMSE MESSAGE =============================
D: Request Parameters:
D: ========================= BEGIN A-ASSOCIATE-RQ PDU =========================
D: Their Implementation Class UID:      1.2.840.113619.6.94
D: Their Implementation Version Name:   CENTRICITY_4.0
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Calling Application Name:    AEPACS         
D: Called Application Name:     MYAE     
D: Their Max PDU Receive Size:  28672
D: Presentation Contexts:
D:   Context ID:        1 (Proposed)
D:     Abstract Syntax: =MR Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        3 (Proposed)
D:     Abstract Syntax: =Computed Radiography Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        5 (Proposed)
D:     Abstract Syntax: =CT Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        7 (Proposed)
D:     Abstract Syntax: =Secondary Capture Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        9 (Proposed)
D:     Abstract Syntax: =Ultrasound Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        11 (Proposed)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        13 (Proposed)
D:     Abstract Syntax: =Ultrasound Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        15 (Proposed)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        17 (Proposed)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        19 (Proposed)
D:     Abstract Syntax: =X-Ray Angiographic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        21 (Proposed)
D:     Abstract Syntax: =X-Ray Angiographic Bi-Plane Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        23 (Proposed)
D:     Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        25 (Proposed)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        27 (Proposed)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        29 (Proposed)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        31 (Proposed)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        33 (Proposed)
D:     Abstract Syntax: =RT Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        35 (Proposed)
D:     Abstract Syntax: =VL Endoscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        37 (Proposed)
D:     Abstract Syntax: =VL Microscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        39 (Proposed)
D:     Abstract Syntax: =VL Photographic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        41 (Proposed)
D:     Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        43 (Proposed)
D:     Abstract Syntax: =Positron Emission Tomography Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        45 (Proposed)
D:     Abstract Syntax: =1.2.840.113619.4.26
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        47 (Proposed)
D:     Abstract Syntax: =1.2.840.113619.4.30
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        49 (Proposed)
D:     Abstract Syntax: =Verification SOP Class
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        51 (Proposed)
D:     Abstract Syntax: =MR Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        53 (Proposed)
D:     Abstract Syntax: =Computed Radiography Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        55 (Proposed)
D:     Abstract Syntax: =CT Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        57 (Proposed)
D:     Abstract Syntax: =Secondary Capture Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        59 (Proposed)
D:     Abstract Syntax: =Ultrasound Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        61 (Proposed)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        63 (Proposed)
D:     Abstract Syntax: =Ultrasound Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        65 (Proposed)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        67 (Proposed)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        69 (Proposed)
D:     Abstract Syntax: =X-Ray Angiographic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        71 (Proposed)
D:     Abstract Syntax: =X-Ray Angiographic Bi-Plane Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        73 (Proposed)
D:     Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        75 (Proposed)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        77 (Proposed)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        79 (Proposed)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        81 (Proposed)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        83 (Proposed)
D:     Abstract Syntax: =RT Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        85 (Proposed)
D:     Abstract Syntax: =VL Endoscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        87 (Proposed)
D:     Abstract Syntax: =VL Microscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        89 (Proposed)
D:     Abstract Syntax: =VL Photographic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        91 (Proposed)
D:     Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        93 (Proposed)
D:     Abstract Syntax: =Positron Emission Tomography Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        95 (Proposed)
D:     Abstract Syntax: =Storage Commitment Push Model SOP Class
D:     Proposed SCP/SCU Role: SCP
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        97 (Proposed)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        99 (Proposed)
D:     Abstract Syntax: =RT Plan Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        101 (Proposed)
D:     Abstract Syntax: =RT Structure Set Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        103 (Proposed)
D:     Abstract Syntax: =RT Beams Treatment Record Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        105 (Proposed)
D:     Abstract Syntax: =RT Brachy Treatment Record Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        107 (Proposed)
D:     Abstract Syntax: =RT Dose Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        109 (Proposed)
D:     Abstract Syntax: =RT Treatment Summary Record Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        111 (Proposed)
D:     Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        113 (Proposed)
D:     Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        115 (Proposed)
D:     Abstract Syntax: =Video Endoscopic Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =MPEG2 Main Profile / Main Level
D:   Context ID:        117 (Proposed)
D:     Abstract Syntax: =Grayscale Softcopy Presentation State Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        119 (Proposed)
D:     Abstract Syntax: =Key Object Selection Document Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        121 (Proposed)
D:     Abstract Syntax: =Storage Commitment Push Model SOP Class
D:     Proposed SCP/SCU Role: SCP
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        123 (Proposed)
D:     Abstract Syntax: =Modality Performed Procedure Step SOP Class
D:     Proposed SCP/SCU Role: SCU
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        125 (Proposed)
D:     Abstract Syntax: =Instance Availability Notification SOP Class
D:     Proposed SCP/SCU Role: SCU
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        127 (Proposed)
D:     Abstract Syntax: =Basic Text SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        129 (Proposed)
D:     Abstract Syntax: =Enhanced SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        131 (Proposed)
D:     Abstract Syntax: =Comprehensive SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        133 (Proposed)
D:     Abstract Syntax: =Procedure Log Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        135 (Proposed)
D:     Abstract Syntax: =Mammography CAD SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        137 (Proposed)
D:     Abstract Syntax: =Chest CAD SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        139 (Proposed)
D:     Abstract Syntax: =X-Ray Radiation Dose SR Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        141 (Proposed)
D:     Abstract Syntax: =Multi-frame Grayscale Byte Secondary Capture Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =JPEG Baseline (Process 1)
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        143 (Proposed)
D:     Abstract Syntax: =Multi-frame True Color Secondary Capture Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =JPEG Baseline (Process 1)
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        145 (Proposed)
D:     Abstract Syntax: =Multi-frame Grayscale Word Secondary Capture Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =JPEG Baseline (Process 1)
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        147 (Proposed)
D:     Abstract Syntax: =Standalone Curve Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        149 (Proposed)
D:     Abstract Syntax: =12-lead ECG Waveform Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        151 (Proposed)
D:     Abstract Syntax: =Encapsulated PDF Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        153 (Proposed)
D:     Abstract Syntax: =General ECG Waveform Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        155 (Proposed)
D:     Abstract Syntax: =Hemodynamic Waveform Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        157 (Proposed)
D:     Abstract Syntax: =1.2.840.113619.4.27
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        159 (Proposed)
D:     Abstract Syntax: =1.2.528.1.1001.3.1.2.3.1
D:     Proposed SCP/SCU Role: SCU
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:       =Explicit VR Big Endian
D:       =2.16.840.1.113709.1.2.1
D:   Context ID:        161 (Proposed)
D:     Abstract Syntax: =Breast Tomosynthesis Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =2.16.840.1.113709.1.2.2
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        163 (Proposed)
D:     Abstract Syntax: =Breast Tomosynthesis Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntax:
D:       =JPEG Baseline (Process 1)
D:   Context ID:        165 (Proposed)
D:     Abstract Syntax: =1.2.840.113543.6.6.1.3.10001
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        167 (Proposed)
D:     Abstract Syntax: =1.2.840.113543.6.6.1.3.10002
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        169 (Proposed)
D:     Abstract Syntax: =Raw Data Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        171 (Proposed)
D:     Abstract Syntax: =Enhanced CT Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        173 (Proposed)
D:     Abstract Syntax: =Enhanced MR Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        175 (Proposed)
D:     Abstract Syntax: =Enhanced US Volume Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        177 (Proposed)
D:     Abstract Syntax: =Segmentation Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        179 (Proposed)
D:     Abstract Syntax: =General Audio Waveform Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        181 (Proposed)
D:     Abstract Syntax: =Intravascular Optical Coherence Tomography Image Storage - For Presentation
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        183 (Proposed)
D:     Abstract Syntax: =Intravascular Optical Coherence Tomography Image Storage - For Processing
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        185 (Proposed)
D:     Abstract Syntax: =MR Spectroscopy Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        187 (Proposed)
D:     Abstract Syntax: =Enhanced XA Image Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D:   Context ID:        189 (Proposed)
D:     Abstract Syntax: =Real World Value Mapping Storage
D:     Proposed SCP/SCU Role: Default
D:     Proposed Transfer Syntaxes:
D:       =Explicit VR Big Endian
D:       =Explicit VR Little Endian
D:       =Implicit VR Little Endian
D: Requested Extended Negotiation: None
D: Requested Common Extended Negotiation: None
D: Requested Asynchronous Operations Window Negotiation: None
D: Requested User Identity Negotiation: None
D: ========================== END A-ASSOCIATE-RQ PDU ==========================
I: Accepting Association
D: Accept Parameters:
D: ========================= BEGIN A-ASSOCIATE-AC PDU =========================
D: Our Implementation Class UID:      1.2.826.0.1.3680043.9.3811.1.4.1
D: Our Implementation Version Name:   PYNETDICOM_141
D: Application Context Name:    1.2.840.10008.3.1.1.1
D: Responding Application Name: resp. AE Title
D: Our Max PDU Receive Size:    16382
D: Presentation Contexts:
D:   Context ID:        1 (Accepted)
D:     Abstract Syntax: =MR Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        3 (Accepted)
D:     Abstract Syntax: =Computed Radiography Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        5 (Accepted)
D:     Abstract Syntax: =CT Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        7 (Accepted)
D:     Abstract Syntax: =Secondary Capture Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        9 (Accepted)
D:     Abstract Syntax: =Ultrasound Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        11 (Accepted)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        13 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Image Storage
D:   Context ID:        15 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:   Context ID:        17 (Accepted)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        19 (Accepted)
D:     Abstract Syntax: =X-Ray Angiographic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        21 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =X-Ray Angiographic Bi-Plane Image Storage
D:   Context ID:        23 (Accepted)
D:     Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        25 (Accepted)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        27 (Accepted)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        29 (Accepted)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        31 (Accepted)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        33 (Accepted)
D:     Abstract Syntax: =RT Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        35 (Accepted)
D:     Abstract Syntax: =VL Endoscopic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        37 (Accepted)
D:     Abstract Syntax: =VL Microscopic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        39 (Accepted)
D:     Abstract Syntax: =VL Photographic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        41 (Accepted)
D:     Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        43 (Accepted)
D:     Abstract Syntax: =Positron Emission Tomography Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        45 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.840.113619.4.26
D:   Context ID:        47 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.840.113619.4.30
D:   Context ID:        49 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Verification SOP Class
D:   Context ID:        51 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =MR Image Storage
D:   Context ID:        53 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Computed Radiography Image Storage
D:   Context ID:        55 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =CT Image Storage
D:   Context ID:        57 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Secondary Capture Image Storage
D:   Context ID:        59 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Image Storage
D:   Context ID:        61 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:   Context ID:        63 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Image Storage
D:   Context ID:        65 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Ultrasound Multi-frame Image Storage
D:   Context ID:        67 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:   Context ID:        69 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =X-Ray Angiographic Image Storage
D:   Context ID:        71 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =X-Ray Angiographic Bi-Plane Image Storage
D:   Context ID:        73 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D:   Context ID:        75 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D:   Context ID:        77 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D:   Context ID:        79 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D:   Context ID:        81 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D:   Context ID:        83 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =RT Image Storage
D:   Context ID:        85 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =VL Endoscopic Image Storage
D:   Context ID:        87 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =VL Microscopic Image Storage
D:   Context ID:        89 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =VL Photographic Image Storage
D:   Context ID:        91 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D:   Context ID:        93 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Positron Emission Tomography Image Storage
D:   Context ID:        95 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Storage Commitment Push Model SOP Class
D:   Context ID:        97 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Nuclear Medicine Image Storage
D:   Context ID:        99 (Accepted)
D:     Abstract Syntax: =RT Plan Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        101 (Accepted)
D:     Abstract Syntax: =RT Structure Set Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        103 (Accepted)
D:     Abstract Syntax: =RT Beams Treatment Record Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        105 (Accepted)
D:     Abstract Syntax: =RT Brachy Treatment Record Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        107 (Accepted)
D:     Abstract Syntax: =RT Dose Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        109 (Accepted)
D:     Abstract Syntax: =RT Treatment Summary Record Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        111 (Accepted)
D:     Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Presentation
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        113 (Accepted)
D:     Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Processing
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        115 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Video Endoscopic Image Storage
D:   Context ID:        117 (Accepted)
D:     Abstract Syntax: =Grayscale Softcopy Presentation State Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        119 (Accepted)
D:     Abstract Syntax: =Key Object Selection Document Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        121 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Storage Commitment Push Model SOP Class
D:   Context ID:        123 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Modality Performed Procedure Step SOP Class
D:   Context ID:        125 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Instance Availability Notification SOP Class
D:   Context ID:        127 (Accepted)
D:     Abstract Syntax: =Basic Text SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        129 (Accepted)
D:     Abstract Syntax: =Enhanced SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        131 (Accepted)
D:     Abstract Syntax: =Comprehensive SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        133 (Accepted)
D:     Abstract Syntax: =Procedure Log Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        135 (Accepted)
D:     Abstract Syntax: =Mammography CAD SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        137 (Accepted)
D:     Abstract Syntax: =Chest CAD SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        139 (Accepted)
D:     Abstract Syntax: =X-Ray Radiation Dose SR Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        141 (Accepted)
D:     Abstract Syntax: =Multi-frame Grayscale Byte Secondary Capture Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        143 (Accepted)
D:     Abstract Syntax: =Multi-frame True Color Secondary Capture Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        145 (Accepted)
D:     Abstract Syntax: =Multi-frame Grayscale Word Secondary Capture Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        147 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =Standalone Curve Storage
D:   Context ID:        149 (Accepted)
D:     Abstract Syntax: =12-lead ECG Waveform Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        151 (Accepted)
D:     Abstract Syntax: =Encapsulated PDF Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        153 (Accepted)
D:     Abstract Syntax: =General ECG Waveform Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        155 (Accepted)
D:     Abstract Syntax: =Hemodynamic Waveform Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        157 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.840.113619.4.27
D:   Context ID:        159 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.528.1.1001.3.1.2.3.1
D:   Context ID:        161 (Accepted)
D:     Abstract Syntax: =Breast Tomosynthesis Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        163 (Rejected - Transfer Syntax Not Supported)
D:     Abstract Syntax: =Breast Tomosynthesis Image Storage
D:   Context ID:        165 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.840.113543.6.6.1.3.10001
D:   Context ID:        167 (Rejected - Abstract Syntax Not Supported)
D:     Abstract Syntax: =1.2.840.113543.6.6.1.3.10002
D:   Context ID:        169 (Accepted)
D:     Abstract Syntax: =Raw Data Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        171 (Accepted)
D:     Abstract Syntax: =Enhanced CT Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        173 (Accepted)
D:     Abstract Syntax: =Enhanced MR Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        175 (Accepted)
D:     Abstract Syntax: =Enhanced US Volume Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        177 (Accepted)
D:     Abstract Syntax: =Segmentation Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        179 (Accepted)
D:     Abstract Syntax: =General Audio Waveform Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        181 (Accepted)
D:     Abstract Syntax: =Intravascular Optical Coherence Tomography Image Storage - For Presentation
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        183 (Accepted)
D:     Abstract Syntax: =Intravascular Optical Coherence Tomography Image Storage - For Processing
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        185 (Accepted)
D:     Abstract Syntax: =MR Spectroscopy Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        187 (Accepted)
D:     Abstract Syntax: =Enhanced XA Image Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D:   Context ID:        189 (Accepted)
D:     Abstract Syntax: =Real World Value Mapping Storage
D:     Accepted SCP/SCU Role: Default
D:     Accepted Transfer Syntax: =Explicit VR Big Endian
D: Accepted Extended Negotiation: None
D: Accepted Asynchronous Operations Window Negotiation: None
D: User Identity Negotiation Response: None
D: ========================== END A-ASSOCIATE-AC PDU ==========================
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5801
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003809363
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5802
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003789362
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5803
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003767361
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5804
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003746360
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5805
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003726359
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5806
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003704358
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5807
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003684357
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5808
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003664356
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5809
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003642355
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5810
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003621354
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5811
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003601353
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5812
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003579352
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5813
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003559351
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5814
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003539350
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5815
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003517349
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5816
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003496348
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5817
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003476347
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5818
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003454346
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5819
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003434345
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5820
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003414344
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5821
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004121378
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5822
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004101377
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5823
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004079376
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5824
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004059375
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5825
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004039374
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5826
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004017373
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5827
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003996372
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5828
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003976371
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5829
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003954370
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5830
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003934369
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5831
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003914368
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5832
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003892367
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5833
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003871366
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5834
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003851365
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5835
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610003829364
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5836
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004309387
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5837
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004289386
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5838
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004268385
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5839
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004246384
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5840
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004226383
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5841
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004206382
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5842
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004184381
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5843
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004164380
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
I: Received Store Request
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-STORE RQ
D: Presentation Context ID       : 1
D: Message ID                    : 5844
D: Affected SOP Class UID        : MR Image Storage
D: Affected SOP Instance UID     : 1.3.46.670589.11.0.0.11.4.2.0.12038.5.674.2007042610004143379
D: Move Originator               : MYAE
D: Data Set                      : Present
D: Priority                      : Medium
D: ============================ END DIMSE MESSAGE =============================
D: pydicom.read_dataset() TransferSyntax="Big Endian Explicit"
I: Association Released
D: pydicom.read_dataset() TransferSyntax="Little Endian Implicit"
D: ========================== INCOMING DIMSE MESSAGE ==========================
D: Message Type                  : C-MOVE RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID        : Patient Root Query/Retrieve Information Model - MOVE
D: Completed Sub-operations      : 44
D: Failed Sub-operations         : 0
D: Warning Sub-operations        : 0
D: Identifier                    : None
D: DIMSE Status                  : 0x0000
D: ============================ END DIMSE MESSAGE =============================
D: 
I: Move SCP Result: 0x0000 (Success)
I: Sub-Operations Remaining: 0, Completed: 44, Failed: 0, Warning: 0
I: Releasing Association

Process finished with exit code 0

In Osirix this image contains 44 frames with is equal to the number of suboperations here.

And one more question: The max PDU size of the server is larger then then my PDU size. Can I increase my max PDU size to achieve a faster data transfer?

Best regards David

scaramallion commented 4 years ago

You can set the maximum PDU size to unlimited by either setting AE.maximum_pdu_size = 0 or by passing max_pdu=0 to AE.associate(). I really should put that latter case in the API reference...

I'm not sure what Osirix is doing (perhaps converting the separate instances to a single Enhanced MR? What's the SOP Class UID of the file you get from Osirix?), but you have 44 separate C-STORE sub-operations so having 44 separate SOP Instances is correct.

The other thing you can do to speed things up is to write the raw data to file as shown in the second example here. I really should add that to the actual storage example, too...

You're probably better off using a little endian transfer syntax, too. Big endian has been retired from the DICOM standard.

DL854359743057 commented 4 years ago

So I did not know that every frame is stored as a separate SOP instance. And I was wrong Osirix does not convert it to a single file with all frames together. It just appears to be one file in the GUI, because the frames are structured under one folder.

Thanks again for your awesome work!