[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] gender symbols hard-coded in gmPerson functions
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] gender symbols hard-coded in gmPerson functions |
Date: |
Wed, 1 May 2013 20:40:28 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Apr 28, 2013 at 08:19:19PM +0200, Jerzy Luszawski wrote:
> When importing data to Gnumed I had no gender data, so tried to add a
> record for 'u' as 'unknown' to dem.gender_label and then use this tag
> in clin.identity.gender. To my surprise Gnumed has thrown "unhandled
> exception" and after short investigation I found that gender tags are
> also hard-coded as list in few mapping functions in gmPerson.py.
>
> Is there a chance for somebody to rewrite it to avoid unhandled
> exceptions?
In a way that's a feature. It'll immediately tell use
someone's tampered with what the client expects the database
to be.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gnumed-devel] gender symbols hard-coded in gmPerson functions,
Karsten Hilbert <=