gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Advance directives (DNR, Do not resuscitate)


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Advance directives (DNR, Do not resuscitate)
Date: Thu, 17 May 2012 11:22:57 +0200

On 2012-05-16, at 4:19 AM, Karsten Hilbert wrote:

> Done:
>
>     u'patient_tags',                        # "args" holds: 
> <template>//<separator>


This is in the group of placeholders which are supposed to have the format

    $<name::args::(optional) max string length>$


Can we populate an example, because I am unsure whether in place of

    template --> to input the desired tag by name?

> No, that's the (say, line) template to replace fields of
> the tag business object into, like
>
>     $<patient_tags::%(l10n_description)s: %(comment)s//\n::60>$
>
> to achieve:
>
>     mobility impairment: claudication at 15m
>
> assuming:
>  - the patient is tagged "mobility impairment"
>  - has a comment "claudication at 15m" on this tag
>  - you selected the "mobility impairment" tag when
>    the GNUmed Placeholder Replacer asked you to

   separator --> should this instead be 'mapped value'

> No, this is the separator between several selected tags which
> can be pretty much anything, like / or ; or , or :: or \n
> (effectively putting them on one line each)

for example if I am interested to include in a report whether or not a patient 
has been tagged as

    'mobility impairment'

would the following work

    $<patient_tags::mobility impairment::>$

> I hadn't thought of letting the user pre-select the tag to
> export. I can add that fairly easily.

Karsten
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



reply via email to

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