[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] template to print current encounter details
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] template to print current encounter details |
Date: |
Mon, 28 Feb 2011 15:30:59 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Feb 28, 2011 at 01:18:51PM +0530, address@hidden wrote:
> Does this work with your system?
It should. I'll have a look.
GNUmed 0.9 will also offer this placeholder:
u'emr_journal', # "data" format:
<categories>//<template>//<line length>//<time range>//<target format>
#
categories: string with any of "s", "o", "a", "p", " ";
#
(" " == None == admin category)
#
template: something %s something else
#
(Do not include // in the template !)
# line
length: the length of individual lines, not the total placeholder length
# time
range: the number of weeks going back in time
# target
format: "tex" or anything else, if "tex", data will be tex-escaped
? This may also serve your purpose. Example attached.
Karsten
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> \documentclass[usenglish, a4, 11pts]{article}
>
> \title{Comprehensive Clinical summary}
>
> \author{$<current_provider>$}
>
> \begin{document}
>
> \maketitle
>
> \raggedright{
>
> $<firstname>$ $<lastname>$\\
>
> $<date_of_birth::%Y-%m-%d>$\\ / $<gender_mapper::male//female//other::5>$\\
>
> $<adr_location::home>$\\
>
> \subsection*{Clinical Details}
>
> \begin{itemize}
>
> $<progress_notes::so// {\item %s} \\ >$
>
> \end{itemize}
>
> \subsection*{Assessment}
>
> \begin{itemize}
>
> $<progress_notes::a// {\item %s} \\ >$
>
> \end{itemize}
>
> \subsection*{Rx}
>
> $<current_meds_table::latex>$
>
> \subsection*{Plan}
>
> \begin{itemize}
>
> $<progress_notes::p// {\item %s} \\ >$
>
> \end{itemize}
>
> \vfill{}
>
> %\begin{tabular}[b]{c}
>
> \begin{tabular}{c}
>
> \rule{0pt}{10ex} \texttt {\textsl {\footnotesize <Practice Stamp /
> Signature>}}\\
>
> \rule{0pt}{4ex} {\footnotesize $<current_provider>$}\\
>
> \hline
>
> \tiny The above physician cannot be held responsible for unconfirmed content
> or alterations to this letter. \\
>
> \end{tabular}
>
> \end{document}
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
GNUmed-default_emr_journal_template.tex
Description: Text Data