Hello !
I'm currently configuring dcm4chee and I cannot figure out how to do the 4 following things:
1) Programmatically schedule a study for deletion. I need to do that from a java application running on the same server. I have tried to manually flag the study as deletable by changing the "mark_to_delete" field of the study_on_fs table to true but it doesn't seem to do anything. Is there something I am missing? Is it possible to do it by calling something related to the jmx-console? Is that something that can be done through an HTTP request?
2) I have created 3 storages. The first one "PUBLIC" is supposed to contain all the files that all users will be able to see. The second one "PRIVATE" will contain only files that some users will be able to see. The last one "DELETABLE" is supposed to contain all files that will be deleted. I planned on configuration the deletion criteria in the latter in such a way that it would regularly delete the files. However I cannot figure out how to move (or even copy and then delete from source) files from one storage to another. When I do a store or a move, it says that the instance is already known in the db and nothing is done. Is it possible to move files from one storage to another? If yes, how? I also need to achieve this in my java application.
3) This links to another issue that I have : is it possible to configure dcm4chee in such a way that when an existing series is received, it still triggers the forwards and series-permissions stylesheets?
4) When a file is received one the AETitle associated with the two storages "PUBLIC" and "PRIVATE" mentionned above, I grant all permissions on the series to the role "public" or "private" depending on the called AET. This works as expected and I'm able to then associate a client AETitle with a specific user (e.g. AETitle "CLIENT_PUBLIC" is associated with the user "public" who has the role "public"). That way, I make sure that the users only see what is appropriate. However, I'd like to simplify this a bit by simply selecting the appropriate user based on the CALLED_AET and not the CLIENT_AET. Is this possible?
Many thanks!
Regards,
Maximilien