gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] placeholder invoice-template latex


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] placeholder invoice-template latex
Date: Wed, 2 Nov 2016 12:00:26 +0100
User-agent: NeoMutt/20161014 (1.7.1)

On Wed, Nov 02, 2016 at 11:44:10AM +0100, Karsten Hilbert wrote:

Maybe a bit more explanation is in order.

>       % an den Patienten:
>       %\begin{letter}{
>       %       $<title>$ $<firstname>$ $<lastname>$\\
>       %       $<adr_street::billing::>$\ $<adr_number::billing::>$\\
>       %       $<adr_postcode::billing::>$\ $<adr_location::billing::>$
>       %}
>
>       % an einen freien Empfänger und die "billing"-Adresse des Patienten
>       \begin{letter}{
>               $<free_text::Geben Sie den Namen des Rechnungsempfängers ein 
> !::>$
>               $<adr_street::billing::>$\ $<adr_number::billing::>$\\
>               $<adr_postcode::billing::>$\ $<adr_location::billing::>$
>       }

The $<adr_*::billing::>$ placeholders relate to addresses
stored in the patient demographics, in this case under the
address type "billing". That "billing" selector can be
changed to any other type like "home", "work", ... whatever
is available for a patient.

It does _not_, however, refer to the address of the _bill_ of
a patient, which might seem to be the case due to the
"billing" selector.

>       % an einen in GNUmed wählbaren Empfänger inklusive wählbarer Adresse:
>       %\begin{letter}{
>       %       $<receiver_name::::>$\\
>       %       $<receiver_street::::>$\ $<receiver_number::::>$\\
>       %       $<receiver_postcode::::>$\ $<receiver_location::::>$
>       %}

This one will allow to select an address from either a list
of quick picks which are receivers/addresses somehow related
to the patient (document sources, external care entries,
hospital stays, ...) or an address selected from the generic
address pool built up by entering demographic data for
patients or organizations.

> As per gmMacro.py there's yet another option which hasn't
> been added to the invoice template:
> 
>       u'gen_adr_street': u"""part of a generic address, cached, selected from 
> database:
>               args: optional template//optional selection message//optional 
> cache ID
>               template: %s-style formatting template
>               message: text message shown in address selection list
>               cache ID: used to differentiate separate cached invocations of 
> this placeholder
>       """,

This placeholder will directly access a list of all addresses
available in the demographics address pool (which is
_included_ in the $receiver_*$ variant).

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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