gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] placeholders


From: Busser, Jim
Subject: Re: [Gnumed-devel] placeholders
Date: Fri, 15 Feb 2013 15:16:17 +0000

On 2013-02-15, at 1:16 AM, Karsten Hilbert <address@hidden> wrote:

> 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>$

The latter, "at all". I misunderstood the bit about the // … where, above, you 
wrote  (Do not include // in the template !) would it be correct for you to 
instead put

         (Do not include // in the template *except" as above !)

-- Jim


reply via email to

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