gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] notification: active text expansion change


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] notification: active text expansion change
Date: Tue, 2 Apr 2013 18:47:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Apr 02, 2013 at 04:28:29PM +0000, Jim Busser wrote:

> WIll this be for GNUmed database v19, client 1.4x ?

No, this will need to affect v18/1.3.

(It's not a backend change, though.)

Karsten

> On 2013-04-02, at 5:32 AM, Karsten Hilbert <address@hidden> wrote:
> 
> > I had to change the handling of active text expansions.
> > 
> > Until now, text expansions allowed insertion of
> > 
> >     $<a hint for display>$
> > 
> > in order to make GNUmed prompt for input while displaying
> > the given hint. However, text expansions can now also be
> > used inside forms (say, to insert commonly used boilerplate
> > LaTeX code) which is even more useful if it contains
> > document placeholders, such as patient name or DOB.
> > 
> > Since placeholder are ALSO deliminated by $<>$ GNUmed would
> > think them to be requests for input into the text expansion
> > being inserted into a form/document and would ask the user
> > to provide such input using the placeholder definition as a
> > hint.
> > 
> > That is clearly not desirable. Acorrdingly the text entry
> > hint format is now
> > 
> >     $[a hint for display]$
> > 
> > (note the [] rather than <>)
> > 
> > This disambiguates both types of formatting.
> > 
> > Now, why this heads up - how does this concern users ?
> > 
> > GNUmed-supplied text expansions have been adjusted for the
> > next release. However, if you defined active/dynamic text
> > expansions of your own you need to go edit them to use []
> > instead of <> for them to keep prompting you as intended.
> > This can NOT safely be automated for application at the next
> > database upgrade.
> > 
> > Yes, the "hint for display" itself CAN contain another
> > single or pair of [] as needed.
> > 
> > Karsten
> > -- 
> > GPG key ID E4071346 @ gpg-keyserver.de
> > E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
> > 
> > _______________________________________________
> > Gnumed-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/gnumed-devel
> 

-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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