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: Jim Busser
Subject: Re: [Gnumed-devel] How gnumed deals with death
Date: Sun, 12 Jul 2009 22:17:05 -0700

On 12-Jul-09, at 12:03 PM, Rogerio Luz Coelho wrote:

How can I make Gnumed stop adding days - years to a dead person's chart?

There exists, in the database, provision in the "identity" table (in which is recorded the person's date of birth and a few other particulars) via the field "deceased" (timestamp with time zone) which would be reasonable to add to the person demographics editing widget.

The only other requirement (if it was not already pre-coded) would be to make age conditional:

        Age =

                if deceased is NULL
                        today - date of birth
                else
                        deceased - date of birth




reply via email to

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