movescu with dcmtk 3.6.0

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
91francois91
Posts: 3
Joined: Mon, 2015-03-16, 12:06

movescu with dcmtk 3.6.0

#1 Post by 91francois91 »

I wish I get the pictures and not present in the PACS exams of my diagnostic console from a central PACS
For this I use the command line
movescu --move AETDEST +P 1015 -k 0008,0060=US -k QueryRetrieveLevel=STUDY --pending-read -aet AETDEST -aec AETPACS 192.168.0.12 104 -v -d

The problem is:
By "--pending-read" I have to retrieve only the missing images, while I retrieves images.

Do you have an idea

thank you

LOG:

D: $dcmtk: movescu v3.6.0 2011-01-06 $
D:
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
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: AETDEST
D: Called Application Name: AETPACS
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: =FINDPatientRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianExplicit
D: =BigEndianExplicit
D: =LittleEndianImplicit
D: Context ID: 3 (Proposed)
D: Abstract Syntax: =MOVEPatientRootQueryRetrieveInformationModel
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: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 210 + 6 bytes PDU header
D: 02 00 00 00 00 d2 00 01 00 00 4d 45 44 49 50 41
D: 43 53 20 20 20 20 20 20 20 20 61 6c 6d 61 20 20
D: 20 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 19 01 00 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 21 00 00 19 03 32 00 31 40 00 00 11 31 2e 32 2e
D: 38 34 30 2e 31 30 30 30 38 2e 31 2e 32 50 00 00
D: 37 51 00 00 04 00 00 7f fa 52 00 00 19 31 2e 32
D: 2e 38 32 36 2e 30 2e 31 2e 33 36 38 30 30 34 33
D: 2e 32 2e 37 33 37 55 00 00 0e 50 41 43 53 4f 4e
D: 45 30 31 41 55 47 30 33
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.0
D: Our Implementation Version Name: OFFIS_DCMTK_360
D: Their Implementation Class UID: 1.2.826.0.1.3680043.2.737
D: Their Implementation Version Name: PACSONE01AUG03
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: AETDEST
D: Called Application Name: AETPACS
D: Responding Application Name: AETPACS
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 32762
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Context ID: 3 (Accepted)
D: Abstract Syntax: =MOVEPatientRootQueryRetrieveInformationModel
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =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-AC ======================
I: Association Accepted (Max Send PDV: 32750)
I: Sending Move Request: MsgID 1
I: Request:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Unknown Transfer Syntax
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0008,0060) CS [US] # 2, 1 Modality
I:
I: Move Response 1:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEPatientRootQueryRetrieveInformationModel
I: Remaining Suboperations : 2
I: Completed Suboperations : 0
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: Move Response 2:
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEPatientRootQueryRetrieveInformationModel
I: Remaining Suboperations : 1
I: Completed Suboperations : 1
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0xff00: Pending
I: ======================= END DIMSE MESSAGE =======================
I: ===================== INCOMING DIMSE MESSAGE ====================
I: Message Type : C-MOVE RSP
I: Message ID Being Responded To : 1
I: Affected SOP Class UID : MOVEPatientRootQueryRetrieveInformationModel
I: Remaining Suboperations : 0
I: Completed Suboperations : 2
I: Failed Suboperations : 0
I: Warning Suboperations : 0
I: Data Set : none
I: DIMSE Status : 0x0000: Success
I: ======================= END DIMSE MESSAGE =======================
I: Releasing Association

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: movescu with dcmtk 3.6.0

#2 Post by J. Riesmeier »

I'm sorry but I don't understand what you want to do.
The --pending-read option is a workaround for buggy SCPs.

91francois91
Posts: 3
Joined: Mon, 2015-03-16, 12:06

Re: movescu with dcmtk 3.6.0

#3 Post by 91francois91 »

My setup is as follows:

PACS A
Pacs B

I am recovering from Pacs A present only non exams in the PACS B
the idea is to run in the background stain MoveScu function to query the PACS A every 5 minutes to retrieve only the exams not present in the PACS B

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: movescu with dcmtk 3.6.0

#4 Post by J. Riesmeier »

Then you should query for all exams (Study Instance UIDs) in PACS A (using findscu), remove those exams from the list that are already present in PACS B, and retrieve these exams from PACS B (using movescu). However, if I were you I would write a small program for that purpose.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest