summaryrefslogtreecommitdiff
path: root/server/xml/macros/oejendrypning-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/oejendrypning-1.0.xml')
-rw-r--r--server/xml/macros/oejendrypning-1.0.xml76
1 files changed, 0 insertions, 76 deletions
diff --git a/server/xml/macros/oejendrypning-1.0.xml b/server/xml/macros/oejendrypning-1.0.xml
deleted file mode 100644
index 94fb820..0000000
--- a/server/xml/macros/oejendrypning-1.0.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?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="oejendrypning" version="1.0">
- <resume language="lua">
- out = 'I henhold til øjenafdelingens retningslinier dryppes der med:\n'
- out = out .. getValue('oejendrypning.ocgtt.preparation') .. '\n'
- out = out .. 'Drypning er foretaget af: ' .. getValue('oejendrypning.ocgtt.initialer')
- .. ', den ' .. os.date('%e. %b %Y %k:%M', tonumber(getValue('oejendrypning.ocgtt.dato')))
- return out
-</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, 'pracro'
- </map>
- </maps>
- <scripts>
- </scripts>
- <widgets caption="Øjendrypning (B.2.3)"
- layout="vbox">
-
- <!-- Øjendrypning -->
- <frame caption="Vælg præparat og tilføj til listen.">
- <multilist name="oejendrypning.ocgtt.preparation" layout="hbox" innerwidget="dryppemeta" value="">
- <metawidget name="dryppemeta" format="Ocgt. ${oejendrypning.prep} ${oejendrypning.eye}" layout="hbox">
- <label caption="Præparat:"/>
- <combobox name="oejendrypning.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%"/>
- <item caption="Voltaren" value="Voltaren"/>
- <item caption="Tetracaine 0,5%" value="Tetracaine 0,5%"/>
- <item caption="Oxybuprokain 8 mg/ml" value="Oxybuprokain 8 mg/ml"/>
- <item caption="Cyclogyl 1%" value="Cyclogyl 1%"/>
- <item caption="Metaoxedrin 10%" value="Metaoxedrin 10%"/>
- </combobox>
- <label caption=""/>
- <label caption="Øje:"/>
- <combobox name="oejendrypning.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="oejendrypning.ocgtt.initialer" regexp="[a-zæøåA-ZÆØÅ]{2,5}" value=""/>
- <label width="50" caption=" den "/>
- <datetime name="oejendrypning.ocgtt.dato" fuzziness="5" map="now" value=""/>
- </frame>
-
- <!-- Knapper -->
- <frame layout="hbox">
- <spacer/>
- <button caption="Gem" action="commit"/>
- </frame>
- </widgets>
-</macro>