[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] EMR tree
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] EMR tree |
Date: |
Mon, 20 Aug 2012 23:01:46 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Aug 20, 2012 at 08:44:56PM +0000, Jim Busser wrote:
> > episodes are only
> > loaded when an issue node is expanded and encounters are
> > only looked up when an episode node is expanded.
> >
> > The drawback is that nodes cannot communicate the state of
> > their sub nodes (say, issues cannot be set to bold when
> > containing an open episode) before they are first expanded.
> >
> > This seems to speed up (re)loading of the EMR tree quite a
> > bit -- at the expense of requiring some time when expanding
> > nodes.
>
> Is the above an argument to make the choice configurable?
It's sorta complex to make such things configurable. It is
not any slower overall but rather more responsive over slow
links.
I guess it'd make more sense to incorporate
"has_open_episode" information into the health issues view
at the database level. That way it'd be computed the fastest
way possible.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346