[Top][All Lists]

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

[Gnumed-devel] Re: [Bug 376401] [NEW] birth date ist saved wrong?

From: Karsten Hilbert
Subject: [Gnumed-devel] Re: [Bug 376401] [NEW] birth date ist saved wrong?
Date: Fri, 15 May 2009 17:08:01 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, May 14, 2009 at 09:22:57AM -0000, Christian A. Reiter wrote:

> I added a new patient "tester tester" with my birthday, 15.11.1978 - in the 
> mask Gnumed made "1978-11-15" out of it, correctly.
> add another patient "tester tester2" to have some similar names, just for 
> searching.
> Then search for the patient "tester" - you get a list with all patients
> that have "tester" in their names - and at the recently added one the
> birthday is seen as 1978-11-14 !!!!

Attached find a fixup SQL script. After applying this the
bug is gone. It also installs a query accessible from the
Analysis Plugin which searches for the most likely candidate
patients having suffered from this bug.

Install it like this:

        psql -d gnumed_v10 -U gm-dbo -f v10-dem-identity-dob_trigger-fixup.sql

It can be run any number of times.

I'm sending this out in this form today because I'll be away
over the weekend. A formal bug fix release will follow on

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

Attachment: v10-dem-identity-dob_trigger-fixup.sql
Description: Text document

reply via email to

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