gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] new placeholder(s) - gen_adr


From: Busser, Jim
Subject: Re: [Gnumed-devel] new placeholder(s) - gen_adr
Date: Tue, 27 Jan 2015 07:39:23 +0000

On 2015-01-26, at 3:40 AM, Karsten Hilbert <address@hidden> wrote:

The new placeholders

u'gen_adr_street': u"args: %s-style formatting template, cached",
u'gen_adr_number': u"args: %s-style formatting template, cached",
u'gen_adr_subunit': u"args: %s-style formatting template, cached",
u'gen_adr_location': u"args: %s-style formatting template, cached",
u'gen_adr_suburb': u"args: %s-style formatting template, cached",
u'gen_adr_postcode': u"args: %s-style formatting template, cached",
u'gen_adr_region': u"args: %s-style formatting template, cached",
u'gen_adr_country': u"args: %s-style formatting template, cached",

allow for generic ("gen") selection of an
arbitrary address which in turn allows for
sending addressed letters to third parties
about a patient, such as consultation reports
and referral letters.

Does 'allow for selection" mean "prompts" or how is the selection to be achieved and communicated to the engine?

Have you tried ?  :-)

I have since tried, and have so far found 2 problems.

(1) I was prompted by a dialog that is too small to work in.

The screenshot shows the dialog to be much smaller than even *one* of the panels in the Overview plugin.
While the resulting phrasewheel is a little wider, the amount of information it holds is still insufficient for disambiguation.
While I appreciate our control over wx to be limited, can it be coaxed to provide a larger dialog?

(2) The resulting PDF alerted me to an error with gen_adr_suburb however I am not sure what accounts for it.

The placeholders within the document template were simply ...
    
    $<gen_adr_street::::>$
    $<gen_adr_number::::>$
    $<gen_adr_subunit::::>$
    $<gen_adr_location::::>$
    $<gen_adr_suburb::::>$
    $<gen_adr_postcode::::>$
    $<gen_adr_region::::>$
    $<gen_adr_country::::>$
    
and the .tex file showed ...

    Laurel
    2775
    6th Fl
    Vancouver
    error with placeholder [\$<gen\_adr\_suburb::::>\$]
    V5Z 1M9
    British Columbia
    Canada


-- Jim



reply via email to

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