[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Placeholder u'patient_address'
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Placeholder u'patient_address' |
Date: |
Wed, 28 Aug 2013 12:13:47 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Aug 27, 2013 at 09:06:59PM +0000, Jim Busser wrote:
> >> For patient_address, the file mentions an "optional formatting template"
> >>
> >> # args: <type of address>//<optional formatting template>
> >>
> >> What manner of formatting does this permit?
> >
> > Combinations of the fields of dem.v_address:
> >
> > Sicht »dem.v_address«
> > Spalte | Typ | Attribute
> > --------------------+--------------+-----------
> > pk_address | integer |
> > street | text |
> > --
>
> Is there a way, within a string template, to communicate conditionals, for
> example
>
> if suburb is NULL
> suburb + ', '
> else
> ''
> endif
> ??
No.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346