[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Printing medications list - wishlist
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Printing medications list - wishlist |
Date: |
Tue, 10 May 2011 09:44:33 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 10, 2011 at 08:50:44AM +0200, Karsten Hilbert wrote:
> > Can "known allergies" be modified in the template so that
> >
> > 1) when there are no allergies, the allergy status is provided
>
> The way this placeholder
>
> $<allergies::%(descriptor)s & %(l10n_type)s & {\footnotesize
> %(reaction)s} \tabularnewline \hline >$
>
> works, doesn't make that possible. You can, however, add the
> placeholder
>
> $<allergy_state>$
>
> to make it explicit whether there are or there aren't any.
> That placeholder does contain the "last_confirmed" date.
I have modified that default medication list template.
> > 2) when there are allergies, the "Date noted" is listed
>
> That can easily be done by modifying the LaTeX template and
> adding .clin_when == .date to the above:
>
> $<allergies::%(descriptor)s & %(l10n_type)s & {\footnotesize
> %(reaction)s} & {%(date)s} \tabularnewline \hline >$
However, that will display a really ugly full-precision
timestamp for .date which is why I didn't add it to the
template.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
gm-L-Template-fFeXRV-instance.pdf
Description: Adobe PDF document