diff options
Diffstat (limited to 'server/xml/macros/spaltelampe-1.0.xml')
-rw-r--r-- | server/xml/macros/spaltelampe-1.0.xml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/server/xml/macros/spaltelampe-1.0.xml b/server/xml/macros/spaltelampe-1.0.xml index 9f02764..afffa66 100644 --- a/server/xml/macros/spaltelampe-1.0.xml +++ b/server/xml/macros/spaltelampe-1.0.xml @@ -14,26 +14,26 @@ <macro name="spaltelampe" version="1.0"> <resume language="lua"> out = '' - if ( getValue('slit_lamp.right.missing') == '' or getValue('slit_lamp.left.missing') == '' ) + if ( getValue('slit_lamp.odxt.missing') == '' or getValue('slit_lamp.osin.missing') == '' ) then out = out .. 'Spl:\n' end - if ( getValue('slit_lamp.right.missing') == '' ) + if ( getValue('slit_lamp.odxt.missing') == '' ) then - out = out .. 'Linsen, højre side: ' .. getValue('slit_lamp.right.observation') .. '\n' - if ( getValue('slit_lamp.right.additional') ~= '' ) + out = out .. 'Linsen, højre side: ' .. getValue('slit_lamp.odxt.observation') .. '\n' + if ( getValue('slit_lamp.odxt.additional') ~= '' ) then - out = out .. 'Supplerende:\n' .. getValue('slit_lamp.right.additional') .. '\n' + out = out .. 'Supplerende:\n' .. getValue('slit_lamp.odxt.additional') .. '\n' end end - if ( getValue('slit_lamp.left.missing') == '' ) + if ( getValue('slit_lamp.osin.missing') == '' ) then - out = out .. 'Linsen, venstre side: ' .. getValue('slit_lamp.left.observation') .. '\n' - if ( getValue('slit_lamp.left.additional') ~= '' ) + out = out .. 'Linsen, venstre side: ' .. getValue('slit_lamp.osin.observation') .. '\n' + if ( getValue('slit_lamp.osin.additional') ~= '' ) then - out = out .. 'Supplerende:\n' .. getValue('slit_lamp.left.additional') .. '\n' + out = out .. 'Supplerende:\n' .. getValue('slit_lamp.osin.additional') .. '\n' end end @@ -110,20 +110,20 @@ <frame layout="hbox"> - <!-- Højre øje --> + <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på højre øje" - name="slit_lamp.right.missing" script="right_eye" + name="slit_lamp.odxt.missing" script="right_eye" map="missing_eye_right_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="right_eye_frame" caption="Højre øje" layout="vbox"> + <frame name="right_eye_frame" caption="o.dxt" layout="vbox"> <frame layout="hbox"> <frame layout="vbox"> <label caption="Linsen:"/> <label/> </frame> <frame layout="vbox"> - <altcombobox name="slit_lamp.right.observation" layout="vbox" value="Ingen katarakt"> + <altcombobox name="slit_lamp.odxt.observation" layout="vbox" value="Ingen katarakt"> <item caption="Ingen katarakt" value="Ingen katarakt"/> <item caption="Katarakt grad 1" value="Katarakt grad 1"/> <item caption="Katarakt grad 2" value="Katarakt grad 2"/> @@ -137,24 +137,24 @@ </frame> </frame> <label caption="Supplerende:"/> - <textedit name="slit_lamp.right.additional" value=""/> + <textedit name="slit_lamp.odxt.additional" value=""/> </frame> </frame> - <!-- Venstre øje --> + <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på venstre øje" - name="slit_lamp.left.missing" script="left_eye" + name="slit_lamp.osin.missing" script="left_eye" map="missing_eye_left_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="left_eye_frame" caption="Venstre øje" layout="vbox"> + <frame name="left_eye_frame" caption="o.sin" layout="vbox"> <frame layout="hbox"> <frame layout="vbox"> <label caption="Linsen:"/> <label/> </frame> <frame layout="vbox"> - <altcombobox name="slit_lamp.left.observation" layout="vbox" value="Ingen katarakt"> + <altcombobox name="slit_lamp.osin.observation" layout="vbox" value="Ingen katarakt"> <item caption="Ingen katarakt" value="Ingen katarakt"/> <item caption="Katarakt grad 1" value="Katarakt grad 1"/> <item caption="Katarakt grad 2" value="Katarakt grad 2"/> @@ -168,7 +168,7 @@ </frame> </frame> <label caption="Supplerende:"/> - <textedit name="slit_lamp.left.additional" value=""/> + <textedit name="slit_lamp.osin.additional" value=""/> </frame> </frame> |