Command and Dataset PDV's found in single P-DATA-TF PDU

999 views
Skip to first unread message

ARTURO BUSTOS

unread,
Feb 14, 2016, 5:57:41 AM2/14/16
to Fellow Oak DICOM

Hi!


I am testing FO-DICOM 1.0.38.0 and 2.0.1.0, to send some Dicom files to the DVTk 3.3.0 SCP Emulator.


DVTk indicates “Command and Dataset PDV's found in single P-DATA-TF PDU


If I use the old MDCM or other Storage SCUs this warning is not present.


Is there any configuration or command to change this behaviour?


I need it because I suspect this is why it is failing to send the Dicom file to a “PACS RAIM”


Thank you.

Yonatan sy

unread,
Jan 24, 2017, 1:48:55 AM1/24/17
to Fellow Oak DICOM
I'm currently working with an old version of fo-dicom and got the same repl, can someone tell me if this is solved, or how can I avoid it?

Anders Gustafsson Cureos AB

unread,
Jan 25, 2017, 2:32:56 AM1/25/17
to Fellow Oak DICOM
No guarantees, but I think this issue is resolved in 3.0. Simply grab the 3.0.0-beta4 from NuGet and test it. Please report if the issue is still occurring with DVTk.

Regards,
Anders @ Cureos

ARTURO BUSTOS

unread,
May 25, 2017, 1:22:21 PM5/25/17
to Fellow Oak DICOM
Hi!

Thank you, I have tried version 3.1.0.1, but DVTK reports the same warning "Command and Dataset PDV's found in single P-DATA-TF PDU"

Regards,
Arturo Bustos

Anders Gustafsson Cureos AB

unread,
May 29, 2017, 4:49:15 AM5/29/17
to Fellow Oak DICOM
Please log the PDUs and DIMSE datasets that the fo-dicom client is sending to find out what is actually being transferred from fo-dicom. You switch on logging of this data by setting the LogDataPDUs and LogDimseDatasets properties in the DicomServiceOptions to true.

Regards,
Anders @ Cureos

ARTURO BUSTOS

unread,
May 29, 2017, 5:21:19 AM5/29/17
to Fellow Oak DICOM

The attached file FoDicom300Debug.txt is the log output of the sample Desktop.ConsoleTest.


Regards,

Arturo Bustos

FoDicom300Debug.txt

Anders Gustafsson Cureos AB

unread,
May 29, 2017, 5:29:20 AM5/29/17
to Fellow Oak DICOM
From this log I cannot see any failures. What happens if you redirect this transfer to the DVTk SCP emulator?

ARTURO BUSTOS

unread,
May 29, 2017, 5:53:24 AM5/29/17
to Fellow Oak DICOM

DVT Detailed Results File

Communication Overview:


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-ECHO-RQ


C-STORE-RQ

Secondary Capture Image Storage SOP Class

Session Details

Session ID: 1
Session Title: SCP Emulator
Application Entity Name: DICOM
Application Entity Version: 3.0
Tester: DVT
Test Date: 29/05/2017 11:43:20

DicomThread "Storage_SCP_association_1"

Listening for incoming Dicom connection on port 104...
TCP/IP - Listening for connection using unsecure port number 104 ...

Received: A_ASSOCIATE_RQ Message
Protocol Version: 1
Called AE Title: STORESCP
Calling AE Title: SCU
Application Context: 1.2.840.10008.3.1.1.1
Presentation Context Item(s):
Presentation Context ID:    ID: 1
     > Abstract Syntax: 1.2.840.10008.1.1
     > Transfer Syntax: 1.2.840.10008.1.2.1
     > Transfer Syntax: 1.2.840.10008.1.2
Presentation Context ID:    ID: 3
     > Abstract Syntax: 1.2.840.10008.5.1.4.1.1.7
     > Transfer Syntax: 1.2.840.10008.1.2.1
     > Transfer Syntax: 1.2.840.10008.1.2
User Information:
    > Maximum Length: 16384
    > Implementation Class UID: 1.3.6.1.4.1.30071.8
    > Implementation Version Name: fo-dicom 3.0.0
Asynchronous Operations Window:
    > Maximum Number Operations Invoked: 0
    > Maximum Number Operations Performed: 0


... A-ASSOCIATE-RQ received.
Validate Dul message...
VALIDATE ASSOCIATE-RQ
SEND ASSOCIATE-AC (11:44:46)

