gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] update on some test work.


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] update on some test work.
Date: Tue, 4 Nov 2003 11:01:59 +0100
User-agent: Mutt/1.3.22.1i

> Looks good
Agree.

> You also create instances: gmCurrentPatient (kwds['id']) , this isn't 
> necessary. gmCurrentPatient responds 
> itself to patient_selected internally, any instance anywhere will already 
> have this information.
That's *exactly* the point of why it is a Borg descendant. It
shares state among all instances. So, any widget holding a pointer

 the_patient = gmCurrentPatient()

will always have a handle on the currently active patient
without doing anything. From there it can get at the
clinical/administrative record etc.

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]