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/90d_linse-1.0.xml | 120 ++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 60 deletions(-) (limited to 'server/xml/macros/90d_linse-1.0.xml') diff --git a/server/xml/macros/90d_linse-1.0.xml b/server/xml/macros/90d_linse-1.0.xml index 4dbfe92..8a632c9 100644 --- a/server/xml/macros/90d_linse-1.0.xml +++ b/server/xml/macros/90d_linse-1.0.xml @@ -16,90 +16,90 @@ out = '90D linse:' - if ( getValue('90d_linse.odxt.missing') == '' and getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' and getValue('90d_linse.mangler.osin') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.odxt.fundus_visibility') - .. ' på o.dxt og ' .. getValue('90d_linse.osin.fundus_visibility')..' på venstre.\n' + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.odxt') + .. ' på o.dxt og ' .. getValue('90d_linse.fundus_visibility.osin')..' på venstre.\n' else - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.odxt.fundus_visibility') + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.odxt') .. ' på o.dxt.\n' end - if ( getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.osin') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.osin.fundus_visibility') + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.osin') ..' på o.sin.\n' end end - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then - if ( getValue('90d_linse.odxt.implikation') == 'retinal hævelse' ) + if ( getValue('90d_linse.implikation.odxt') == 'retinal hævelse' ) then out = out .. 'På o.dxt findes der retinal hævelse' - if ( getValue('90d_linse.odxt.randbl') ~= '' and getValue('90d_linse.odxt.exsudater') ~= '') + if ( getValue('90d_linse.randbl.odxt') ~= '' and getValue('90d_linse.exsudater.odxt') ~= '') then out = out .. ' med randblødning og exhudater.\n' end - if ( getValue('90d_linse.odxt.randbl') == '' and getValue('90d_linse.odxt.exsudater') ~= '') + if ( getValue('90d_linse.randbl.odxt') == '' and getValue('90d_linse.exsudater.odxt') ~= '') then out = out .. ' med exhudater.\n' end - if ( getValue('90d_linse.odxt.randbl') ~= '' and getValue('90d_linse.odxt.exsudater') == '') + if ( getValue('90d_linse.randbl.odxt') ~= '' and getValue('90d_linse.exsudater.odxt') == '') then out = out .. ' med randblødning.\n' end - if ( getValue('90d_linse.odxt.randbl') == '' and getValue('90d_linse.odxt.exsudater') == '') + if ( getValue('90d_linse.randbl.odxt') == '' and getValue('90d_linse.exsudater.odxt') == '') then out = out .. '.\n' end end - if ( getValue('90d_linse.odxt.implikation') == 'atrofi' ) + if ( getValue('90d_linse.implikation.odxt') == 'atrofi' ) then out = out .. 'På o.dxt findes der atrofi.\n' end end - if ( getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.osin') == '' ) then - if ( getValue('90d_linse.osin.implikation') == 'retinal hævelse' ) + if ( getValue('90d_linse.implikation.osin') == 'retinal hævelse' ) then out = out .. 'På o.sin findes der retinal hævelse' - if ( getValue('90d_linse.osin.randbl') ~= '' and getValue('90d_linse.osin.exsudater') ~= '') + if ( getValue('90d_linse.randbl.osin') ~= '' and getValue('90d_linse.exsudater.osin') ~= '') then out = out .. ' med randblødning og exhudater.\n' end - if ( getValue('90d_linse.osin.randbl') == '' and getValue('90d_linse.osin.exsudater') ~= '') + if ( getValue('90d_linse.randbl.osin') == '' and getValue('90d_linse.exsudater.osin') ~= '') then out = out .. ' med exhudater.\n' end - if ( getValue('90d_linse.osin.randbl') ~= '' and getValue('90d_linse.osin.exsudater') == '') + if ( getValue('90d_linse.randbl.osin') ~= '' and getValue('90d_linse.exsudater.osin') == '') then out = out .. ' med randblødning.\n' end - if ( getValue('90d_linse.osin.randbl') == '' and getValue('90d_linse.osin.exsudater') == '') + if ( getValue('90d_linse.randbl.osin') == '' and getValue('90d_linse.exsudater.osin') == '') then out = out .. '.\n' end end - if ( getValue('90d_linse.osin.implikation') == 'atrofi' ) + if ( getValue('90d_linse.implikation.osin') == 'atrofi' ) then out = out .. 'På o.sin findes der atrofi.\n' end end - if ( getValue('90d_linse.additional') ~= '' ) + if ( getValue('90d_linse.yderligere') ~= '' ) then - out = out .. getValue('90d_linse.additional') .. '\n' + out = out .. getValue('90d_linse.yderligere') .. '\n' end return out @@ -107,42 +107,42 @@ - + 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 @@ -167,21 +167,21 @@ end return true - - @@ -194,30 +194,30 @@ - + - + - - + - @@ -227,30 +227,30 @@ - + - + - - + - @@ -259,7 +259,7 @@