Send: A_ASSOCIATE_AC Message
Protocol Version: 1
Called AE Title: STORESCP
Calling AE Title: SCU
Application Context: 1.2.840.10008.3.1.1.1
Presentation Context Item(s):
Presentation Context ID:    ID: 1
    > Result: 0
     > Abstract Syntax: 1.2.840.10008.1.1
     > Transfer Syntax: 1.2.840.10008.1.2.1
Presentation Context ID:    ID: 3
    > Result: 0
     > Abstract Syntax: 1.2.840.10008.5.1.4.1.1.7
     > Transfer Syntax: 1.2.840.10008.1.2.1
User Information:
    > Maximum Length: 16384
    > Implementation Class UID: 1.2.826.0.1.3680043.2.1545.5
    > Implementation Version Name: 3.3.0


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0001") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0001=1
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:46)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0001") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0002") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0002=2
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0002") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0003") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0003=3
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0003") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0004") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0004=4
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0004") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0005") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0005=5
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0005") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0006") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0006=6
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0006") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0007") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0007=7
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0007") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0008") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0008=8
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0008") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74

Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x0009") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x0009=9
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x0009") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 1) is 0x4A=74


Received:
C-ECHO-RQ
(0x00000000,"0x00000038") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x0030") # Command Field
(0x00000110,"0x000A") # Message ID
(0x00000800,"0x0101") # Data Set Type


... Dicom message with Dimse Command CECHORQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Verification.def" (auto determined using Dimse Command "CECHORQ" and SOP Class UID "1.2.840.10008.1.1")...
VALIDATE C-ECHO-RQ
C-ECHO-RQ

Module: C-ECHO-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000038=56
(0000,0002) UI UI 1 + 18 Affected SOP Class UID
1.2.840.10008.1.1
(0000,0100) US US 1 + 2 Command Field
0x0030=48
(0000,0110) US US 1 + 2 Message ID
0x000A=10
(0000,0800) US US 1 + 2 Data Set Type
0x0101=257

SEND C-ECHO-RSP (11:44:47)

Send:
C-ECHO-RSP
(0x00000000,"0x00000042") # Group 0000 Length
(0x00000002,"1.2.840.10008.1.1") # Affected SOP Class UID
(0x00000100,"0x8030") # Command Field
(0x00000120,"0x000A") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status


Receiving message...
Maximum length of Command DATA-TF PDU received (with pcId 3) is 0x3FFA=16378

Warning: Command and Dataset PDV's found in single P-DATA-TF PDU

Link to Summary Result
Maximum length of Dataset DATA-TF PDU received (with pcId 3) is 0x3FFA=16378

Media file C:\Users\info\Documents\DVTk\Storage SCP Emulator\Received DICOM Messages\1I00061.dcm created, click to open DCM file in viewer.


Received:
C-STORE-RQ
(0x00000000,"0x00000066") # Group 0000 Length
(0x00000002,"1.2.840.10008.5.1.4.1.1.7") # Affected SOP Class UID
(0x00000100,"0x0001") # Command Field
(0x00000110,"0x000B") # Message ID
(0x00000700,"0x0000") # Priority
(0x00000800,"0x0202") # Data Set Type
(0x00001000,"1.2.124.113532.1.1.1") # Affected SOP Instance UID


(0x00080016,UI,"1.2.840.10008.5.1.4.1.1.7") # SOP Class UID
(0x00080018,UI,"1.2.124.113532.1.1.1") # SOP Instance UID
(0x00080020,DA,"0095.07.24") # Study Date
(0x00080030,TM,"09:39:00") # Study Time
(0x00080050,SH,"                ") # Accession Number
(0x00080060,CS,"CT") # Modality
(0x00080070,LO,"FUJI") # Manufacturer
(0x00080080,LO,"ANALOGIC/CDA") # Institution Name
(0x00080090,PN,"Anonymized") # Referring Physician's Name
(0x00100010,PN,"Anonymized") # Patient's Name
(0x0020000D,UI,"072495.0449                                                     ") # Study Instance UID
(0x0020000E,UI,"REM SAMPLES 1                                                   ") # Series Instance UID
(0x00200011,IS,"1 ") # Series Number
(0x00200013,IS,"1 ") # Instance Number
(0x00280002,US,0x0001) # Samples per Pixel
(0x00280004,CS,"MONOCHROME2 ") # Photometric Interpretation
(0x00280008,IS,"1 ") # Number of Frames
(0x00280010,US,0x0200) # Rows
(0x00280011,US,0x0200) # Columns
(0x00280030,DS,"0.2","0","0.200000") # Pixel Spacing
(0x00280100,US,0x0008) # Bits Allocated
(0x00280101,US,0x0008) # Bits Stored
(0x00280102,US,0x0007) # High Bit
(0x00280103,US,0x0000) # Pixel Representation
(0x00281052,DS,"0.0 ") # Rescale Intercept
(0x00281053,DS,"1.0 ") # Rescale Slope
(0x7FE00010,OB,"C:\Users\info\Documents\DVTk\Storage SCP Emulator\Received DICOM Messages\B08_0060.pix") # Pixel Data


