Comparing archives - dcm4che/dcm4chee-arc-light GitHub Wiki

Overview

One may choose to compare two archives to see the differences in terms of studies or patients between the two archives. This can help in estimating which archive side shall be synced with the other, to have studies and patients information in sync on both sides.

Configuration

  • Create a Remote Application Entity for two archives which shall act as primary C-FIND SCP and secondary C-FIND SCP. If one wants to compare dcm4chee-arc archive with another archive, then creating a Remote Application Entity for secondary C-FIND SCP shall be sufficient as DCM4CHEE of dcm4chee-arc itself shall act as primary C-FIND SCP.

Using Archive UI

  • Go to Configuration -> Devices -> dcm4chee-arc -> Device Extension -> Web Applications.
  • Create a Web Application with Web Service Class as QIDO, QIDO_COUNT, DCM4CHEE_ARC_AET_DIFF. Select AE Title as DCM4CHEE and Web Service Path as /dcm4chee-arc/aets/DCM4CHEE/dimse/DCM4CHEE/diff/DCM4CHEE_CLONE.
  • Here it is assumed that DCM4CHEE is acting as primary C-FIND SCP and DCM4CHEE_CLONE as secondary C-FIND SCP. If both the C-FIND SCPs are different from dcm4chee-arc archive, then Web Service Path shall be configured as /dcm4chee-arc/aets/DCM4CHEE/dimse/PRIMARY_C-FIND_AET/diff/SECONDARY_C-FIND_AET.

Using LDAP

One may either

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

      version: 1
      
      dn: dcmWebAppName=DCM4CHEE-DEMOJ4C-DIFF,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
      dcmWebServiceClass: QIDO_RS
      dcmWebServiceClass: QIDO_COUNT
      dcmWebServiceClass: DCM4CHEE_ARC_AET_DIFF
      objectClass: dcmWebApp
      dicomAETitle: DCM4CHEE
      dcmWebAppName: DCM4CHEE-DEMOJ4C-DIFF
      dcmWebServicePath: /dcm4chee-arc/aets/DCM4CHEE/dimse/DCM4CHEE/diff/DCM4CHEE_CLONE
    

Testing

//TODO : Currently due to a known issue the testing is not possible with archive UI.

This feature can also be used with curl, by directly invoking one of the Compare Studies between archives RESTful services.

If Compare Studies is done over queue, i.e. queue = true or Compare Studies specified in CSV is used, then one can also monitor it in Monitoring page -> Queues tab by selecting Diff Tasks from the Queue Name field or also in Monitoring page -> Diffs tab.

⚠️ **GitHub.com Fallback** ⚠️