[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] About value objects factory methods...
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] About value objects factory methods... |
Date: |
Sun, 18 Apr 2004 19:40:34 +0200 |
User-agent: |
Mutt/1.3.22.1i |
Carlos,
> Although it's also a work in progress, i think at the moment we have an
> enough
> functional basic vo framework ready for use/testing (ascii gmPatientExporter
> tool funtionality will be vo based, so can also think about this tool as a
> good vo testing utility ;) ).
I dare say gmPatientExporter is one of the best testing
utilities for that as it is supposed to instantiate all of
them, possibly constrained ...
BTW, feel free to add yourself to gmAbout.py !
> Maybe we could go on adding a first version of vo factory methods in
> gmClinicalRecord. Currently, get_lab_results() and get_lab_request() are
> implemented, returning gmPathLab.cLabResult and gmPathLab.cLabRequest
> objects respectively.
>
> If you agree, i could work by adding appropiate getter vo methods for health
> issues, episodes, encounters and items (allergy, vaccination), restricted by
> as many criterias as possible of :
> since=None, until=None, encounters=None, episodes=None, issues=None
Absolutely ! Feel free to add those constraint criteria to the
above getters, too.
If you end up replacing traditional (eg returning a list of
lists) getter methods please add an annoying console printout
to the effect of "please recode app to use new-style VO
getter".
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346