summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.2.3.xml
diff options
context:
space:
mode:
authorbertho <bertho>2009-02-04 11:26:58 +0000
committerbertho <bertho>2009-02-04 11:26:58 +0000
commit1bce9e4ebb9521c26fdbc586d4eadd6f2a52b618 (patch)
tree497e277a15390025db1158c7a39776cdbd1645f4 /server/xml/macros/B.2.3.xml
parent4497bea2b68a883d1bed72797f27275c833843ea (diff)
Add macros and templates to repository
Diffstat (limited to 'server/xml/macros/B.2.3.xml')
-rw-r--r--server/xml/macros/B.2.3.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/server/xml/macros/B.2.3.xml b/server/xml/macros/B.2.3.xml
new file mode 100644
index 0000000..04f80ca
--- /dev/null
+++ b/server/xml/macros/B.2.3.xml
@@ -0,0 +1,67 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ 20081204: Bent Bisballe Nyeng
+ Feltnavnene ændret så de giver mening.
+ -->
+<!--
+ 20081209: Bent Bisballe Nyeng
+ Nye dryppe regimer = redesign med multilist.
+ -->
+<!--
+ 20090108: Bent Bisballe Nyeng
+ Tilføjede et datofelt.
+ -->
+<macro name="B.2.3" version="1.0">
+ <resume>I henhold til øjenafdelingens retningslinier dryppes der med:
+${ocgtt.preparation}
+Drypning er foretaget af: ${ocgtt.initials}, den ${ocgtt.date}</resume>
+ <queries>
+ </queries>
+ <maps>
+ <map name="now">
+ -- Set date to now if no other data available within last 24 hours.
+ return os.time(), os.time() - 24*60*60, 'system'
+ </map>
+ </maps>
+ <scripts>
+ </scripts>
+ <window caption="Øjendrypning (B.2.3)"
+ layout="vbox">
+
+ <!-- Øjendrypning -->
+ <frame caption="Vælg præparat og tilføj til listen.">
+ <multilist name="ocgtt.preparation" layout="hbox" innerwidget="dryppemeta" value="">
+ <metawidget name="dryppemeta" format="Ocgt. ${prep} ${eye}" layout="hbox">
+ <label caption="Præparat:"/>
+ <combobox name="prep">
+ <item caption="Mydriacyl 1%" value="mydriacyl 1%"/>
+ <item caption="Metaoxedrin 10%" value="metaoxedrin 10%"/>
+ <item caption="Tropicamid ukons. 0,5%" value="tropicamid ukons. 0,5%"/>
+ <item caption="Phenylephrin ukons. 10%" value="phenylephrin ukons. 10%"/>
+ </combobox>
+ <label caption=""/>
+ <label caption="Øje:"/>
+ <combobox name="eye">
+ <item caption="o.dxt" value="o.dxt"/>
+ <item caption="o.sin" value="o.sin"/>
+ <item caption="o.u" value="o.u"/>
+ </combobox>
+ <spacer/>
+ </metawidget>
+ </multilist>
+ </frame>
+
+ <frame layout="hbox">
+ <label width="200" caption="Drypning foretaget af (initialer):"/>
+ <lineedit name="ocgtt.initials" regexp="[a-zæøåA-ZÆØÅ]{2,5}" value=""/>
+ <label width="50" caption=" den "/>
+ <datetime name="ocgtt.date" map="now" value=""/>
+ </frame>
+
+ <!-- Knapper -->
+ <frame layout="hbox">
+ <spacer/>
+ <button caption="Gem" action="commit"/>
+ </frame>
+ </window>
+</macro>