gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Default values... use 'xxxDEFAULTxxx'


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Default values... use 'xxxDEFAULTxxx'
Date: Wed, 19 May 2004 16:47:49 +0200
User-agent: Mutt/1.3.22.1i

> I did find the hyphens & signs ( - -) a bit confusing.
They are not of any semantic significance. The has_allergy
field can be either NULL, -1, 0 or 1.

> Has the following any advantage for the display text?
What a given frontend does with the above values is another
cup of tea entirely (as long as the *meaning* isn't corrupted).

> NULL        not asked
> -1:         asked, doesn't know, collateral lacking / inadequate
> 0:          asked, no allergies
> 1:          asked, has allergies
Looks good.

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]