On Sun, Sep 25, 2005 at 07:19:08PM +1000, Ian Haywood wrote: > I'm trying to get vaccinations working, I've run against this problem: > cClinicalRecord.add_vaccination () requires an episode, I've > added the neccessary parameters so cResizingSoapPanel.get_problem() can wind > its way to this function (it's worth it as most other middleware functions > will also need to know the episode) Correct.
You can simply do: episode = emr.problem2episode(cResizingSoapPanel.get_problem()) > However, with an unattached progress note, get_problem() returns None > Should we add to the default episode? > > What if the progress note is then attached to another problem? Hm, excellent question :-( I will have to think about that. > This leads into the broader question of when popup-generated clinical objects > get > committed to the backend. Darn, you hit the nail on the head :) There is room for change and improvement here, definitely. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 _______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel
