gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Placeholder soap family


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Placeholder soap family
Date: Thu, 29 Aug 2013 13:21:41 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> whereas higher up in the source I noticed in lines 123-129
> 
>       •     u'soap',
>       •     u'soap_s',
>       •     u'soap_o',
>       •     u'soap_a',
>       •     u'soap_p',
>       •     u'soap_u',
>       •     u'soap_admin'  ... # get all or subset of SOAPU/ADMIN, no 
> template in args needed
> 
> so
> 
> 1) does the comment "no template" apply only to soap_admin ?

It applies to all of the ones listed.

They *can*, however, have a template. The default template
is "%(narrative)s". IF a template is given the format needs
to be

$<soap*::template::length>$

> 2) should the other soaps all have
> 
>       something %s something else (may not contain //)

yes, but that's optional

> 3) do all of the above soaps expect to be generating
> tables,

no, placeholders will (should) only generate tables if
they say so

> and are the pipes therefore essential between each
> %(field)s in order for the output to be readable?

no, that entirely depends on the target format

> 4) is the same true (or not true) for the
> 
>       soap_by_episode
>       soap_by_issue
>       soap_for_encounters

You'd need to be more precise which parts of the above you
wish to know also apply (or not) to those placeholders.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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