diff options
Diffstat (limited to 'server/xml/macros/tonometri-1.0.xml')
-rw-r--r-- | server/xml/macros/tonometri-1.0.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/server/xml/macros/tonometri-1.0.xml b/server/xml/macros/tonometri-1.0.xml index b2e6c82..ef110f8 100644 --- a/server/xml/macros/tonometri-1.0.xml +++ b/server/xml/macros/tonometri-1.0.xml @@ -2,19 +2,19 @@ <macro name="tonometri" version="1.0"> <resume language="lua"> out = '' - if ( getValue('tonometri.right.missing') == '' or getValue('tonometri.left.missing') == '' ) + if ( getValue('tonometri.odxt.missing') == '' or getValue('tonometri.osin.missing') == '' ) then out = out .. getValue('tonometri.method') .. ':\n' end - if ( getValue('tonometri.right.missing') == '' ) + if ( getValue('tonometri.odxt.missing') == '' ) then - out = out .. 'Højre øje: ' .. getValue('tonometri.right.pressure') .. ' mmHg\n' + out = out .. 'o.dxt: ' .. getValue('tonometri.odxt.pressure') .. ' mmHg\n' end - if ( getValue('tonometri.left.missing') == '' ) + if ( getValue('tonometri.osin.missing') == '' ) then - out = out .. 'Venstre øje: ' .. getValue('tonometri.left.pressure') .. ' mmHg\n' + out = out .. 'o.sin: ' .. getValue('tonometri.osin.pressure') .. ' mmHg\n' end return out @@ -88,7 +88,7 @@ enable('right_eye_frame') end - if( getValue('tonometri.right.missing') == 'mangler' and getValue('tonometri.left.missing') == 'mangler' ) + if( getValue('tonometri.odxt.missing') == 'mangler' and getValue('tonometri.osin.missing') == 'mangler' ) then disable('device_frame') else @@ -105,7 +105,7 @@ enable('left_eye_frame') end - if( getValue('tonometri.right.missing') == 'mangler' and getValue('tonometri.left.missing') == 'mangler' ) + if( getValue('tonometri.odxt.missing') == 'mangler' and getValue('tonometri.osin.missing') == 'mangler' ) then disable('device_frame') else @@ -120,31 +120,31 @@ <frame layout="hbox"> - <!-- Højre øje --> + <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på højre øje" - name="tonometri.right.missing" script="right_eye" + name="tonometri.odxt.missing" script="right_eye" map="missing_eye_right_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="right_eye_frame" caption="Højre øje" layout="hbox"> + <frame name="right_eye_frame" caption="o.dxt" layout="hbox"> <label caption="Tryk:"/> <spacer/> - <lineedit name="tonometri.right.pressure" regexp="\d{1,2}" script="lt80gt0" value=""/> + <lineedit name="tonometri.odxt.pressure" regexp="\d{1,2}" script="lt80gt0" value=""/> <label caption="mmHg"/> <spacer/> </frame> </frame> - <!-- Venstre øje --> + <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på venstre øje" - name="tonometri.left.missing" script="left_eye" + name="tonometri.osin.missing" script="left_eye" map="missing_eye_left_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="left_eye_frame" caption="Venstre øje" layout="hbox"> + <frame name="left_eye_frame" caption="o.sin" layout="hbox"> <label caption="Tryk:"/> <spacer/> - <lineedit name="tonometri.left.pressure" regexp="\d{1,2}" script="lt80gt0" value=""/> + <lineedit name="tonometri.osin.pressure" regexp="\d{1,2}" script="lt80gt0" value=""/> <label caption="mmHg"/> <spacer/> </frame> |