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/ref_90d_linse-1.0.xml | 154 ++++++++++++++++---------------- 1 file changed, 77 insertions(+), 77 deletions(-) (limited to 'server/xml/macros/ref_90d_linse-1.0.xml') diff --git a/server/xml/macros/ref_90d_linse-1.0.xml b/server/xml/macros/ref_90d_linse-1.0.xml index a344db3..43576e3 100644 --- a/server/xml/macros/ref_90d_linse-1.0.xml +++ b/server/xml/macros/ref_90d_linse-1.0.xml @@ -2,89 +2,89 @@ out = '' - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then out = out .. 'Oftalmoskopi, o.dxt:\n' - out = out .. getValue('90d_linse.odxt.indblik') .. ' indblik.\n' - out = out .. 'Papil: ' .. getValue('90d_linse.odxt.papil') .. '\n' - out = out .. 'Makula: ' .. getValue('90d_linse.odxt.makula') .. '\n' - out = out .. 'Periferi: ' .. getValue('90d_linse.odxt.periferi') - if ( getValue('90d_linse.odxt.periferi') == 'Hul eller rift kl' ) + out = out .. getValue('90d_linse.indblik.odxt') .. ' indblik.\n' + out = out .. 'Papil: ' .. getValue('90d_linse.papil.odxt') .. '\n' + out = out .. 'Makula: ' .. getValue('90d_linse.makula.odxt') .. '\n' + out = out .. 'Periferi: ' .. getValue('90d_linse.periferi.odxt') + if ( getValue('90d_linse.periferi.odxt') == 'Hul eller rift kl' ) then - out = out .. ' ' .. getValue('90dlinse.odxt.hul_eller_rift_kl') .. '\n' + out = out .. ' ' .. getValue('90dlinse.hul_eller_rift_kl.odxt') .. '\n' else out = out .. '\n' end - if ( getValue('90d_linse.odxt.supplerende') ~= '' ) + if ( getValue('90d_linse.supplerende.odxt') ~= '' ) then - out = out .. getValue('90d_linse.odxt.supplerende') .. '\n' + out = out .. getValue('90d_linse.supplerende.odxt') .. '\n' end end - if ( getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.osin') == '' ) then - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then out = out .. '\n' end out = out .. 'Oftalmoskopi, o.sin:\n' - out = out .. getValue('90d_linse.osin.indblik') .. ' indblik.\n' - out = out .. 'Papil: ' .. getValue('90d_linse.osin.papil') .. '\n' - out = out .. 'Makula: ' .. getValue('90d_linse.osin.makula') .. '\n' - out = out .. 'Periferi: ' .. getValue('90d_linse.osin.periferi') - if ( getValue('90d_linse.osin.periferi') == 'Hul eller rift kl' ) + out = out .. getValue('90d_linse.indblik.osin') .. ' indblik.\n' + out = out .. 'Papil: ' .. getValue('90d_linse.papil.osin') .. '\n' + out = out .. 'Makula: ' .. getValue('90d_linse.makula.osin') .. '\n' + out = out .. 'Periferi: ' .. getValue('90d_linse.periferi.osin') + if ( getValue('90d_linse.periferi.osin') == 'Hul eller rift kl' ) then - out = out .. ' ' .. getValue('90dlinse.osin.hul_eller_rift_kl') .. '\n' + out = out .. ' ' .. getValue('90dlinse.hul_eller_rift_kl.osin') .. '\n' else out = out .. '\n' end - if ( getValue('90d_linse.osin.supplerende') ~= '' ) + if ( getValue('90d_linse.supplerende.osin') ~= '' ) then - out = out .. getValue('90d_linse.osin.supplerende') .. '\n' + out = out .. getValue('90d_linse.supplerende.osin') .. '\n' end end return out - - + + - + value = 0 timestamp = 0 source = '' - 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 - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source else value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source end end return value, timestamp, source - + value = 0 timestamp = 0 source = '' - 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 - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source else value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source end end return value, timestamp, source @@ -109,21 +109,21 @@ end return true - - @@ -136,8 +136,8 @@ @@ -147,13 +147,13 @@