... Dicom message with Dimse Command CSTORERQ received.
Validate DICOM Message using definition file "C:\Program Files (x86)\Common Files\DVTk\Definition Files\DICOM\Secondary Capture Image Storage.def" (auto determined using Dimse Command "CSTORERQ" and SOP Class UID "1.2.840.10008.5.1.4.1.1.7")...
DISPLAY: Command Set attributes
(0x00000000,"0x00000066") # Group 0000 Length
(0x00000002,"1.2.840.10008.5.1.4.1.1.7") # Affected SOP Class UID
(0x00000100,"0x0001") # Command Field
(0x00000110,"0x000B") # Message ID
(0x00000700,"0x0000") # Priority
(0x00000800,"0x0202") # Data Set Type
(0x00001000,"1.2.124.113532.1.1.1") # Affected SOP Instance UID
Data Set attributes
(0x00080016,"1.2.840.10008.5.1.4.1.1.7") # SOP Class UID
(0x00080018,"1.2.124.113532.1.1.1") # SOP Instance UID
(0x00080020,"0095.07.24") # Study Date
(0x00080030,"09:39:00") # Study Time
(0x00080050,"                ") # Accession Number
(0x00080060,"CT") # Modality
(0x00080070,"FUJI") # Manufacturer
(0x00080080,"ANALOGIC/CDA") # Institution Name
(0x00080090,"Anonymized") # Referring Physician's Name
(0x00100010,"Anonymized") # Patient's Name
(0x0020000D,"072495.0449                                                     ") # Study Instance UID
(0x0020000E,"REM SAMPLES 1                                                   ") # Series Instance UID
(0x00200011,"1 ") # Series Number
(0x00200013,"1 ") # Instance Number
(0x00280002,"0x0001") # Samples per Pixel
(0x00280004,"MONOCHROME2 ") # Photometric Interpretation
(0x00280008,"1 ") # Number of Frames
(0x00280010,"0x0200") # Rows
(0x00280011,"0x0200") # Columns
(0x00280030,"0.2","0","0.200000") # Pixel Spacing
(0x00280100,"0x0008") # Bits Allocated
(0x00280101,"0x0008") # Bits Stored
(0x00280102,"0x0007") # High Bit
(0x00280103,"0x0000") # Pixel Representation
(0x00281052,"0.0 ") # Rescale Intercept
(0x00281053,"1.0 ") # Rescale Slope
(0x7FE00010,"C:\Users\info\Documents\DVTk\Storage SCP Emulator\Received DICOM Messages\B08_0060.pix") # Pixel Data

VALIDATE C-STORE-RQ Secondary Capture Image Storage SOP Class
C-STORE-RQ

Module: C-STORE-RQ (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0000,0000) UL UL 1 + 4 Group 0000 Length
0x00000066=102
(0000,0002) UI UI 1 + 26 Affected SOP Class UID
1.2.840.10008.5.1.4.1.1.7
(0000,0100) US US 1 + 2 Command Field
0x0001=1
(0000,0110) US US 1 + 2 Message ID
0x000B=11
(0000,0700) US US 1 + 2 Priority
0x0000=0
(0000,0800) US US 1 + 2 Data Set Type
0x0202=514
(0000,1000) UI UI 1 + 20 Affected SOP Instance UID
1.2.124.113532.1.1.1

Secondary Capture Image Storage SOP Class

Module: Patient Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0010,0010) PN PN 2 + 10 Patient's Name
Anonymized
(0010,0020) LO - 2 - 0 Patient ID








