gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] demographics editor


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] demographics editor
Date: Thu, 16 Sep 2004 19:20:25 +0200
User-agent: Mutt/1.3.22.1i

> This whole business of pulling in either 'anyone' or the last patient seems 
> ludicrous to me. Why on earth would you want to to it. I cannot think of a 
> situation where I've ever wanted either a random patient, or the last patient 
> I've just seen when I first boot up my program. How confusing for users.
I must admit you have a good point here. The reason for
wanting to pull up 'anyone' or the last patient is merely
technical because it makes coding quite a bit safer (eg. you
can assume to *always* have a valid patient object availble -
now, Horst is likely to attest that one can never be sure of
that ;-)   Anyways, I agree that we should not confuse the
user.

I have tried to make it irrelevant whether there is a real
patient object active by assigning a Null pattern instance to
the patient pointer in the nonselected-patient case. However,
that seems to not work.

Technically, the next best solution is to force the user to
define a plugin that is raised initially and which doesn't
need an active patient. Thereafter switching to tabs needing a
patient isn't possible before actually selecting a patient.
This solution also feels fairly OK in terms of user logic.
What do you think ?

Regards,
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]