[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] GnuMed drug browser/prescription writer
From: |
Horst Herb |
Subject: |
Re: [Gnumed-devel] GnuMed drug browser/prescription writer |
Date: |
Thu, 12 Sep 2002 18:29:03 +1000 |
User-agent: |
KMail/1.4.6 |
On Thu, 12 Sep 2002 08:09 am, Hilmar Berger wrote:
> The GUI layer should match the underlying database and will therefore has
> to be customized to regional requirements, too.
The GUI layer is the easiest part thanks to the plugin architecture. You just
write a specific dialog for the country specific demands and plug it into the
right place in the user interface. No need for generalization here.
As to the drug database: drug information resides in the highly normalized
drug database tables. Country specific bureaucratic information should reside
in tables prepended with the country code, like "authority_regulation_de,
authority_regulation_au" etc.
Then, we write a class accessing drug information with the regulation bit
implemented as a pure virtual function. When gnumed starts, it determines
from the configuration which country specific mode it has to run in, the
according plugins are loaded, and along them the according "handling"
modules.
I can't see much problems here other than just doing it. Somebody with enough
time at hand could just begin.
Horst