diff options
Diffstat (limited to 'server/xml/macros/medicin-1.0.xml')
-rw-r--r-- | server/xml/macros/medicin-1.0.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/xml/macros/medicin-1.0.xml b/server/xml/macros/medicin-1.0.xml index 168757e..bc21446 100644 --- a/server/xml/macros/medicin-1.0.xml +++ b/server/xml/macros/medicin-1.0.xml @@ -34,10 +34,10 @@ ${medicin}</resume> <multilist name="medicin_list" layout="vbox" innerwidget="medicin_list_entry"> - <metawidget name="medicin_list_entry" layout="hbox" format="${prep} x ${dosis}${eye}"> + <metawidget name="medicin_list_entry" layout="hbox" format="${medicin.praeparat} x ${medicin.dosis}${medicin.eye}"> <frame layout="vbox"> <label caption="Præparat: ex. 'Primcillin 250 mg (tabl.)'"/> - <dbwidget name="prep" driver="QPSQL" server="pracserv.j.auh.dk" user="lmsread" database="lms" + <dbwidget name="medicin.praeparat" driver="QPSQL" server="pracserv.j.auh.dk" user="lmsread" database="lms" select="drugname, form, strength" from="package" where="drugname || ' ' || strength || ' (' || form || ')'" @@ -52,7 +52,7 @@ ${medicin}</resume> <frame layout="vbox"> <label caption="Dosis: ex. '2 tbl. dagl.'" /> - <lineedit name="dosis" width="75" value="" regexp=".+"/> + <lineedit name="medicin.dosis" width="75" value="" regexp=".+"/> </frame> <frame layout="vbox"> @@ -62,7 +62,7 @@ ${medicin}</resume> <frame layout="vbox"> <label caption="Øje:"/> - <combobox name="eye" value=""> + <combobox name="medicin.eye" value=""> <item caption="Ingen" value=""/> <item caption="o.dxt" value=" o.dxt"/> <item caption="o.sin" value=" o.sin"/> |