Delete Options in Documents to Clinicians & Front Office Users

papin0 wrote on Monday, August 11, 2014:

right now the only way to delete an uploaded documents is to have administrator rights.
How can give the delete right without giving admin rights to the clinicians and front office users?

TIA

cmswest wrote on Monday, August 11, 2014:

as admin navigate to administration->acl and take a look at the attachment

you can move the inactive entries over to active by selecting and then clicking on the << button

papin0 wrote on Monday, August 11, 2014:

that’s the way we have it but still won’t show the delete button

cmswest wrote on Monday, August 11, 2014:

sorry, looks like only superuser gets the delete button which probably defeats the purpose of defining a role

probably best guidance is not to delete anything or create list of documents that need to be deleted and then approved by practice and accomplished by admin/superuser

penguin8r wrote on Wednesday, August 13, 2014:

One other option, is to add a Category named something like ‘ZZZ-Deleted’ to the list of document categories in the system. The ‘Z’ prefix keeps it at the bottom of the list, and then you can establish an automated routine to delete anything stored in that category, or send a report to someone who is a designated deleter with Admin permissions to review and remove. That way, regular staff can just move the document to that category, without needing admin permissions.
Not perfect, but it is one way to deal with necessary deletions. You can also establish a dummy patient to assign documents to that you want to queue for deletion.

papin0 wrote on Wednesday, August 13, 2014:

That sounds very good Penguin8R it will help a lot; how can I establish an automated routine to delete anything stored in that category?

TIA

visolveemr wrote on Friday, September 05, 2014:

Hello Jose,

we can set a cron job with a custom PHP file/function for Automated routine to delete items under that category.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com
Demo’s @ ViSolve Demo Library

blankev wrote on Friday, September 05, 2014:

Set a cron job sounds easy, but is this for all OpenEMR productions, or only the Linux versions?

BTW it might be easy for you, but for me as a User with almost to zero non cron job experience it is still definitely NOT easy. (The WIKI pages are some help but vague for me as a non programmer)

visolveemr wrote on Monday, September 08, 2014:

On windows we can use “Scheduled Tasks” to set the automated routine job.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com
Demo’s @ ViSolve Demo Library

blankev wrote on Monday, September 08, 2014:

tnx, will give it a try and find a way to let windows do the same. Also easy to delete all the PDF files created by the RX printing.