Study Size Query Attributes Calculation - dcm4che/dcm4chee-arc-light GitHub Wiki
Eager calculation of study size and study series query attributes can now be triggered using a scheduler.
Archive Version | Notes | Configurations |
---|---|---|
upto 5.22.5 | Calculation of Study Size & Study Series Query Attributes independent form each other | (UPS On Store Rule) + UPS Processing Rule |
(Export Rule) + Exporter Descriptor | ||
5.22.6 onwards | Post calculation of Study Size, Study Series Query Attributes calculation is triggered | Configurable using archive device properties |
-
Using Archive UI :
- Go to
Configuration (page) -> Devices (tab) -> dcm4chee-arc -> Extensions -> Device Extension (Edit) -> Extensions -> Archive Device Extension (Edit) -> Attributes
- Set
Calculate Study Size Delay
,Calculate Study Size Polling Interval
,Calculate Study Size Fetch Size
andCalculate Query Attributes
andSave
.
- Go to
-
Using LDAP : Either create a LDIF file to add following attributes
version: 1 dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmCalculateQueryAttributes dcmCalculateQueryAttributes: TRUE dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmCalculateStudySizePollingInterval dcmCalculateStudySizePollingInterval: PT5M dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmCalculateStudySizeDelay dcmCalculateStudySizeDelay: PT5M
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.Go to
Configuration (page) -> Control (tab)
in archive UI and reload the configuration.
Refer ISO-8601 Duration format for more know-how on Durations.
- Store studies to archive using storescu tool.
- Once the configured
Calculate Study Size Delay
andCalculate Study Size Polling Interval
are reached, verify using Archive UINavigation (page) -> Studies (tab) -> SIZE
to view the calculated study size(s). Additionally, the same can be verified in the database tablesstudy
,series
,study_query_attrs
andseries_query_attrs