Proxy query retrieve requests to another Archive
This feature can be enabled for the case wherein DCM4CHEE archive acts as a long term archive and there also exists a 'Leading' archive which receives the regular DICOM/HL7 updates but doesn't forward the same to the long term archive. By enabling this feature, when the workstation/viewers do a query/retrieve to DCM4CHEE long term archive they will receive updated attributes of patient/study objects.
- Go to
Menu->Configuration
, then onDevices
page,Edit
thedcm4chee-arc
device. Go toExtensions
and
Edit extension
ofArchive Device
. - Enter values in fields
Leading C-Find SCP Query Cache Stale Timeout
andLeading C-Find SCP Query Cache Size
as required by one's application needs andSave
. - Next go to the archive device extension's
Child Objects
and use+
to add anArchive Attribute Coercion
. Enter values in fieldsName
,DIMSE
andDICOM Transfer Role
and any other optional fields andSave
.
One may either
-
create a LDIF file (e.g.):
version: 1 dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmLeadingCFindSCPQueryCacheStaleTimeout dcmLeadingCFindSCPQueryCacheStaleTimeout: PT5M - dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmLeadingCFindSCPQueryCacheSize dcmLeadingCFindSCPQueryCacheSize: 50 - dn: cn=Leading DCMQRSCP,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmArchiveAttributeCoercion cn: Leading DCMQRSCP dcmDIMSE: C_STORE_RQ dicomTransferRole: SCP dcmProperty: ReceivingApplicationEntityTitle=STORESCP dcmLeadingCFindSCP: QRSCP -
and import it to the LDAP Server by using the ldapmodify command line utility.
-
or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Device Level (e.g.:
dicomDeviceName=dcm4chee-arc
) of the Archive Configuration.
Note that if dcmLeadingCFindSCPQueryCacheSize attribute is set to 0, then one must set dcmLeadingCFindSCPQueryCacheStaleTimeout to avoid out of memory issues.
One may refer to Archive Device and Archive Attribute Coercion to understand the description of attributes.
Refer ISO-8601 Duration format for more know-how on Durations.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
- dcmqrscp implements a simple image archive
- storescp simulating the external object destination (e.g. workstation) STORESCP, to which received objects are forwarded
- movescu implements both an SCU for the Query/Retrieve Service Class and an SCP for the Storage Service Class
-
Start dcmqrscp tool to act as leading archive and feed the tool with a study using movescu
dcmqrscp -b QRSCP:11113 --dicomdir \tmp\DICOMDIR
-
Start storescp tool to act as viewer/worklist station, which should eventually receive updated patient/study object from dcmqrscp
storescp -b STORESCP:11115
-
Modify patient/study attribute of original patient/study using archive UI (after it has been sent to the QRSCP). Now using movescu store the study/patient on STORESCP destination. The original study/patient should be received on STORESCP.
movescu -c DCM4CHEE@localhost:11112 -m StudyInstanceUID=1.2.3.4.5 --dest STORESCP
DCM4CHEE 5 Documentation