gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] placeholders


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] placeholders
Date: Fri, 15 Feb 2013 10:16:40 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 14, 2013 at 11:13:24PM +0100, Karsten Hilbert wrote:

> > >   u'emr_journal',                                                 # 
> > > "args" format:   <categories>//<template>//<line length>//<time 
> > > range>//<target format>
> > >                                                                           
> > >         #       categories:        string with any of "s", "o", "a", "p", 
> > > "u", " ";
> > >                                                                           
> > >         #                                  (" " == None == admin category)
> > >                                                                           
> > >         #       template:          something %s something else
> > >                                                                           
> > >         #                                  (Do not include // in the 
> > > template !)
> > >                                                                           
> > >         #       line length:   the maximum length of individual lines, 
> > > not the total placeholder length
> > >                                                                           
> > >         #       time range:             the number of weeks going back in 
> > > time if given as a single number,
> > >                                                                           
> > >         #                                       or else it must be a 
> > > valid PostgreSQL interval definition (w/o the ::interval)
> > >                                                                           
> > >         #       target format: "tex" or anything else, if "tex", data 
> > > will be tex-escaped       (currently only "latex")
> > 
> > 
> > Is it manageable with such snippets above to include a formatted
> > 
> >     example:
> > 
> > without the //  ??
> 
> No, because the // are required.

Or did you mean to ask whether an example can be included
with the "documentation" *at all* ?

        %% - SOAP only, no Unspecified, no Admin
        %% - format each entry like "YYYY-MM-DD  S/O/A/P  entry text"
        %% - 200 chars maximum per line (truncates)
        %% - go back 24 hours from now
        %% - escape data for use in LaTeX
        $<emr_journal::soap//%(date)s  %(soap_cat)s  %(narrative)s//200//30 
hours//tex::999999>$

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]