gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Placeholder u'patient_address'


From: Busser, Jim
Subject: Re: [Gnumed-devel] Placeholder u'patient_address'
Date: Tue, 27 Aug 2013 21:06:59 +0000

On 2013-08-27, at 1:53 PM, Karsten Hilbert <address@hidden> wrote:

> On Tue, Aug 27, 2013 at 08:26:16PM +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
??

-- Jim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]