gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] GNUmed 1.2.rc3


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] GNUmed 1.2.rc3
Date: Sat, 12 May 2012 23:10:36 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, May 12, 2012 at 03:42:44PM +0000, Jim Busser wrote:

>>> What accounts for the Denevan neural parasite warning on activating Kirk?
>> 
>> His brother having died from it and GNUmed having knowledge thereof.
> 
> No... I mean... 
> 
> 1) when a patient possesses a family history where an
> entry was associated with the relative's death, will this
> always prompt an alert when activating the patient?

If the family history matches 'denevan.*parasit', yes.

> if not, what is responsible for this alert?
> 
> 2) what is the source of the advice that is given in the alert?

The rule

                SELECT EXISTS(SELECT 1 FROM clin.v_family_history WHERE 
condition ~* ''denevan.*parasit'' AND pk_patient = ID_ACTIVE_PATIENT);

in the table

        ref.auto_hint

;-)

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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