[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] clinical record and VOs
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] clinical record and VOs |
Date: |
Sun, 18 Apr 2004 20:42:25 +0200 |
User-agent: |
Mutt/1.3.22.1i |
> Would it be some kind of factory class?
Likely so.
> static cClinItemFactory.list_item_types() -> [ 'vaccination',
> 'lab_request' ... etc]
> static cClinItemFactory.createClinicalItem(item_type, aPKey, **kwargs)
>
> ...that would be in charge of cClinItem descendants? (Even cClinicalRecord
> and
> other classes wouln't need to know about concrete cClinical item class
> names...)
This sounds sensible but I'd love to see a clear use case
first. Use cases always make it easier for me to understand
what I really mean :-)
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346