drbowen wrote on Saturday, October 06, 2007:
Dear Mark and Rod:
I have never liked the existing form policy. It is horribly insecure and improving the audit trail is definitely desirable. In my mind there ought to be two "views". The current active view and a view that shows all revisions. The usual practitioner will almost always want to see the current active "view". The database administrator / office manager show be able to "view" all versions of the audit trail, the original version, any edits that occur after "authorization", when the edits occurred, and who created the edits.
There should be a limited period where all edits during the initial creation should be "free" with no audit trail. After the form is in its final format and gets "authorized" further edits need to show the revision history with date:time stamps and user that initiated the change.
For HIPPA compliance, edits that occur after the date of creation, need to be logged with a narrative reason for the edit to occur. A valid reason would be a request by the patient that the medical information be corrected.
Proving that the medical record has not been altered becomes important in legal cases where a sharp opposing attorney might want proof that the record had not been altered. If this cannot be proven, then the attorney and plaintiff could allege that certain statements had been made and that they had been removed from the medical record. This would then be very bad for a defending physician and practice. The plaintiff could claim that record was altered to hide damaging information. The Physician and Practice would be hard pressed to prove that this was not the case. A late entry / modification of the record is always very damaging in court.
I have seen a number questions and answers about OpenEMR in this forum and in others that presumed the data can not be altered except by using OpenEMR as is it designed. We have discussed in the past removing PHPMyAdmin. Simply removing PHPMyAdmin does not prevent a database admin from adding PHPMyAdmin to OpenEMR as an addon and then manipulating the data or by directly accessing the data using SQL commands from the mysql command line.
Herb Horst (of GnuMed) has proposed a way of solving this problem:
http://www.gnumed.net/gnotary/tampering.html
http://www.gnumed.net/gnotary/methods.html
His method may be a bit cumbersome for our purposes, however it should be easy to run a md5sum on the original version of a forms content and the md5sum can be stored as a separate field. Subsequent edits would then have another md5sum stored with each revision of the form.
I think going to the trouble of forging a date:time stamp and matching the original md5sum is way beyond the skills of any doctor that I know. Simply recording an md5sum digest of the forms content and providing evidence that the md5sum is unaltered, would be adequate proof for most courts.
In terms of Rod’s Simplicity Score I agree. Complex, grandiose plans never come to fruition.
What I am am proposing is that the normal user would have access only to the "current version" with activity of 1. Normal printing would occur on forms with an activity level of 1.
Under the administrative section, the database administrator (and possibly others as granted in the privileges under phpGACL) would have the ability to view all versions of the form (including date:time stamp of the edit, editing user) with a log entry describing why an edit was made. Edits on old "authorized" forms would require administrative access to make.
Add an additional field to the table for each form to hold an md5sum digest of the form’s content at the time it is authorized.
A way to print all versions including the md5sums to prove that the forms had not been altered outside the context of the OpenEMR program. Administrative access would be required to print these older versions.
I don’t think this is too cumbersome to implement and hopefully will pass Rod’s Simplicity Score. The flip side of this is that these changes are not a luxury but are required for full HIPPA compliance.
Sincerely,
Sam Bowen, MD