[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assi
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned |
Date: |
Mon, 28 Nov 2011 16:56:52 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 28, 2011 at 03:50:51PM +0000, Jim Busser wrote:
> > GNUmed now does this:
> >
> > #--------------------------------------------------------
> > def get_description_gender(self):
> > return _(u'%(last)s,%(title)s %(first)s%(nick)s (%(sex)s)') % {
> > 'last': self._payload[self._idx['lastnames']],
> > 'title':
> > gmTools.coalesce(self._payload[self._idx['title']], u'', u' %s'),
> > 'first': self._payload[self._idx['firstnames']],
> > 'nick':
> > gmTools.coalesce(self._payload[self._idx['preferred']], u'', u" '%s'"),
> > 'sex': self.gender_symbol
> > }
> > #--------------------------------------------------------
>
> I can't discern if the above will (still) put a comma to the left of
> firstnames.
Yes (it's right between last and title).
> Also, as I never did yet insert a patient nickname, I
> can't tell whether (in the GNUmed name display area) the
> nickname may be double-quoted or if we ever determined it
> might be helpful to visually set out that something is a
> nick (preferred) name to be known as.\\??
The above single-quotes nicks.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Busser, Jim, 2011/11/26
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Karsten Hilbert, 2011/11/26
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Liz, 2011/11/26
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Karsten Hilbert, 2011/11/27
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Busser, Jim, 2011/11/27
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Karsten Hilbert, 2011/11/28
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Busser, Jim, 2011/11/28
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned,
Karsten Hilbert <=