diff options
Diffstat (limited to 'server/xml/macros/B.2.2.4.2.xml')
-rw-r--r-- | server/xml/macros/B.2.2.4.2.xml | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/server/xml/macros/B.2.2.4.2.xml b/server/xml/macros/B.2.2.4.2.xml new file mode 100644 index 0000000..1de45ea --- /dev/null +++ b/server/xml/macros/B.2.2.4.2.xml @@ -0,0 +1,76 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + 20081204: Bent Bisballe Nyeng + Feltnavnene ændret så de giver mening. + --> +<!-- + 20090108: Bent Bisballe Nyeng + Højre/venstre byttet om. + --> +<macro name="B.2.2.4.2" version="1.0"> + <resume>Central nethindetykkelse, højre: ${oct.right.thickness} µm, ${oct.right.description}. +Central nethindetykkelse, venstre: ${oct.left.thickness} µm, ${oct.left.description}.</resume> + <queries> + </queries> + <maps> + </maps> + <scripts> + <script language="lua" name="lt10000gt0"> + value = string.gsub(value, ',', '.') + if(tonumber(value) >= 0 and tonumber(value) <= 10000) + then + return true + else + return false + end + </script> + </scripts> + <window caption="OCT, m. konklusion (B.2.2.4.2)" + layout="vbox"> + + <frame layout="hbox"> + + <!-- Højre øje --> + <frame caption="Højre øje" layout="hbox"> + <label caption="Tykkelse:"/> + <lineedit name="oct.right.thickness" regexp="\d{1,5}" script="lt10000gt0" value=""/> + <label caption="µm"/> + <combobox name="oct.right.description" type="select" value=""> + <item caption="Pigmentepitelløsning" value="pigmentepitelløsning"/> + <item caption="Serøs amotio" value="serøs amotio"/> + <item caption="Cystoidt makulært ødem" value="cystoidt makulært ødem"/> + <item caption="Subretinal udfyldning" value="subretinal udfyldning"/> + <item caption="Retinal traktion" value="retinal traktion"/> + <item caption="Normal" value="normal"/> + </combobox> + </frame> + + <!-- Venstre øje --> + <frame caption="Venstre øje" layout="hbox"> + <label caption="Tykkelse:"/> + <lineedit name="oct.left.thickness" regexp="\d{1,5}" script="lt10000gt0" value=""/> + <label caption="µm"/> + <combobox name="oct.left.description" type="select" value=""> + <item caption="Pigmentepitelløsning" value="pigmentepitelløsning"/> + <item caption="Serøs amotio" value="serøs amotio"/> + <item caption="Cystoidt makulært ødem" value="cystoidt makulært ødem"/> + <item caption="Subretinal udfyldning" value="subretinal udfyldning"/> + <item caption="Retinal traktion" value="retinal traktion"/> + <item caption="Normal" value="normal"/> + </combobox> + </frame> + + </frame> + + <frame layout="vbox"> + <label caption="Kommentarer:"/> + <lineedit name="oct.comments" value=""/> + </frame> + + <!-- Knapper --> + <frame layout="hbox"> + <spacer /> + <button caption="Gem" action="commit"/> + </frame> + </window> +</macro> |