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/cycloplegisk_refraktion-1.0.xml | 68 +++++++++++------------ 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'server/xml/macros/cycloplegisk_refraktion-1.0.xml') diff --git a/server/xml/macros/cycloplegisk_refraktion-1.0.xml b/server/xml/macros/cycloplegisk_refraktion-1.0.xml index 5653b88..697ed47 100644 --- a/server/xml/macros/cycloplegisk_refraktion-1.0.xml +++ b/server/xml/macros/cycloplegisk_refraktion-1.0.xml @@ -2,31 +2,31 @@ out = '' - if ( getValue('cycloplegisk_refraktion.odxt.missing') == '' ) + if ( getValue('cycloplegisk_refraktion.mangler.odxt') == '' ) then - out = out .. 'Cycloplegisk refraktion, o.dxt: ' .. getValue('cycloplegisk_refraktion.odxt.sf') .. ' sf' - if ( getValue('cycloplegisk_refraktion.odxt.cyl') ~= '' ) + out = out .. 'Cycloplegisk refraktion, o.dxt: ' .. getValue('cycloplegisk_refraktion.sf.odxt') .. ' sf' + if ( getValue('cycloplegisk_refraktion.cyl.odxt') ~= '' ) then - out = out .. ', ' .. getValue('cycloplegisk_refraktion.odxt.cyl') .. ' cyl' + out = out .. ', ' .. getValue('cycloplegisk_refraktion.cyl.odxt') .. ' cyl' end - if ( getValue('cycloplegisk_refraktion.odxt.grader') ~= '' ) + if ( getValue('cycloplegisk_refraktion.grader.odxt') ~= '' ) then - out = out .. ', ' .. getValue('cycloplegisk_refraktion.odxt.grader') .. ' grader\n' + out = out .. ', ' .. getValue('cycloplegisk_refraktion.grader.odxt') .. ' grader\n' else out = out .. '\n' end end - if ( getValue('cycloplegisk_refraktion.osin.missing') == '' ) + if ( getValue('cycloplegisk_refraktion.mangler.osin') == '' ) then - out = out .. 'Cycloplegisk refraktion, o.sin: ' .. getValue('cycloplegisk_refraktion.osin.sf') .. ' sf' - if ( getValue('cycloplegisk_refraktion.osin.cyl') ~= '' ) + out = out .. 'Cycloplegisk refraktion, o.sin: ' .. getValue('cycloplegisk_refraktion.sf.osin') .. ' sf' + if ( getValue('cycloplegisk_refraktion.cyl.osin') ~= '' ) then - out = out .. ', ' .. getValue('cycloplegisk_refraktion.osin.cyl') .. ' cyl' + out = out .. ', ' .. getValue('cycloplegisk_refraktion.cyl.osin') .. ' cyl' end - if ( getValue('cycloplegisk_refraktion.osin.grader') ~= '' ) + if ( getValue('cycloplegisk_refraktion.grader.osin') ~= '' ) then - out = out .. ', ' .. getValue('cycloplegisk_refraktion.osin.grader') .. ' grader\n' + out = out .. ', ' .. getValue('cycloplegisk_refraktion.grader.osin') .. ' grader\n' else out = out .. '\n' end @@ -36,42 +36,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 @@ -147,24 +147,24 @@