Error: Type 2 attribute (0010,0020) should be present with at least a zero-length

Link to Summary Result
(0010,0030) DA - 2 - 0 Patient's Birth Date








Error: Type 2 attribute (0010,0030) should be present with at least a zero-length

Link to Summary Result
(0010,0040) CS - 2 - 0 Patient's Sex








Error: Type 2 attribute (0010,0040) should be present with at least a zero-length

Link to Summary Result
(0010,2201) LO - 1C - 0 Patient Species Description








Attribute (0010,2201) not present - but presence not important: WEAK ( F[T[NOT F[PRESENT F[./F[0x00102202]]]] AND F[PRESENT F[./F[0x00102293]]]], TRUE )
(0010,2202) SQ - 1C - 0 Patient Species Code Sequence








Attribute (0010,2202) not present - but presence not important: WEAK ( F[T[NOT F[PRESENT F[./F[0x00102202]]]] AND F[PRESENT F[./F[0x00102293]]]], TRUE )
(0010,2292) LO - 2C - 0 Patient Breed Description








Attribute (0010,2292) not present - but presence not important: WEAK ( F[T[EMPTY F[./F[0x00102293]]] AND F[PRESENT F[./F[0x00102293]]]], T[EMPTY F[./F[0x00102293]]] )
(0010,2293) SQ - 2C - 0 Patient Breed Code Sequence
(0010,2294) SQ - 2C - 0 Breed Registration Sequence
(0010,2297) PN - 2C - 0 Responsible Person








Attribute (0010,2297) not present - but presence not important: WEAK ( F[PRESENT F[./F[0x00102292]]], TRUE )
(0010,2298) CS - 1C - 0 Responsible Person Role
(0010,2299) LO - 2C - 0 Responsible Organization








Attribute (0010,2299) not present - but presence not important: WEAK ( F[PRESENT F[./F[0x00102292]]], TRUE )
(0012,0063) LO - 1C - 0 De-identification Method
(0012,0064) SQ - 1C - 0 De-identification Method Code Sequence

Module: General Study Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0008,0020) DA DA 2 + 10 Study Date
0095.07.24








Error: Attribute (0008,0020) value length 10 exceeds maximum length 8 - truncated for value(0095.07.24)

Link to Summary Result








Warning: Attribute (0008,0020) old style date format - 'YYYY.MM.DD' for value(0095.07.24). For old data created by implementations of the DICOM standard prior to V3.0, this is allowed (in this case, skip the maximum length error reported). For newer data, this is a DICOM violation.

Link to Summary Result
(0008,0030) TM TM 2 + 8 Study Time
09:39:00








Warning: Attribute (0008,0030) old style time format - 'HH:MM:SS' should not be used

Link to Summary Result
(0008,0050) SH SH 2 + 16 Accession Number
                
(0008,0090) PN PN 2 + 10 Referring Physician's Name
Anonymized
(0020,000D) UI UI 1 + 64 Study Instance UID
072495.0449                                                     








Error: Attribute (0020,000D) no leading zeros allowed in value at offset 1

Link to Summary Result
(0020,0010) SH - 2 - 0 Study ID








Error: Type 2 attribute (0020,0010) should be present with at least a zero-length

Link to Summary Result
(0040,1012) SQ - 2C - 0 Reason For Performed Procedure Code Sequence








ConditionText: Condition not defined in definition for attribute (0040,1012) - cannot be further validated

Module: General Series Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0018,5100) CS - 2C - 0 Patient Position








Attribute (0018,5100) not present - but presence not important: WEAK ( F[T[NOT F[PRESENT F[./F[0x00540410]]]] AND F[F[F[F[F[F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.2] OR F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.4]] OR F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.2.1]] OR F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.4.1]] OR F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.4.2]] OR F[VALUE T[./T[0x00080016]] ANY = 1.2.840.10008.5.1.4.1.1.4.3]]], T[NOT F[PRESENT F[./F[0x00540410]]]] )
(0020,000E) UI UI 1 + 64 Series Instance UID
REM SAMPLES 1                                                   








Error: Attribute (0020,000E) value should start with digit(s)

Link to Summary Result
(0020,0011) IS IS 2 + 2 Series Number
(0020,0060) CS - 2C - 0 Laterality








