An issue with sending files while SCP amd SCU are connceted and the port is open (the device is non-conformant)
See original GitHub issueDescription
The port can remain open using “storescp.py code”. I can get verification on both sides that devices are connected using “storescp.py code”. However, when a file is being sent from SCU, an abortion message is getting printed and the files is not being transferred.
Our ultrasound device is an ECO5 made by Chison company. Unfortunately, it doesn’t have a conformance statement.
@scaramallion gave me the following code:
import logging
from pydicom.dataset import Dataset
from pynetdicom3 import AE, PYNETDICOM_IMPLEMENTATION_UID
from pynetdicom3.sop_class import UltrasoundImageStorage, UltrasoundMultiframeImageStorage
LOGGER = logging.getLogger('pynetdicom3')
LOGGER.setLevel(logging.DEBUG)
ae = AE(port=11112)
ae.add_supported_context(UltrasoundImageStorage)
ae.add_supported_context(UltrasoundMultiframeImageStorage)
def on_c_store(ds, context, info):
meta = Dataset()
meta.MediaStorageSOPClassUID = ds.SOPClassUID
meta.MediaStorageSOPInstanceUID = ds.SOPInstanceUID
meta.ImplementationClassUID = PYNETDICOM_IMPLEMENTATION_UID
meta.TransferSyntaxUID = context.transfer_syntax
# Add the file meta to the dataset
ds.file_meta = meta
ds.is_little_endian = context.transfer_syntax.is_little_endian
ds.is_implicit_VR = context.transfer_syntax.is_implicit_VR
# Save the dataset using the SOP Instance UID as the filename
ds.save_as(ds.SOPInstanceUID)
# Return a 'Success' status
return 0x0000
ae.on_c_store = on_c_store
ae.start()
This code fails to get verification of DICOM connection from the SCU side; the following is the output when I request for verification:
I: Association Received
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.4
D: Their Implementation Version Name: OFFIS_DCMTK_354
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: AE_SCU
D: Called Application Name: OMID_DICOM
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =Verification SOP Class
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Implicit VR Little Endian
D: Requested Extended Negotiation:
D: Requested Common Extended Negotiation:
D: Requested Asynchronous Operations Window Negotiation: None
D: Requested User Identity Negotiation: None
D: ======================= END A-ASSOCIATE-RQ ======================
I: Association Acknowledged
D: Accept Parameters:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.4
D: Our Implementation Version Name: OFFIS_DCMTK_354
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 (Abstract Syntax Not Supported)
D: Accepted Extended Negotiation: None
D: User Identity Negotiation Response: None
D: ======================= END A-ASSOCIATE-AC ======================
I: Aborting Association
However, the code sounds keeping the port open, it gives the following error when I transfer a file:
I: Association Received
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.4
D: Their Implementation Version Name: OFFIS_DCMTK_354
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: AE_SCU
D: Called Application Name: OMID_DICOM
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =Ambulatory ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 3 (Proposed)
D: Abstract Syntax: =Ambulatory ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 5 (Proposed)
D: Abstract Syntax: =Basic Text SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 7 (Proposed)
D: Abstract Syntax: =Basic Text SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 9 (Proposed)
D: Abstract Syntax: =Basic Voice Audio Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 11 (Proposed)
D: Abstract Syntax: =Basic Voice Audio Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 13 (Proposed)
D: Abstract Syntax: =Blending Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 15 (Proposed)
D: Abstract Syntax: =Blending Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 17 (Proposed)
D: Abstract Syntax: =CT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 19 (Proposed)
D: Abstract Syntax: =CT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 21 (Proposed)
D: Abstract Syntax: =Cardiac Electrophysiology Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 23 (Proposed)
D: Abstract Syntax: =Cardiac Electrophysiology Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 25 (Proposed)
D: Abstract Syntax: =Chest CAD SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 27 (Proposed)
D: Abstract Syntax: =Chest CAD SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 29 (Proposed)
D: Abstract Syntax: =Color Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 31 (Proposed)
D: Abstract Syntax: =Color Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 33 (Proposed)
D: Abstract Syntax: =Comprehensive SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 35 (Proposed)
D: Abstract Syntax: =Comprehensive SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 37 (Proposed)
D: Abstract Syntax: =Computed Radiography Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 39 (Proposed)
D: Abstract Syntax: =Computed Radiography Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 41 (Proposed)
D: Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 43 (Proposed)
D: Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 45 (Proposed)
D: Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 47 (Proposed)
D: Abstract Syntax: =Digital Intra-Oral X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 49 (Proposed)
D: Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 51 (Proposed)
D: Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 53 (Proposed)
D: Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 55 (Proposed)
D: Abstract Syntax: =Digital Mammography X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 57 (Proposed)
D: Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 59 (Proposed)
D: Abstract Syntax: =Digital X-Ray Image Storage - For Presentation
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 61 (Proposed)
D: Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 63 (Proposed)
D: Abstract Syntax: =Digital X-Ray Image Storage - For Processing
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 65 (Proposed)
D: Abstract Syntax: =Encapsulated PDF Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 67 (Proposed)
D: Abstract Syntax: =Encapsulated PDF Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 69 (Proposed)
D: Abstract Syntax: =Enhanced CT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 71 (Proposed)
D: Abstract Syntax: =Enhanced CT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 73 (Proposed)
D: Abstract Syntax: =Enhanced MR Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 75 (Proposed)
D: Abstract Syntax: =Enhanced MR Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 77 (Proposed)
D: Abstract Syntax: =Enhanced SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 79 (Proposed)
D: Abstract Syntax: =Enhanced SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 81 (Proposed)
D: Abstract Syntax: =Enhanced XA Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 83 (Proposed)
D: Abstract Syntax: =Enhanced XA Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 85 (Proposed)
D: Abstract Syntax: =Enhanced XRF Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 87 (Proposed)
D: Abstract Syntax: =Enhanced XRF Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 89 (Proposed)
D: Abstract Syntax: =General ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 91 (Proposed)
D: Abstract Syntax: =General ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 93 (Proposed)
D: Abstract Syntax: =Grayscale Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 95 (Proposed)
D: Abstract Syntax: =Grayscale Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 97 (Proposed)
D: Abstract Syntax: =Hemodynamic Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 99 (Proposed)
D: Abstract Syntax: =Hemodynamic Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 101 (Proposed)
D: Abstract Syntax: =Key Object Selection Document Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 103 (Proposed)
D: Abstract Syntax: =Key Object Selection Document Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 105 (Proposed)
D: Abstract Syntax: =MR Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 107 (Proposed)
D: Abstract Syntax: =MR Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 109 (Proposed)
D: Abstract Syntax: =MR Spectroscopy Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 111 (Proposed)
D: Abstract Syntax: =MR Spectroscopy Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 113 (Proposed)
D: Abstract Syntax: =Mammography CAD SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 115 (Proposed)
D: Abstract Syntax: =Mammography CAD SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 117 (Proposed)
D: Abstract Syntax: =Multi-frame Grayscale Byte Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 119 (Proposed)
D: Abstract Syntax: =Multi-frame Grayscale Byte Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 121 (Proposed)
D: Abstract Syntax: =Multi-frame Grayscale Word Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 123 (Proposed)
D: Abstract Syntax: =Multi-frame Grayscale Word Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 125 (Proposed)
D: Abstract Syntax: =Multi-frame Single Bit Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 127 (Proposed)
D: Abstract Syntax: =Multi-frame Single Bit Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 129 (Proposed)
D: Abstract Syntax: =Multi-frame True Color Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 131 (Proposed)
D: Abstract Syntax: =Multi-frame True Color Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 133 (Proposed)
D: Abstract Syntax: =Nuclear Medicine Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 135 (Proposed)
D: Abstract Syntax: =Nuclear Medicine Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 137 (Proposed)
D: Abstract Syntax: =Ophthalmic Photography 16 Bit Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 139 (Proposed)
D: Abstract Syntax: =Ophthalmic Photography 16 Bit Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 141 (Proposed)
D: Abstract Syntax: =Ophthalmic Photography 8 Bit Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 143 (Proposed)
D: Abstract Syntax: =Ophthalmic Photography 8 Bit Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 145 (Proposed)
D: Abstract Syntax: =Standalone PET Curve Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 147 (Proposed)
D: Abstract Syntax: =Standalone PET Curve Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 149 (Proposed)
D: Abstract Syntax: =Positron Emission Tomography Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 151 (Proposed)
D: Abstract Syntax: =Positron Emission Tomography Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 153 (Proposed)
D: Abstract Syntax: =Procedure Log Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 155 (Proposed)
D: Abstract Syntax: =Procedure Log Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 157 (Proposed)
D: Abstract Syntax: =Pseudo-Color Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 159 (Proposed)
D: Abstract Syntax: =Pseudo-Color Softcopy Presentation State Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 161 (Proposed)
D: Abstract Syntax: =RT Beams Treatment Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 163 (Proposed)
D: Abstract Syntax: =RT Beams Treatment Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 165 (Proposed)
D: Abstract Syntax: =RT Brachy Treatment Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 167 (Proposed)
D: Abstract Syntax: =RT Brachy Treatment Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 169 (Proposed)
D: Abstract Syntax: =RT Dose Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 171 (Proposed)
D: Abstract Syntax: =RT Dose Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 173 (Proposed)
D: Abstract Syntax: =RT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 175 (Proposed)
D: Abstract Syntax: =RT Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 177 (Proposed)
D: Abstract Syntax: =RT Plan Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 179 (Proposed)
D: Abstract Syntax: =RT Plan Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 181 (Proposed)
D: Abstract Syntax: =RT Structure Set Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 183 (Proposed)
D: Abstract Syntax: =RT Structure Set Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 185 (Proposed)
D: Abstract Syntax: =RT Treatment Summary Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 187 (Proposed)
D: Abstract Syntax: =RT Treatment Summary Record Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 189 (Proposed)
D: Abstract Syntax: =Raw Data Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 191 (Proposed)
D: Abstract Syntax: =Raw Data Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 193 (Proposed)
D: Abstract Syntax: =Real World Value Mapping Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 195 (Proposed)
D: Abstract Syntax: =Real World Value Mapping Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 197 (Proposed)
D: Abstract Syntax: =Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 199 (Proposed)
D: Abstract Syntax: =Secondary Capture Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 201 (Proposed)
D: Abstract Syntax: =Spatial Fiducials Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 203 (Proposed)
D: Abstract Syntax: =Spatial Fiducials Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 205 (Proposed)
D: Abstract Syntax: =Spatial Registration Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 207 (Proposed)
D: Abstract Syntax: =Spatial Registration Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 209 (Proposed)
D: Abstract Syntax: =Stereometric Relationship Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 211 (Proposed)
D: Abstract Syntax: =Stereometric Relationship Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 213 (Proposed)
D: Abstract Syntax: =12-lead ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 215 (Proposed)
D: Abstract Syntax: =12-lead ECG Waveform Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 217 (Proposed)
D: Abstract Syntax: =Ultrasound Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 219 (Proposed)
D: Abstract Syntax: =Ultrasound Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 221 (Proposed)
D: Abstract Syntax: =Ultrasound Multi-frame Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 223 (Proposed)
D: Abstract Syntax: =Ultrasound Multi-frame Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 225 (Proposed)
D: Abstract Syntax: =VL Endoscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 227 (Proposed)
D: Abstract Syntax: =VL Endoscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 229 (Proposed)
D: Abstract Syntax: =VL Microscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 231 (Proposed)
D: Abstract Syntax: =VL Microscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 233 (Proposed)
D: Abstract Syntax: =VL Photographic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 235 (Proposed)
D: Abstract Syntax: =VL Photographic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 237 (Proposed)
D: Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 239 (Proposed)
D: Abstract Syntax: =VL Slide-Coordinates Microscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 241 (Proposed)
D: Abstract Syntax: =X-Ray Angiographic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 243 (Proposed)
D: Abstract Syntax: =X-Ray Angiographic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 245 (Proposed)
D: Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 247 (Proposed)
D: Abstract Syntax: =X-Ray Radiofluoroscopic Image Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Context ID: 249 (Proposed)
D: Abstract Syntax: =X-Ray Radiation Dose SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =JPEG Baseline (Process 1)
D: Context ID: 251 (Proposed)
D: Abstract Syntax: =X-Ray Radiation Dose SR Storage
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =Explicit VR Little Endian
D: =Explicit VR Big Endian
D: =Implicit VR Little Endian
D: Requested Extended Negotiation:
D: Requested Common Extended Negotiation:
D: Requested Asynchronous Operations Window Negotiation: None
D: Requested User Identity Negotiation: None
D: ======================= END A-ASSOCIATE-RQ ======================
I: Association Acknowledged
D: Accept Parameters:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.5.4
D: Our Implementation Version Name: OFFIS_DCMTK_354
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 (Abstract Syntax Not Supported)
D: Context ID: 3 (Abstract Syntax Not Supported)
D: Context ID: 5 (Abstract Syntax Not Supported)
D: Context ID: 7 (Abstract Syntax Not Supported)
D: Context ID: 9 (Abstract Syntax Not Supported)
D: Context ID: 11 (Abstract Syntax Not Supported)
D: Context ID: 13 (Abstract Syntax Not Supported)
D: Context ID: 15 (Abstract Syntax Not Supported)
D: Context ID: 17 (Abstract Syntax Not Supported)
D: Context ID: 19 (Abstract Syntax Not Supported)
D: Context ID: 21 (Abstract Syntax Not Supported)
D: Context ID: 23 (Abstract Syntax Not Supported)
D: Context ID: 25 (Abstract Syntax Not Supported)
D: Context ID: 27 (Abstract Syntax Not Supported)
D: Context ID: 29 (Abstract Syntax Not Supported)
D: Context ID: 31 (Abstract Syntax Not Supported)
D: Context ID: 33 (Abstract Syntax Not Supported)
D: Context ID: 35 (Abstract Syntax Not Supported)
D: Context ID: 37 (Abstract Syntax Not Supported)
D: Context ID: 39 (Abstract Syntax Not Supported)
D: Context ID: 41 (Abstract Syntax Not Supported)
D: Context ID: 43 (Abstract Syntax Not Supported)
D: Context ID: 45 (Abstract Syntax Not Supported)
D: Context ID: 47 (Abstract Syntax Not Supported)
D: Context ID: 49 (Abstract Syntax Not Supported)
D: Context ID: 51 (Abstract Syntax Not Supported)
D: Context ID: 53 (Abstract Syntax Not Supported)
D: Context ID: 55 (Abstract Syntax Not Supported)
D: Context ID: 57 (Abstract Syntax Not Supported)
D: Context ID: 59 (Abstract Syntax Not Supported)
D: Context ID: 61 (Abstract Syntax Not Supported)
D: Context ID: 63 (Abstract Syntax Not Supported)
D: Context ID: 65 (Abstract Syntax Not Supported)
D: Context ID: 67 (Abstract Syntax Not Supported)
D: Context ID: 69 (Abstract Syntax Not Supported)
D: Context ID: 71 (Abstract Syntax Not Supported)
D: Context ID: 73 (Abstract Syntax Not Supported)
D: Context ID: 75 (Abstract Syntax Not Supported)
D: Context ID: 77 (Abstract Syntax Not Supported)
D: Context ID: 79 (Abstract Syntax Not Supported)
D: Context ID: 81 (Abstract Syntax Not Supported)
D: Context ID: 83 (Abstract Syntax Not Supported)
D: Context ID: 85 (Abstract Syntax Not Supported)
D: Context ID: 87 (Abstract Syntax Not Supported)
D: Context ID: 89 (Abstract Syntax Not Supported)
D: Context ID: 91 (Abstract Syntax Not Supported)
D: Context ID: 93 (Abstract Syntax Not Supported)
D: Context ID: 95 (Abstract Syntax Not Supported)
D: Context ID: 97 (Abstract Syntax Not Supported)
D: Context ID: 99 (Abstract Syntax Not Supported)
D: Context ID: 101 (Abstract Syntax Not Supported)
D: Context ID: 103 (Abstract Syntax Not Supported)
D: Context ID: 105 (Abstract Syntax Not Supported)
D: Context ID: 107 (Abstract Syntax Not Supported)
D: Context ID: 109 (Abstract Syntax Not Supported)
D: Context ID: 111 (Abstract Syntax Not Supported)
D: Context ID: 113 (Abstract Syntax Not Supported)
D: Context ID: 115 (Abstract Syntax Not Supported)
D: Context ID: 117 (Abstract Syntax Not Supported)
D: Context ID: 119 (Abstract Syntax Not Supported)
D: Context ID: 121 (Abstract Syntax Not Supported)
D: Context ID: 123 (Abstract Syntax Not Supported)
D: Context ID: 125 (Abstract Syntax Not Supported)
D: Context ID: 127 (Abstract Syntax Not Supported)
D: Context ID: 129 (Abstract Syntax Not Supported)
D: Context ID: 131 (Abstract Syntax Not Supported)
D: Context ID: 133 (Abstract Syntax Not Supported)
D: Context ID: 135 (Abstract Syntax Not Supported)
D: Context ID: 137 (Abstract Syntax Not Supported)
D: Context ID: 139 (Abstract Syntax Not Supported)
D: Context ID: 141 (Abstract Syntax Not Supported)
D: Context ID: 143 (Abstract Syntax Not Supported)
D: Context ID: 145 (Abstract Syntax Not Supported)
D: Context ID: 147 (Abstract Syntax Not Supported)
D: Context ID: 149 (Abstract Syntax Not Supported)
D: Context ID: 151 (Abstract Syntax Not Supported)
D: Context ID: 153 (Abstract Syntax Not Supported)
D: Context ID: 155 (Abstract Syntax Not Supported)
D: Context ID: 157 (Abstract Syntax Not Supported)
D: Context ID: 159 (Abstract Syntax Not Supported)
D: Context ID: 161 (Abstract Syntax Not Supported)
D: Context ID: 163 (Abstract Syntax Not Supported)
D: Context ID: 165 (Abstract Syntax Not Supported)
D: Context ID: 167 (Abstract Syntax Not Supported)
D: Context ID: 169 (Abstract Syntax Not Supported)
D: Context ID: 171 (Abstract Syntax Not Supported)
D: Context ID: 173 (Abstract Syntax Not Supported)
D: Context ID: 175 (Abstract Syntax Not Supported)
D: Context ID: 177 (Abstract Syntax Not Supported)
D: Context ID: 179 (Abstract Syntax Not Supported)
D: Context ID: 181 (Abstract Syntax Not Supported)
D: Context ID: 183 (Abstract Syntax Not Supported)
D: Context ID: 185 (Abstract Syntax Not Supported)
D: Context ID: 187 (Abstract Syntax Not Supported)
D: Context ID: 189 (Abstract Syntax Not Supported)
D: Context ID: 191 (Abstract Syntax Not Supported)
D: Context ID: 193 (Abstract Syntax Not Supported)
D: Context ID: 195 (Abstract Syntax Not Supported)
D: Context ID: 197 (Abstract Syntax Not Supported)
D: Context ID: 199 (Abstract Syntax Not Supported)
D: Context ID: 201 (Abstract Syntax Not Supported)
D: Context ID: 203 (Abstract Syntax Not Supported)
D: Context ID: 205 (Abstract Syntax Not Supported)
D: Context ID: 207 (Abstract Syntax Not Supported)
D: Context ID: 209 (Abstract Syntax Not Supported)
D: Context ID: 211 (Abstract Syntax Not Supported)
D: Context ID: 213 (Abstract Syntax Not Supported)
D: Context ID: 215 (Abstract Syntax Not Supported)
D: Context ID: 217 (Transfer Syntax Not Supported)
D: Context ID: 219 (Accepted)
D: Accepted Transfer Syntax: =Implicit VR Little Endian
D: Context ID: 221 (Transfer Syntax Not Supported)
D: Context ID: 223 (Accepted)
D: Accepted Transfer Syntax: =Implicit VR Little Endian
D: Context ID: 225 (Abstract Syntax Not Supported)
D: Context ID: 227 (Abstract Syntax Not Supported)
D: Context ID: 229 (Abstract Syntax Not Supported)
D: Context ID: 231 (Abstract Syntax Not Supported)
D: Context ID: 233 (Abstract Syntax Not Supported)
D: Context ID: 235 (Abstract Syntax Not Supported)
D: Context ID: 237 (Abstract Syntax Not Supported)
D: Context ID: 239 (Abstract Syntax Not Supported)
D: Context ID: 241 (Abstract Syntax Not Supported)
D: Context ID: 243 (Abstract Syntax Not Supported)
D: Context ID: 245 (Abstract Syntax Not Supported)
D: Context ID: 247 (Abstract Syntax Not Supported)
D: Context ID: 249 (Abstract Syntax Not Supported)
D: Context ID: 251 (Abstract Syntax Not Supported)
D: Accepted Extended Negotiation: None
D: User Identity Negotiation Response: None
D: ======================= END A-ASSOCIATE-AC ======================
D: Abort Parameters:
D: ========================== BEGIN A-ABORT ========================
D: Abort Source: DUL service-user
D: Abort Reason: No reason given
D: =========================== END A-ABORT =========================
E: Association Aborted
Please let me know the next steps to solve the issue. Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
SCP transfer failure - Cisco Community
The failure is saving a config back to the server. We are able to copy from the server back into say bootflash of...
Read more >storescp: DICOM storage (C-STORE) SCP - DCMTK
It listens on a specific TCP/IP port for incoming association requests from a Storage Service Class User (SCU) and can receive both DICOM...
Read more >DICOM PS3.2 2015b2015c - Conformance
ISO 8822:1988 Information Processing Systems - Open Systems Interconnection - Connection oriented presentation service definition.
Read more >Sending file from Linux to Windows with SCP Comand
Check both computers that they will allow send/recieve on port 22 and try again. Make sure there is an SSH server set up...
Read more >scp files from local to remote machine error: no such file or ...
Your mistake is where you have connected to the remote machine and then typed the command. You should run the command from your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The filename is based on the dataset’s SOP Instance UID (basically a unique identifier). It’s saved in the DICOM File Format, ‘.2’ is just part of the SOP Instance UID, there is no extension.
Conversion is beyond the scope of pynetdicom, but you should be able to use pydicom + numpy + pillow to decompress the original JPEG Baseline encoded Pixel Data and then use pillow to save it to whatever format you prefer. See the pydicom user guide (in particular the ‘working with pixel data’ and ‘handling compressed data’ pages) and the pillow documentation.
Thank you so much for all of your helps! I got it working.