diff options
author | senator <senator> | 2009-11-17 10:43:45 +0000 |
---|---|---|
committer | senator <senator> | 2009-11-17 10:43:45 +0000 |
commit | ce08ba4689b54f8e27a5418f490d9c87fe71cc78 (patch) | |
tree | 36e1933cd6d58f5f98b6dc37328e7258b1f0544f /server/xml/macros/oct_konklusion-1.0.xml | |
parent | 1a6bd6fdbfffa6fb120b1464854a95b43221719d (diff) |
moved all .osin. instances from any instance containing it to the end of the instance. I have checked to find errors but NOT very thoroughly. The XML files might contain errors, but i will correct these, if any, when i encounter them later on
Diffstat (limited to 'server/xml/macros/oct_konklusion-1.0.xml')
-rw-r--r-- | server/xml/macros/oct_konklusion-1.0.xml | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/server/xml/macros/oct_konklusion-1.0.xml b/server/xml/macros/oct_konklusion-1.0.xml index e0a2689..d8f9bdb 100644 --- a/server/xml/macros/oct_konklusion-1.0.xml +++ b/server/xml/macros/oct_konklusion-1.0.xml @@ -15,18 +15,18 @@ <macro name="oct_konklusion" version="1.0"> <resume language="lua"> out = '' - if ( getValue('oct.odxt.missing') == '' or getValue('oct.osin.missing') == '' ) + if ( getValue('oct.mangler.odxt') == '' or getValue('oct.mangler.osin') == '' ) then out = out .. 'Central nethinde konklusion:\n' - if ( getValue('oct.odxt.missing') == '' ) + if ( getValue('oct.mangler.odxt') == '' ) then - out = out .. 'OCT o.dxt ' .. getValue('oct.odxt.description') .. '.\n' + out = out .. 'OCT o.dxt ' .. getValue('oct.description.odxt') .. '.\n' end - if ( getValue('oct.osin.missing') == '' ) + if ( getValue('oct.mangler.osin') == '' ) then - out = out .. 'OCT o.sin ' .. getValue('oct.osin.description') .. '.\n' + out = out .. 'OCT o.sin ' .. getValue('oct.description.osin') .. '.\n' end end @@ -38,46 +38,46 @@ return out </resume> <queries> - <query service="pracro" class="missing_eye_right" ttl="1000000"/> - <query service="pracro" class="missing_eye_left" ttl="1000000"/> + <query service="pracro" class="missing_eye_odxt" ttl="1000000"/> + <query service="pracro" class="missing_eye_osin" ttl="1000000"/> </queries> <maps> - <map name="missing_eye_right_map"> + <map name="missing_eye_odxt_map"> value = 0 timestamp = 0 source = '' - if( missing_eye_right ) + if( missing_eye_odxt ) then - if( missing_eye_right.value and missing_eye_right.value == '' ) + if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) then value = '' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source else value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source end end return value, timestamp, source </map> - <map name="missing_eye_left_map"> + <map name="missing_eye_osin_map"> value = 0 timestamp = 0 source = '' - if( missing_eye_left ) + if( missing_eye_osin ) then - if( missing_eye_left.value and missing_eye_left.value == '' ) + if( missing_eye_osin.value and missing_eye_osin.value == '' ) then value = '' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source else value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source end end return value, timestamp, source @@ -111,20 +111,20 @@ <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på o.dxt" - name="oct.odxt.missing" script="right_eye" - map="missing_eye_right_map" + name="oct.mangler.odxt" script="right_eye" + map="missing_eye_odxt_map" truevalue="mangler" falsevalue="" value=""/> <frame name="right_eye_frame" caption="o.dxt" layout="hbox"> <frame layout="vbox"> <frame layout="hbox"> <label caption="Tykkelse:"/> - <lineedit name="oct.odxt.thickness" value="" readonly="true"/> + <lineedit name="oct.thickness.odxt" value="" readonly="true"/> <label caption="µm"/> </frame> <label caption=""/> </frame> - <altcombobox name="oct.odxt.description" type="select" value="normal" layout="vbox"> + <altcombobox name="oct.description.odxt" type="select" value="normal" layout="vbox"> <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"/> @@ -142,19 +142,19 @@ <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på o.sin" - name="oct.osin.missing" script="left_eye" - map="missing_eye_left_map" + name="oct.mangler.osin" script="left_eye" + map="missing_eye_osin_map" truevalue="mangler" falsevalue="" value=""/> <frame name="left_eye_frame" caption="o.sin" layout="hbox"> <frame layout="vbox"> <frame layout="hbox"> <label caption="Tykkelse:"/> - <lineedit name="oct.osin.thickness" value="" readonly="true"/> + <lineedit name="oct.thickness.osin" value="" readonly="true"/> <label caption="µm"/> </frame> <label caption=""/> </frame> - <altcombobox name="oct.osin.description" type="select" value="normal" layout="vbox"> + <altcombobox name="oct.description.osin" type="select" value="normal" layout="vbox"> <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"/> |