gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] audit trail question


From: Horst Herb
Subject: Re: [Gnumed-devel] audit trail question
Date: Thu, 08 May 2003 18:06:41 +1000
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312

Karsten Hilbert wrote:

Audit trailing is the one big issue that needs to be solved to
allow for more functionality to be declared safe to actually use.

I thought it was (almost) solved.
Strategy:
1.) Any table that needs auditing has to inherit from audit_<servicename>
2.) A python script I already wrote automatically generates audit tables and trigger functions that take care of record updates and deletions
3.) Only modification needed is the following:
- modifications in medical records should be a rare exception other than within a certain (arbitrary) initial timeframe (2-24 hours). During this time records may remain "uncomitted", that is triggers would not be fired on row update or deletion Hence, the audit trail generation script needs to be extended a bit to take care of this "grace period" for unaudited editing which is neccessary.

Horst





reply via email to

[Prev in Thread] Current Thread [Next in Thread]