summaryrefslogtreecommitdiff
path: root/server/xml/macros/keratometri-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/keratometri-1.0.xml')
-rw-r--r--server/xml/macros/keratometri-1.0.xml40
1 files changed, 20 insertions, 20 deletions
diff --git a/server/xml/macros/keratometri-1.0.xml b/server/xml/macros/keratometri-1.0.xml
index 581dadf..07459ae 100644
--- a/server/xml/macros/keratometri-1.0.xml
+++ b/server/xml/macros/keratometri-1.0.xml
@@ -14,12 +14,12 @@
out = ''
- if ( getValue('keratometri.right.missing') == '' )
+ if ( getValue('keratometri.odxt.missing') == '' )
then
- rr1 = tonmb(getValue('keratometri.right.r1'))
- rr2 = tonmb(getValue('keratometri.right.r2'))
- rx1 = tonmb(getValue('keratometri.right.x1'))
+ rr1 = tonmb(getValue('keratometri.odxt.r1'))
+ rr2 = tonmb(getValue('keratometri.odxt.r2'))
+ rx1 = tonmb(getValue('keratometri.odxt.x1'))
if ( rx1 >= 0 and rx1 < 90 ) then
rx2 = rx1 + 90
@@ -53,12 +53,12 @@
end
- if ( getValue('keratometri.left.missing') == '' )
+ if ( getValue('keratometri.osin.missing') == '' )
then
- lr1 = tonmb(getValue('keratometri.left.r1'))
- lr2 = tonmb(getValue('keratometri.left.r2'))
- lx1 = tonmb(getValue('keratometri.left.x1'))
+ lr1 = tonmb(getValue('keratometri.osin.r1'))
+ lr2 = tonmb(getValue('keratometri.osin.r2'))
+ lx1 = tonmb(getValue('keratometri.osin.x1'))
if ( lx1 >= 0 and lx1 < 90 ) then
lx2 = lx1 + 90
@@ -190,48 +190,48 @@
<frame layout="hbox">
- <!-- Højre øje -->
+ <!-- o.dxt -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på højre øje"
- name="keratometri.right.missing" script="right_eye"
+ name="keratometri.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">
<frame layout="vbox">
<label caption="R1:"/>
- <lineedit name="keratometri.right.r1" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.odxt.r1" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="R2:"/>
- <lineedit name="keratometri.right.r2" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.odxt.r2" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="X1 (fladeste akse):"/>
- <lineedit name="keratometri.right.x1" regexp="[\d]+" script="lt180gt0" value=""/>
+ <lineedit name="keratometri.odxt.x1" regexp="[\d]+" script="lt180gt0" value=""/>
</frame>
</frame>
</frame>
- <!-- Venstre øje -->
+ <!-- o.sin -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på venstre øje"
- name="keratometri.left.missing" script="left_eye"
+ name="keratometri.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">
<frame layout="vbox">
<label caption="R1:"/>
- <lineedit name="keratometri.left.r1" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.osin.r1" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="R2:"/>
- <lineedit name="keratometri.left.r2" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
+ <lineedit name="keratometri.osin.r2" regexp="\d{1,2},\d{2}" script="lt20gt0" value=""/>
</frame>
<frame layout="vbox">
<label caption="X1 (fladeste akse):"/>
- <lineedit name="keratometri.left.x1" regexp="[\d]+" script="lt180gt0" value=""/>
+ <lineedit name="keratometri.osin.x1" regexp="[\d]+" script="lt180gt0" value=""/>
</frame>
</frame>
</frame>