gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] current_meds_notes placeholder


From: Jim Busser
Subject: [Gnumed-bugs] current_meds_notes placeholder
Date: Mon, 15 Aug 2011 18:12:40 -0700

Currently

        $<current_meds_table::latex>$

will return Drug and Regimen, ordered by brand, in which column 1 wraps as 
required but

        $<current_meds_notes::latex>$ 

creates a table with three columns

        Substance, Strength, Brand

whose Brand column extends beyond the right page margin and presumably needs to 
be redefined so that it will wrap with a

        p{width}


When I look in gmMacro.py the line for this placeholder says

        u'current_meds_table',   # "args" holds: format, options

and lower down

        def _get_variant_current_meds_table(self, data=None):

                options = data.split('//')

                if u'latex' in options:
                        return gmMedication.format_substance_intake (
                                emr = self.pat.get_emr(),
                                output_format = u'latex',
                                table_type = u'by-brand'
                        )


can we know more about

        # "args" holds: format, options

to know if my placeholder is improperly formatted or what more (or different) 
can be placed each side of // in

                $<current_meds_notes::latex//>$ 

        

-- Jim




reply via email to

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