ConditionText: Condition not defined in definition for attribute (0020,0060) - cannot be further validated

Module: General Equipment Module (O)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0008,0070) LO LO 2 + 4 Manufacturer
FUJI
(0008,0080) LO LO 3 + 12 Institution Name
ANALOGIC/CDA
(0028,0120) US - 1C - 0 Pixel Padding Value








Attribute (0028,0120) not present - but presence not important: WEAK ( F[F[PRESENT F[./F[0x00280121]]] AND T[T[PRESENT T[./T[0x7FE00010]]] OR F[PRESENT F[./F[0x00287FE0]]]]], T[T[PRESENT T[./T[0x7FE00010]]] OR F[PRESENT F[./F[0x000287FE]]]] )

Module: SC Equipment Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0008,0060) CS CS 3 + 2 Modality
CT
(0008,0064) CS - 1 - 0 Conversion Type








Error: Type 1 (mandatory) attribute (0008,0064) should be present with at least one value

Link to Summary Result

Module: General Image Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0008,0023) DA - 2C - 0 Content Date








ConditionText: Attribute (0008,0023): "INFO(Required if image is part of a series in which the images are temporally related. )"
(0008,0033) TM - 2C - 0 Content Time








ConditionText: Attribute (0008,0033): "INFO(Required if image is part of a series in which the images are temporally related.)"
(0020,0013) IS IS 2 + 2 Instance Number
(0020,0020) CS - 2C - 0 Patient Orientation








Error: Attribute (0020,0020) expected according to condition: WEAK ( T[T[NOT F[PRESENT F[./F[0x00200037]]]] AND T[NOT F[PRESENT F[./F[0x00200032]]]]], )

Link to Summary Result

Module: Image Pixel Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0028,0002) US US 1 + 2 Samples per Pixel
0x0001=1
(0028,0004) CS CS 1 + 12 Photometric Interpretation
MONOCHROME2 
(0028,0006) US - 1C - 0 Planar Configuration
(0028,0010) US US 1 + 2 Rows
0x0200=512
(0028,0011) US US 1 + 2 Columns
0x0200=512
(0028,0034) IS - 1C - 0 Pixel Aspect Ratio








ConditionText: Attribute (0028,0034): "INFO(Required if the aspect ratio values do not have a ratio of 1:1 and the physical pixel spacing is not specified by Pixel Spacing (0028,0030), or Imager Pixel Spacing (0018,1164) or Nominal Scanned Pixel Spacing (0018,2010), either for the entire Image or per-frame in a Functional Group Macro. See C.7.6.3.1.7.)"
(0028,0100) US US 1 + 2 Bits Allocated
0x0008=8
(0028,0101) US US 1 + 2 Bits Stored
0x0008=8
(0028,0102) US US 1 + 2 High Bit
0x0007=7
(0028,0103) US US 1 + 2 Pixel Representation
0x0000=0
(0028,0121) US - 1C - 0 Pixel Padding Range Limit








ConditionText: Attribute (0028,0121): "INFO(Required if pixel padding is to be defined as a range rather than a single value. )"
(0028,1101) US - 1C - 0 Red Palette Color Lookup Table Descriptor
(0028,1102) US - 1C - 0 Green Palette Color Lookup Table Descriptor
(0028,1103) US - 1C - 0 Blue Palette Color Lookup Table Descriptor
(0028,1201) OW - 1C - 0 Red Palette Color Lookup Table Data
(0028,1202) OW - 1C - 0 Green Palette Color Lookup Table Data
(0028,1203) OW - 1C - 0 Blue Palette Color Lookup Table Data
(0028,7FE0) UT - 1C - 0 Pixel Data Provider URL








ConditionText: Attribute (0028,7FE0): "INFO(Required if the image is to be transferred in one of the following presentation contexts identified by Transfer Syntax UID: 1.2.840.10008.1.2.4.94 (DICOM JPIP Referenced Transfer Syntax) 1.2.840.10008.1.2.4.95 (DICOM JPIP Referenced Deflate Transfer Syntax))"
(7FE0,0010) OB OB 1C + 262144 Pixel Data
C:\Users\info\Documents\DVTk\Storage SCP Emulator\Received DICOM Messages\B08_0060.pix

Module: SC Image Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0028,0030) DS DS 1C + 14 Pixel Spacing
0.2

0

0.200000








