Delete records

nzimas wrote on Saturday, March 25, 2006:

Hi there,

I can’t seem to find any option to delete patient or encounter records anywhere in the app. I have been reading through the user manual and, as far as i could see, there is a “Delete” option next to “Demographics” which does not appear on my session.

If this elemental harm is solved, more questions will follow.

TIA.

Nuno.

sunsetsystems wrote on Monday, March 27, 2006:

This feature is protected by access control, so normally you would be expected to use phpGACL.  "super" access in the "admin" section is required.

Otherwise you could modify library/acl.inc and change this line:

    if ($section == ‘admin’ && $value == ‘super’) return 0;

to something like:

    if ($user == ‘admin’ && $section == ‘admin’ && $value == ‘super’) return 1;

– Rod
www.sunsetsystems.com

nzimas wrote on Thursday, April 06, 2006:

Your hint works perfectly in almost all cases.
I still cannot find a way to delete a form record WITHIN an encounter.

Let’s say that i have been inputing wrong data in the Vitals or Habits form, is there a way to edit/delete such data?

Regards,

Nuno.

drbowen wrote on Thursday, April 06, 2006:

Sure.  You just reopen the form and change the information to the correct info and save the form again.

Sam Bowen, MD

nzimas wrote on Friday, April 07, 2006:

In some forms it is not possible (like "habits"), but i guess it is due to their faulty deisgn.

Nuno.

drbowen wrote on Friday, April 07, 2006:

"Delete" is specifically made difficult to do primarily because of the HIPPA regulations in the United States.  In a paper chart errors are corrected by drawing a single straight line with black ink through the error. 

The US CMS know precisely how easy "delete" is to do.  So programs used in the US as electronic records, to be legal, have to be designed to prevent deletion.

Correction of errors are supposed to be logged by the administrator with a specific comment as to why the record is being altered.  The system is required to retain the error in its full version, a log of the correction being made and why, and then the new corrected version.

Simple deletion of errors is illegal in the United States not "an elemental harm".

nzimas wrote on Friday, April 07, 2006:

Still. There should be a technical easy to use workaround for this, without having to go through phpMyAdmin, so that OpenEMR can be given a more "universal" usage.
I am not sure what the Spanish legislation establishes regarding this issue, but i doubt it forbids me to either delete or alter/edit a simple clinical form.

Nuno.