Skip to content

Unknown Patient IDs and Study Instance UIDs in Audit messages

Vrinda edited this page Mar 27, 2023 · 1 revision

Overview

Enabling this feature allows user to handle the scenarios/cases in emitted audit logs when there are unknown patient IDs and/or study instance UIDs in the archive.

Configuration

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: dcmAuditUnknownPatientID
      dcmAuditUnknownPatientID: <none>
      -
      
      dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
      changetype: modify
      add: dcmAuditUnknownStudyInstanceUID
      dcmAuditUnknownStudyInstanceUID: 1.2.40.0.13.1.15.110.3.165.1
      -
    

    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) in the Archive Configuration.

One may refer to Archive Device to understand the description of attributes.

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

Testing

One may store objects in the archive for example which do not have Patient IDs. Ensure that before the objects are stored, LDAP attribute dcmAcceptMissingPatientID should be added and set its value to YES. Follow the rest of the configurations as explained in Emission of Audit Messages to enable Audit logging feature and verify the above changes.

Clone this wiki locally