Study Retention Policy - dcm4che/dcm4chee-arc-light GitHub Wiki
Study Retention Policies are needed when one wants to expire/freeze/protect certain studies in archive. These policies may get applied either when studies are stored to the archive or using the Apply Retention Policy.
3 sample Study Retention Policies have been shown below for reference.
-
Study Retention Policy can be configured on :
-
Archive device level : Set expiration date to studies on
- receive of DICOM objects by any Application Entity of Archive.
- Apply Retention Policy invoked using any AE.
Go to
Menu->Configuration, then onDevicespage click onEditof thedcm4chee-arcdevice. Go toExtensionsandEdit extensionofDevice Extension. Again go to itsExtensionsandEdit extensionofArchive Device. -
Archive Application AE extension level : Set expiration date to studies on receive of HL7 messages by this
- receive of DICOM objects by this Application Entity of Archive.
- Apply Retention Policy invoked using this AE.
Go to
Menu->Configuration, then onDevicespage click onEditof thedcm4chee-arcdevice. Go to itsChild Objectsand select anApplication Entityfrom theNetwork AEsdropdown. Go toExtensionsandEdit extensionofNetwork AE Extension. Again go to itsExtensionsandEdit extensionofArchive Network AE.
-
-
In its
Child ObjectsaddStudy Retention Policy. SpecifyName,Study Retention Periodand one or more optional values and clickSave.
One may either create a LDIF file (e.g.):
-
To configure on Archive device level,
version: 1 dn: cn=RetainCTStudies,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: add objectClass: dcmStudyRetentionPolicy objectClass: top dcmRetentionPeriod: P1Y dcmProperty: Modality=CT cn: RetainCTStudies dn: cn=THIN_SLICE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dcmExpireSeriesIndividually: TRUE dcmRetentionPeriod: P1D dcmProperty: SendingApplicationEntityTitle=STORESCU dcmProperty: SliceThickness=0.75 objectClass: dcmStudyRetentionPolicy dcmRulePriority: 2 cn: THIN_SLICE dn: cn=THICK_SLICE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dcmRetentionPeriod: P4D dcmProperty: SendingApplicationEntityTitle=STORESCU objectClass: dcmStudyRetentionPolicy dcmRulePriority: 1 cn: THICK_SLICE -
To configure on Archive AE extension level,
version: 1 dn: cn=RetainCTStudies,dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: add objectClass: dcmStudyRetentionPolicy objectClass: top dcmRetentionPeriod: P1Y dcmProperty: Modality=CT cn: RetainCTStudies dn: cn=THIN_SLICE,dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dcmExpireSeriesIndividually: TRUE dcmRetentionPeriod: P1D dcmProperty: SendingApplicationEntityTitle=STORESCU dcmProperty: SliceThickness=0.75 objectClass: dcmStudyRetentionPolicy dcmRulePriority: 2 cn: THIN_SLICE dn: cn=THICK_SLICE,dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dcmRetentionPeriod: P4D dcmProperty: SendingApplicationEntityTitle=STORESCU objectClass: dcmStudyRetentionPolicy dcmRulePriority: 1 cn: THICK_SLICEand import it to the LDAP Server by using the ldapadd command line utility or the LDIF Import... function of Apache Directory Studio
-
or directly use its New Entry... function of Apache Directory Studio to create corresponding Study Retention Policy entries on Device Level (e.g.:
dicomDeviceName=dcm4chee-arc) or on Application Entity Level (e.g:dicomAETitle=DCM4CHEE) of the Archive Configuration.
One may refer to Study Retention Policy 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.