Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DirectoryStorageService: Remove files with same filenameTag? #4

Open
philippsteffan opened this issue Jul 21, 2014 · 0 comments
Open

Comments

@philippsteffan
Copy link

Hi,

we use the DirectoryStorageService to store DICOM files. As directory structure and filenameTag we use something similar to "DicomTag/Date/SOPInstanceUID". The content of the DicomTag is user-defined and therefore error-prone. (incoming DicomTag=A, an hour later the corrected DicomTag=B arrives, the SOPInstanceUID is identical).

Is it possible to add an optional feature, which deletes all files with the same filenameTag (=SOPInstanceUID in our case), so that users can correct their mistakes without user interaction? Something like a Map which maps filenameTag to Path and ensures that the old file (in a different directory) is removed, before the new one is written?

What's the best approach to implement this features? Would it be possible to add such a feature to the upstream CTP repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant