diff options
Diffstat (limited to 'server/xml/macros/yderligere_diagnostik-1.0.xml')
-rw-r--r-- | server/xml/macros/yderligere_diagnostik-1.0.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/server/xml/macros/yderligere_diagnostik-1.0.xml b/server/xml/macros/yderligere_diagnostik-1.0.xml new file mode 100644 index 0000000..44863cc --- /dev/null +++ b/server/xml/macros/yderligere_diagnostik-1.0.xml @@ -0,0 +1,48 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + 20081204: Bent Bisballe Nyeng + Feltnavnene ændret så de giver mening. + --> +<macro name="yderligere_diagnostik" 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> + <widgets 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 af AMD." + value="Der findes ingen indikation for yderligere udredning af AMD."/> + <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> + </widgets> +</macro> |