From ce08ba4689b54f8e27a5418f490d9c87fe71cc78 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 17 Nov 2009 10:43:45 +0000 Subject: 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 --- server/xml/macros/keratometri-1.0.xml | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'server/xml/macros/keratometri-1.0.xml') diff --git a/server/xml/macros/keratometri-1.0.xml b/server/xml/macros/keratometri-1.0.xml index c762309..be01e01 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.odxt.missing') == '' ) + if ( getValue('keratometri.mangler.odxt') == '' ) then - rr1 = tonmb(getValue('keratometri.odxt.r1')) - rr2 = tonmb(getValue('keratometri.odxt.r2')) - rx1 = tonmb(getValue('keratometri.odxt.x1')) + rr1 = tonmb(getValue('keratometri.r.odxt1')) + rr2 = tonmb(getValue('keratometri.r.odxt2')) + rx1 = tonmb(getValue('keratometri.x.odxt1')) if ( rx1 >= 0 and rx1 < 90 ) then rx2 = rx1 + 90 @@ -53,12 +53,12 @@ end - if ( getValue('keratometri.osin.missing') == '' ) + if ( getValue('keratometri.mangler.osin') == '' ) then - lr1 = tonmb(getValue('keratometri.osin.r1')) - lr2 = tonmb(getValue('keratometri.osin.r2')) - lx1 = tonmb(getValue('keratometri.osin.x1')) + lr1 = tonmb(getValue('keratometri.r.osin1')) + lr2 = tonmb(getValue('keratometri.r.osin2')) + lx1 = tonmb(getValue('keratometri.x.osin1')) if ( lx1 >= 0 and lx1 < 90 ) then lx2 = lx1 + 90 @@ -96,42 +96,42 @@ - - + + - + value = 0 timestamp = 0 source = 'pracro' - 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 + timestamp = missing_eye_odxt.timestamp else value = 'mangler' - timestamp = missing_eye_right.timestamp + timestamp = missing_eye_odxt.timestamp end end return value, timestamp, source - + value = 0 timestamp = 0 source = 'pracro' - 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 + timestamp = missing_eye_osin.timestamp else value = 'mangler' - timestamp = missing_eye_left.timestamp + timestamp = missing_eye_osin.timestamp end end return value, timestamp, source @@ -193,22 +193,22 @@