Query regarding return type of wlmscpfs
Moderator: Moderator Team
-
- Posts: 19
- Joined: Mon, 2016-09-26, 14:08
Query regarding return type of wlmscpfs
Hi,
We are trying to emulate a RIS using dcmtk wlmscpfs. We are using dcmtk findscu to fetch the values.
We had some Query regarding the response from the wlmscpfs.
Here is our find request :
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
======================= ======================= =======================
We are searching for all the patients who are scheduled for RF modality.
We receive two responses from wlmscpfs. Which are pasted below
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 2
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Culprit ] # 8, 1 PatientName
D: (0010,0020) LO [AV35674 ] # 8, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 36, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 28, 1 Item
D: (0008,0060) CS [MR] # 2, 1 Modality
D: (0040,0001) AE [AA32\AA33 ] # 10, 2 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
======================= ======================= =======================
In the second response we received a patient who was scheduled for "MR" instead of "RF" which we had queried.
Can you please help me if we have missed anything or our understanding is wrong ?
We are trying to emulate a RIS using dcmtk wlmscpfs. We are using dcmtk findscu to fetch the values.
We had some Query regarding the response from the wlmscpfs.
Here is our find request :
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
======================= ======================= =======================
We are searching for all the patients who are scheduled for RF modality.
We receive two responses from wlmscpfs. Which are pasted below
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 2
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Culprit ] # 8, 1 PatientName
D: (0010,0020) LO [AV35674 ] # 8, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 36, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 28, 1 Item
D: (0008,0060) CS [MR] # 2, 1 Modality
D: (0040,0001) AE [AA32\AA33 ] # 10, 2 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
======================= ======================= =======================
In the second response we received a patient who was scheduled for "MR" instead of "RF" which we had queried.
Can you please help me if we have missed anything or our understanding is wrong ?
-
- DCMTK Developer
- Posts: 2073
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Query regarding return type of wlmscpfs
Hi,
which version of DCMTK (findscu and wlmscpfs) are you using?
Best,
Michael
[Edit] I could not reproduce this with a current DCMTK (3.6.2), also I am not aware of an earlier bug triggering this behavior.
As a side note: Why are you sending QueryRetrieveLevel? It is no meaningful attribute for Worklist and thus will be ignored (that is why you get "DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys" as a return status. Of course I agree that there should not be a response at all.
which version of DCMTK (findscu and wlmscpfs) are you using?
Best,
Michael
[Edit] I could not reproduce this with a current DCMTK (3.6.2), also I am not aware of an earlier bug triggering this behavior.
As a side note: Why are you sending QueryRetrieveLevel? It is no meaningful attribute for Worklist and thus will be ignored (that is why you get "DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys" as a return status. Of course I agree that there should not be a response at all.
-
- Posts: 19
- Joined: Mon, 2016-09-26, 14:08
Re: Query regarding return type of wlmscpfs
Sorry, we had missed to add the version of the findscu & wlmscpfs in our query. We will make sure to share all the details from next time on wards.
Please find the version numbers inline to your question.
C:\Users\Arunodaya>findscu -v
$dcmtk: findscu v3.6.1 2016-06-30 $
wlmscpfs version :
C:\Users\Arunodaya>wlmscpfs -v
$dcmtk: wlmscpfs v3.6.1 2016-06-30 $
Here is the full debug output :
C:\share\dcmtk\wlistqry>findscu -W -v -d -aec "OFFIS" 172.16.10.72 5678 test.dcm
D: $dcmtk: findscu v3.6.1 2016-06-30 $
D:
D: DcmDataDictionary: Loading file: C:\Program Files (x86)\share\dcmtk\dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: resp. AP Title
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
D: 02 00 00 00 00 ba 00 01 00 00 4f 46 46 49 53 20
D: 20 20 20 20 20 20 20 20 20 20 46 49 4e 44 53 43
D: 55 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 1b 01 00 00 00 40 00 00 13 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 2e 31 50 00 00 3a 51 00 00 04 00 00 40 00 52 00
D: 00 1b 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30
D: 30 31 30 2e 33 2e 30 2e 33 2e 36 2e 31 55 00 00
D: 0f 4f 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 31
D:
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Their Implementation Version Name: OFFIS_DCMTK_361
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: OFFIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianExplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little Endian Explicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 2
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Culprit ] # 8, 1 PatientName
D: (0010,0020) LO [AV35674 ] # 8, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 36, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 28, 1 Item
D: (0008,0060) CS [MR] # 2, 1 Modality
D: (0040,0001) AE [AA32\AA33 ] # 10, 2 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : none
D: DIMSE Status : 0x0000: Success
D: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
Please find the version numbers inline to your question.
findscu version :Michael Onken wrote:Hi,
which version of DCMTK (findscu and wlmscpfs) are you using?
C:\Users\Arunodaya>findscu -v
$dcmtk: findscu v3.6.1 2016-06-30 $
wlmscpfs version :
C:\Users\Arunodaya>wlmscpfs -v
$dcmtk: wlmscpfs v3.6.1 2016-06-30 $
Here is the full debug output :
C:\share\dcmtk\wlistqry>findscu -W -v -d -aec "OFFIS" 172.16.10.72 5678 test.dcm
D: $dcmtk: findscu v3.6.1 2016-06-30 $
D:
D: DcmDataDictionary: Loading file: C:\Program Files (x86)\share\dcmtk\dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: resp. AP Title
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
D: 02 00 00 00 00 ba 00 01 00 00 4f 46 46 49 53 20
D: 20 20 20 20 20 20 20 20 20 20 46 49 4e 44 53 43
D: 55 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 1b 01 00 00 00 40 00 00 13 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 2e 31 50 00 00 3a 51 00 00 04 00 00 40 00 52 00
D: 00 1b 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30
D: 30 31 30 2e 33 2e 30 2e 33 2e 36 2e 31 55 00 00
D: 0f 4f 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 31
D:
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Their Implementation Version Name: OFFIS_DCMTK_361
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: OFFIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianExplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little Endian Explicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 2
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Culprit ] # 8, 1 PatientName
D: (0010,0020) LO [AV35674 ] # 8, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 36, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 28, 1 Item
D: (0008,0060) CS [MR] # 2, 1 Modality
D: (0040,0001) AE [AA32\AA33 ] # 10, 2 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : none
D: DIMSE Status : 0x0000: Success
D: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
We were using an old query file which had this tag. We had forgot to remove that.Michael Onken wrote:As a side note: Why are you sending QueryRetrieveLevel? It is no meaningful attribute for Worklist and thus will be ignored (that is why you get "DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys" as a return status. Of course I agree that there should not be a response at all.
-
- DCMTK Developer
- Posts: 2073
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Query regarding return type of wlmscpfs
Hi,
I have no idea what happens, sorry...
Can you try a current version of DCMTK? Otherwise I would have to rebuild your version.
Best,
Michael
I have no idea what happens, sorry...
Can you try a current version of DCMTK? Otherwise I would have to rebuild your version.
Best,
Michael
-
- Posts: 19
- Joined: Mon, 2016-09-26, 14:08
Re: Query regarding return type of wlmscpfs
I tried with the latest version DCMTK (3.6.2) and did not find the issue.Michael Onken wrote:Hi,
I have no idea what happens, sorry...
Can you try a current version of DCMTK? Otherwise I would have to rebuild your version.
Best,
Michael
Please find the full debug log:
C:\Downloads\dcmtk-3.6.2-win64-dynamic\dcmtk-3.6.2-win64-dynamic\bin>findscu_3_6_2.exe -v -d -aec "OFFIS" 172.16.10.72 5678 test.dcm
D: $dcmtk: findscu v3.6.2 2017-07-14 $
D:
D: DcmDataDictionary: Loading file: C:\Program Files (x86)\share\dcmtk\dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.2
D: Our Implementation Version Name: OFFIS_DCMTK_362
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: OFFIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
D: 02 00 00 00 00 ba 00 01 00 00 4f 46 46 49 53 20
D: 20 20 20 20 20 20 20 20 20 20 46 49 4e 44 53 43
D: 55 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 1b 01 00 00 00 40 00 00 13 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 2e 31 50 00 00 3a 51 00 00 04 00 00 40 00 52 00
D: 00 1b 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30
D: 30 31 30 2e 33 2e 30 2e 33 2e 36 2e 32 55 00 00
D: 0f 4f 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 32
D:
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.2
D: Our Implementation Version Name: OFFIS_DCMTK_362
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.2
D: Their Implementation Version Name: OFFIS_DCMTK_362
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: OFFIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianExplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little Endian Explicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : none
D: DIMSE Status : 0x0000: Success
D: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
C:\Downloads\dcmtk-3.6.2-win64-dynamic\dcmtk-3.6.2-win64-dynamic\bin>
Is it possible to have a patch for 3.6.1 for this issue ?
-
- Posts: 19
- Joined: Mon, 2016-09-26, 14:08
Re: Query regarding return type of wlmscpfs
Hi ,Arunodaya S wrote:
Is it possible to have a patch for 3.6.1 for this issue ?
By further debugging we found out that the issue is with the older version of wlmscpfs.
We tried using the older findscu (i.e, 3.6.1) with the latest wlmscpfs (i.e, 3.6.2) and it works fine.
Here is the debug output :
C:\share\dcmtk\wlistqry>findscu -v -d -aec "OFFIS" 172.16.10.72 5678 test.dcm
D: $dcmtk: findscu v3.6.1 2016-06-30 $
D:
D: DcmDataDictionary: Loading file: C:\Program Files (x86)\share\dcmtk\dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: resp. AP Title
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
D: 02 00 00 00 00 ba 00 01 00 00 4f 46 46 49 53 20
D: 20 20 20 20 20 20 20 20 20 20 46 49 4e 44 53 43
D: 55 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 1b 01 00 00 00 40 00 00 13 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 2e 31 50 00 00 3a 51 00 00 04 00 00 40 00 52 00
D: 00 1b 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30
D: 30 31 30 2e 33 2e 30 2e 33 2e 36 2e 32 55 00 00
D: 0f 4f 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 32
D:
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.1
D: Our Implementation Version Name: OFFIS_DCMTK_361
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.2
D: Their Implementation Version Name: OFFIS_DCMTK_362
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: FINDSCU
D: Called Application Name: OFFIS
D: Responding Application Name: OFFIS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDModalityWorklistInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianExplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little Endian Explicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Sending Find Request
D: ===================== OUTGOING DIMSE MESSAGE ====================
D: Message Type : C-FIND RQ
D: Presentation Context ID : 1
D: Message ID : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: Priority : low
D: ======================= END DIMSE MESSAGE =======================
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0052) CS [PATIENT ] # 8, 1 QueryRetrieveLevel
I: (0010,0010) PN (no value available) # 0, 0 PatientName
I: (0010,0020) LO (no value available) # 0, 0 PatientID
I: (0040,0100) SQ (Sequence with explicit length #=1) # 26, 1 ScheduledProcedureStepSequence
I: (fffe,e000) na (Item with explicit length #=2) # 18, 1 Item
I: (0008,0060) CS [RF] # 2, 1 Modality
I: (0040,0001) AE (no value available) # 0, 0 ScheduledStationAETitle
I: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
I: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
I:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
D: DcmDataset::read() TransferSyntax="Little Endian Explicit"
I: Received Find Response 1
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : present
D: DIMSE Status : 0xff01: Pending: Warning - Unsupported optional keys
D: ======================= END DIMSE MESSAGE =======================
D: Response Identifiers:
D:
D: # Dicom-Data-Set
D: # Used TransferSyntax: Little Endian Explicit
D: (0010,0010) PN [Amit] # 4, 1 PatientName
D: (0010,0020) LO [HF] # 2, 1 PatientID
D: (0040,0100) SQ (Sequence with explicit length #=1) # 46, 1 ScheduledProcedureStepSequence
D: (fffe,e000) na (Item with explicit length #=2) # 38, 1 Item
D: (0008,0060) CS [RF] # 2, 1 Modality
D: (0040,0001) AE [FG56\ER67\JJ56\TZ77 ] # 20, 4 ScheduledStationAETitle
D: (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem
D: (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem
D:
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Final Find Response
D: ===================== INCOMING DIMSE MESSAGE ====================
D: Message Type : C-FIND RSP
D: Message ID Being Responded To : 1
D: Affected SOP Class UID : FINDModalityWorklistInformationModel
D: Data Set : none
D: DIMSE Status : 0x0000: Success
D: ======================= END DIMSE MESSAGE =======================
I: Releasing Association
Regards,
Arun
-
- DCMTK Developer
- Posts: 2073
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Query regarding return type of wlmscpfs
OK great, I hope that is enough to know for you. Sorry for the old bug.
Best,
Michael
Best,
Michael
-
- Posts: 19
- Joined: Mon, 2016-09-26, 14:08
Re: Query regarding return type of wlmscpfs
Michael Onken wrote:OK great, I hope that is enough to know for you. Sorry for the old bug.
Best,
Michael
Thanks for your support
Who is online
Users browsing this forum: No registered users and 1 guest