gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Workaround for prescriptions


From: Busser, Jim
Subject: Re: [Gnumed-devel] Workaround for prescriptions
Date: Thu, 6 Sep 2012 18:30:23 +0000

On 2012-09-05, at 11:33 PM, Jim Busser <address@hidden> wrote:

(3) Double-click on the 'Prescriptions' problem to open a new notelet and input each drug to be prescribed in the Plan field, and click Save

Inputting each drug into its own instance of a Prescription 'notelet' is somewhat labour intensive and since the resulting rows do not actually need to stay available for granular "re-use" then there is not really a need to split them out.

I had resorted to separate entries in order that each medication would be bulleted using the LaTex

\begin{itemize}
$<progress_notes::p// {\item %s} \\>$
\end{itemize}

but on account of having called the package 'enumitem' I can remove the bullet with

\begin{itemize}[label=]
$<progress_notes::p// {\item %s} \\>$
\end{itemize}

and by using this method, I can input into a single Prescription notelet the strings

hydrochlorothiazide 25mg \\ S: take one half tablet (0.5 x 25mg = 12.5 mg) once daily \\ M: two months

allopurinol 100 mg \\ S: one daily \\ M: 2 months

See attached screen shot of the associated portion of the new PDF.

So here is my next question… can a selection of items in the Medication plugin be processed in some way as to be able to provide a line return delimited text string concatenating

-- if the brand is non-null

<Brand> '(' <Substance> ')' <Strength> 'Sig' <Schedule> 'Mitte' <Duration / Until>

-- otherwise

<Substance> <Strength> 'Sig' <Schedule> 'Mitte' <Duration / Until>

and returning this to the user either via clipboard or popping open a window with the text auto-selected for copying?

-- Jim


reply via email to

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