[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: |
Busser, Jim |
Subject: |
Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned |
Date: |
Mon, 28 Nov 2011 15:50:51 +0000 |
On 2011-11-28, at 6:03 AM, Karsten Hilbert 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.
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.\\??
-- Jim
- [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 <=
- Re: [Gnumed-devel] Automatic patient 'titles' (Mr, Ms) redundant to assigned, Karsten Hilbert, 2011/11/28