Deleting DICOM from database

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
adrien
Posts: 2
Joined: Thu, 2009-12-17, 16:47

Deleting DICOM from database

#1 Post by adrien »

Hello,

I am using dcmqrscp to receive DICOM images from OsiriX (a dicom viewer).
Is there a way to delete a specific file (or study) from the database? I looked at the documentation of movescu and dcmqridx but I didn't find my answer.

Thanks

Michael Onken
DCMTK Developer
Posts: 2051
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi Adrien,

there is a very "sophisticated" way of deleting ... :wink:
delete the DICOM file, then delete the index file and rebuild it with dcmqridx. There is no other way of removing a specific file.

With movescu it's not possible because there is no DICOM command to delete files from a database, so dcmqrscp does not have any mechanisms for that (unfortunately). In large parts the code goes back to the RSNA demo implementation (it was made for) in 1993. However, it should be not too complicated to build such a functionality into dcmqridx -- but nobody has done it yet.

Regards,
Michael

adrien
Posts: 2
Joined: Thu, 2009-12-17, 16:47

#3 Post by adrien »

Thanks, I'll works on that.
Have a good day.

Adrien

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest