A methodology to automatically detect potential retakes in digital imaging, using the Digital Imaging and Communications in Medicine (DICOM) header information, is presented. In our hospital, neither the computed radiography workstations nor the picture archiving and communication system itself are designed to support reject analysis. A system called QCOnline, initially developed to help in the management of images and patient doses in a digital radiology department, has been used to identify those images with the same patient identification number, same modality, description, projection, date, cassette orientation, and image comments. The pilot experience lead to 6.6% and 1.9% repetition rates for abdomen and chest images. A thorough analysis has shown that the real repetitions were 3.3% and 0.9% for abdomen and chest images being the main cause of the discrepancy being the wrong image identification. The presented methodology to automatically detect potential retakes in digital imaging using DICOM header information is feasible and allows to detect deficiencies in the department performance like wrong identifications, positioning errors, wrong radiographic technique, bad image processing, equipment malfunctions, artefacts, etc. In addition, retake images automatically collected can be used for continuous training of the staff.