diff options
author | deva <deva> | 2009-07-24 11:28:37 +0000 |
---|---|---|
committer | deva <deva> | 2009-07-24 11:28:37 +0000 |
commit | a81fd2a780e59ab918d172d0b4cc08be8780ec68 (patch) | |
tree | 27457634a83963b0fdb8baa4f7081439f1b90d34 /server/xml/macros/fundus-1.0.xml | |
parent | 1d8429d8d3981dd027cdb7e160dd614ebf6c8ded (diff) |
Changed all names to something less magical.
Diffstat (limited to 'server/xml/macros/fundus-1.0.xml')
-rw-r--r-- | server/xml/macros/fundus-1.0.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/server/xml/macros/fundus-1.0.xml b/server/xml/macros/fundus-1.0.xml new file mode 100644 index 0000000..ed48236 --- /dev/null +++ b/server/xml/macros/fundus-1.0.xml @@ -0,0 +1,58 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + 20090420: Bent Bisballe Nyeng + Resume opdateret så det altid inkluderer både randhæmorrhagier og + exsudater, både hvis de er observerede og hvis de ikke er det. + --> +<macro name="fundus" version="1.0"> + <resume language="lua"> + out = '90-D undersøgelse:\nDer findes ' + if(getValue('fundus.randh') == '' and getValue('fundus.exsud') == '') + then + out = out .. 'ingen randhæmorrhagier eller exsudater' + else + if(getValue('fundus.randh') ~= '' and getValue('fundus.exsud') ~= '') + then + out = out .. 'randhæmorrhagier og exsudater' + else + if(getValue('fundus.randh') ~= '') + then + out = out .. 'randhæmorrhagier, men ingen exsudater' + end + if(getValue('fundus.exsud') ~= '') + then + out = out .. 'ingen randhæmorrhagier, men exsudater' + end + end + end + out = out .. '.\n' + return out + </resume> + <queries> + </queries> + <maps> + </maps> + <scripts> + </scripts> + <window caption="Vurdering af fundus (B.2.5)" + layout="vbox"> + + <combobox name="fundus.source" value=""> + <item caption="Fundus foto" value="Fundus foto"/> + <item caption="90-D linse undersøgelse" value="90-D linse undersøgelse"/> + </combobox> + + <label caption="viser"/> + + <checkbox name="fundus.randh" caption="Randhæmorrhagier" + truevalue="Randhæmorrhagier" falsevalue="" value=""/> + <checkbox name="fundus.exsud" caption="Exsudater" + truevalue="Exsudater" falsevalue="" value=""/> + + <!-- Knapper --> + <frame layout="hbox"> + <spacer/> + <button caption="Gem" action="commit"/> + </frame> + </window> +</macro> |