gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] How gnumed deals with death


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] How gnumed deals with death
Date: Sat, 18 Jul 2009 00:31:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jul 17, 2009 at 09:17:10AM -0700, Jim Busser wrote:

>>> is it enough just to click on a Past Hx : "caused death"?
>>
>> Unfortunately not but that's a good idea. Can we file that
>> as a wishlist item ?
>
> When a user would add or update a health issue attempting to set "caused 
> death" to TRUE what constraints or checking or interaction would be 
> desirable?

I would suggest checking for deceased = NULL. If not then
leave it alone. If NULL then prompt the user to enter a date
of death and store that in deceased, perhaps after extra
confirmation.

> Should there be only one cause of death? I think so. All problems that 
> were active at the time of death could have been contributors, but maybe 
> only one should be the primary. However might any users have already set 
> more than one issue per patient as a cause of death? Is this fixable?

It is. We may want to think it over whether we truly want to
restrain ourselves to the scientifically correct view of
single-cause-of-failure.

> We cannot now implement a constraint that cause of death can only be set 
> if "deceased" is not NULL by virtue of users possibly in production 
> having already set a cause of death. Do we wish simply for the GUI to 
> check the state of the value and, if null, warn the user and maybe offer 
> (on save) to switch to the Demographics plugin.
>
> Add the bits above (including reply text) to launchpad as a wishlist  
> item separate from
>
>       add "deceased" to the person demographics editing widget.

Yes. It certainly is a consideration. AFAIR, however,
cause_of_death wasn't saved from the health issue widget so
far - that might save us and we can just drop in the
constraint (after evaluation) ;-)

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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