diff options
author | bertho <bertho> | 2009-02-04 11:26:58 +0000 |
---|---|---|
committer | bertho <bertho> | 2009-02-04 11:26:58 +0000 |
commit | 1bce9e4ebb9521c26fdbc586d4eadd6f2a52b618 (patch) | |
tree | 497e277a15390025db1158c7a39776cdbd1645f4 /server/xml/macros/B.2.2.8.xml | |
parent | 4497bea2b68a883d1bed72797f27275c833843ea (diff) |
Add macros and templates to repository
Diffstat (limited to 'server/xml/macros/B.2.2.8.xml')
-rw-r--r-- | server/xml/macros/B.2.2.8.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/server/xml/macros/B.2.2.8.xml b/server/xml/macros/B.2.2.8.xml new file mode 100644 index 0000000..82ea22f --- /dev/null +++ b/server/xml/macros/B.2.2.8.xml @@ -0,0 +1,48 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + 20081204: Bent Bisballe Nyeng + Feltnavnene ændret så de giver mening. + --> +<macro name="B.2.2.8" version="1.0"> + <resume store_in_journal="true">${amd_preop.conclusion} +${amd_preop.conclusion_additional}${amd_preop.conclusion_terminated}.</resume> + <queries> + </queries> + <maps> + </maps> + <scripts> + <script language="lua" name="afsluttes"> + if value == 'Der findes ingen indikation for yderligere udredning.' + then + setValue('amd_preop.conclusion_terminated', ' - Afsluttes') + end + return true + </script> + </scripts> + <window caption="Yderligere diagnostik (B.2.2.8)" + layout="vbox"> + + <frame layout="vbox"> + <frame layout="hbox"> + <combobox name="amd_preop.conclusion" + value="" + script="afsluttes"> + <item caption="Ingen indikation for yderligere udredning." + value="Der findes ingen indikation for yderligere udredning."/> + <item caption="Der findes indikation for fluorescens angiografi" + value="Der findes indikation for fluorescens angiografi."/> + </combobox> + </frame> + <label caption="Supplerende:"/> + <textedit name="amd_preop.conclusion_additional" value=""/> + <checkbox caption="Afsluttes" name="amd_preop.conclusion_terminated" + truevalue=" - Afsluttes" falsevalue="" value=""/> + </frame> + + <!-- Knapper --> + <frame layout="hbox"> + <spacer/> + <button caption="Gem" action="commit"/> + </frame> + </window> +</macro> |