Skip to content

Retrieve from Long Term Archive

Vrinda edited this page Mar 27, 2023 · 1 revision

Forward the C-MOVE requests to external archive (for no Study found with Study Instance UID on DCM4CHEE)

Configuration

Using Archive UI

  1. Go to Menu->Configuration, then on Devices page, Edit the dcm4chee-arc device. Go to Extensions and
    Edit extension of Device Extension. Again go to its Extensions and Edit extension of Archive Device.
  2. Enter value in field External Retrieve AE Destination as DCM4CHEE and Save.

Using LDAP

One may

  • create a LDIF file (e.g.):

      version: 1
      dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
      changetype: modify
      add: dcmExternalRetrieveAEDestination
      dcmExternalRetrieveAEDestination: DCM4CHEE
      -
    

    and import it to the LDAP Server by using the ldapmodify command line utility.

One can refer to Archive Device to understand the description of attribute.

Go to the Control tab on Configuration page in archive UI and reload the configuration.

Testing

  1. Trigger C-Move request to store the studies (whose objects have been deleted on DCM4CHEE archive) to destination.

a. Start the storescp tool which acts as a destination

     storescp -b STORESCP:11115

 Log snippet : 

     14:10:37,970 INFO  - Start TCP Listener on 0.0.0.0/0.0.0.0:11115

b. Trigger C-Move for the study which is no longer available on DCM4CHEE archive

     movescu -c DCM4CHEE@localhost:11112 -m StudyInstanceUID=1.2.4.0.13.1.432252867.1552647.1 --dest STORESCP

 Log snippet : 

     14:13:01,695 INFO  - MOVESCU->DCM4CHEE(1) >> 1:C-MOVE-RSP[pcid=1, completed=1, failed=0, warning=0, status=0H
       cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
       tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian
     14:13:01,697 DEBUG - Command:
     (0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.2] AffectedSOPClassUID
     (0000,0100) US [32801] CommandField
     (0000,0120) US [1] MessageIDBeingRespondedTo
     (0000,0800) US [257] CommandDataSetType
     (0000,0900) US [0] Status
     (0000,1021) US [1] NumberOfCompletedSuboperations
     (0000,1022) US [0] NumberOfFailedSuboperations
     (0000,1023) US [0] NumberOfWarningSuboperations

c. One can simultaneously also see in the storescp and dcmqrscp tool windows

 Storescp tool window Log snippet : 

     14:13:01,577 INFO  - STORESCP<-DCM4CHEE(1): M-WRITE .\1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894.part
     14:13:01,656 INFO  - STORESCP<-DCM4CHEE(1): M-RENAME .\1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894.part to .\1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894
     14:13:01,660 INFO  - STORESCP<-DCM4CHEE(1) << 1:C-STORE-RSP[pcid=1, status=0H
       cuid=1.2.840.10008.5.1.4.1.1.1 - Computed Radiography Image Storage
       iuid=1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894 - ?
       tsuid=1.2.840.10008.1.2.4.80 - JPEG-LS Lossless Image Compression
     14:13:01,662 DEBUG - Command:
     (0000,0002) UI [1.2.840.10008.5.1.4.1.1.1] AffectedSOPClassUID
     (0000,0100) US [32769] CommandField
     (0000,0120) US [1] MessageIDBeingRespondedTo
     (0000,0800) US [257] CommandDataSetType
     (0000,0900) US [0] Status
     (0000,1000) UI [1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894] Affe

 Dcmqrscp tool window Log snippet : 

     14:13:01,377 INFO  - DCMQRSCP->DCM4CHEE(425) >> 1:C-STORE-RSP[pcid=1, status=0H
       cuid=1.2.840.10008.5.1.4.1.1.1 - Computed Radiography Image Storage
       iuid=1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894 - ?
       tsuid=1.2.840.10008.1.2.4.80 - JPEG-LS Lossless Image Compression
     14:13:01,378 DEBUG - Command:
     (0000,0002) UI [1.2.840.10008.5.1.4.1.1.1] AffectedSOPClassUID
     (0000,0100) US [32769] CommandField
     (0000,0120) US [1] MessageIDBeingRespondedTo
     (0000,0800) US [257] CommandDataSetType
     (0000,0900) US [0] Status
     (0000,1000) UI [1.3.51.0.7.1265535119.17104.33870.32953.8838.26602.20894] Affe
     
     14:13:01,380 INFO  - DCMQRSCP->DCM4CHEE(425) << A-RELEASE-RQ
     14:13:01,381 DEBUG - DCMQRSCP->DCM4CHEE(425): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
     14:13:01,382 INFO  - DCMQRSCP<-MOVESCU(424) << 1:C-MOVE-RSP[pcid=1, completed=1, failed=0, warning=0, status=0H
       cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
       tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian
     14:13:01,384 INFO  - DCMQRSCP->DCM4CHEE(425) >> A-RELEASE-RP
     14:13:01,384 DEBUG - Command:
     (0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.2] AffectedSOPClassUID
     (0000,0100) US [32801] CommandField
     (0000,0120) US [1] MessageIDBeingRespondedTo
     (0000,0800) US [257] CommandDataSetType
     (0000,0900) US [0] Status
     (0000,1021) US [1] NumberOfCompletedSuboperations
     (0000,1022) US [0] NumberOfFailedSuboperations
     (0000,1023) US [0] NumberOfWarningSuboperations
Clone this wiki locally