ConditionText: Attribute (0028,0030): "INFO(Required if the image has been calibrated. May be present otherwise.)"








Error: Number of attribute (0028,0030) values 3 out of Value Multiplicity range (2..2)

Link to Summary Result
(0028,0A04) LO - 1C - 0 Pixel Spacing Calibration Description

Module: Modality LUT Module (O)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0028,1052) DS DS 1C + 4 Rescale Intercept
0.0 
(0028,1053) DS DS 1C + 4 Rescale Slope
1.0 
(0028,1054) LO - 1C - 0 Rescale Type








Error: Attribute (0028,1054) expected according to condition: T[PRESENT T[./T[0x00281052]]]

Link to Summary Result
(0028,3000) SQ - 1C - 0 Modality LUT Sequence

Module: SOP Common Module (M)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0008,0005) CS - 1C - 0 Specific Character Set








ConditionText: Attribute (0008,0005): "INFO(Required if an expanded or replacement character set is used. )"
(0008,0016) UI UI 1 + 26 SOP Class UID
1.2.840.10008.5.1.4.1.1.7
(0008,0018) UI UI 1 + 20 SOP Instance UID
1.2.124.113532.1.1.1
(0020,0013) IS IS 3 + 2 Instance Number
(0040,A390) SQ - 1C - 0 HL7 Structured Document Reference Sequence








ConditionText: Attribute (0040,A390): "INFO(Required if HL7 Structured Documents are referenced within the Instance.)"
(0400,0500) SQ - 1C - 0 Encrypted Attributes Sequence








ConditionText: Attribute (0400,0500): "INFO(Required if application level confidentiality is needed and certain recipients are allowed to decrypt all or portions of the Encrypted Attributes Data Set. Required if application level confidentiality is needed and certain recipients are allowed to decrypt all or portions of the Encrypted Attributes Data Set. )"

Module: Additional Attributes Module (O)
Attribute Def VR Dcm VR Type Pr Len Attribute Name Value(s) and Comments
(0028,0008) IS IS 3 + 2 Number of Frames


Validate: Selected Dataset definition: "Secondary Capture Image Storage SOP Class". Using AE Name "DICOM" - AE Version "3.0"

SEND C-STORE-RSP (11:44:47)

Send:
C-STORE-RSP
(0x00000000,"0x00000066") # Group 0000 Length
(0x00000002,"1.2.840.10008.5.1.4.1.1.7") # Affected SOP Class UID
(0x00000100,"0x8001") # Command Field
(0x00000120,"0x000B") # Message ID Being Responded To
(0x00000800,"0x0101") # Data Set Type
(0x00000900,"0x0000") # Status
(0x00001000,"1.2.124.113532.1.1.1") # Affected SOP Instance UID


Receiving message...

Received: A-RELEASE-RQ Message

... A_RELEASE_RQ received.
Validate Dul message...
VALIDATE RELEASE-RQ
SEND RELEASE-RP (11:44:47)

Send: A-RELEASE-RP Message

Association open 0.73 seconds
No child Threads have been started.


RESULT: FAILED
Number of Validation Errors: 11 - Number of Validation Warnings: 2

Number of User Validation Errors: 0 - Number of User Validation Warnings: 0
Number of General Errors: 0 - Number of General Warnings: 1

Anders Gustafsson Cureos AB

unread,
May 29, 2017, 7:58:09 AM5/29/17
to Fellow Oak DICOM
I would not be too concerned about the warning message, because as far as I am aware the combination of command and dataset is explicitly allowed in a single P-DATA-TF PDU (http://dicom.nema.org/MEDICAL/DICOM/current/output/chtml/part08/sect_9.3.5.html).

I would rather look at the validation errors you are receiving, since there seems to be a lot of custom data that do not correspond to the DICOM standard. Please make sure that you include sufficient data in the correct format to see if your transfer to the PACS succeeds.

Regards,
Anders

ARTURO BUSTOS

unread,
May 29, 2017, 8:13:59 AM5/29/17
to Fellow Oak DICOM

Thank you very much.

The validation errors are because of the sample dicom file included in the Sample Desktop.ConsoleTest solution. With my application and real data I get zero errors and just the mentioned warning.

I am trying to get the PACS logs but the administrators are quite hostile :-(

Anyway thank you for your support.
Reply all
Reply to author
Forward
0 new messages