gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] printing medication plan


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] printing medication plan
Date: Sun, 13 Dec 2009 23:25:20 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Dec 11, 2009 at 11:58:53AM -0800, Jim Busser wrote:

> > We can produce a PDF from a LaTeX template and
> > replace placeholders within it.
> > 
> > I would like to ask people to design TeX or LaTeX templates
> > for use as a printed medication list...
> > 
> > A good tool to use might be LyX but anything producing valid
> > TeX is fine.
> 
> Are placeholders things which need to be predefined, and
> are they therefore having to be drawn from a
> fixed-at-any-time (but knowable) universe of placeholders?

Yes. The list of known placeholders is defined in

        client/wxpython/gmMacro.py

We will need more for the meds list - I'd like to find out
which. Also of value would be a sample meds list with
placeholders already filled in, say, Kirk with 2 or the
entries.

> Are the placeholders a specific set or subject of objects that can be easily 
> pointed to anywhere in the code?

I suppose yes but am not sure exactly what you are asking.

> Are they, in any instance, definitions of a table name and column value?

Not directly. They rather operate on the business objects in
the middleware.

> Can any kind of starting point, one which includes placeholders, be offered?

Attached - this is a small file I created with LyX. Note
that there's lots of room for improvement: it should be
utf-8. Also note that LyX files need post-processing -
placeholders must start with <$ and end with $> which cannot
directly be entered in LyX (AFAICT). The PDF is what GNUmed
code will generate from that via pdflatex.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

Attachment: medlist.tex
Description: Text Data

Attachment: medlist.lyx
Description: application/lyx

Attachment: medlist.tex.pdf
Description: Adobe PDF document


reply via email to

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