From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/90d_linse-1.0.xml | 270 ------------------------------------ 1 file changed, 270 deletions(-) delete mode 100644 server/xml/macros/90d_linse-1.0.xml (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 deleted file mode 100644 index 01d2541..0000000 --- a/server/xml/macros/90d_linse-1.0.xml +++ /dev/null @@ -1,270 +0,0 @@ - - - - - out = '90D linse:' - - if ( getValue('90d_linse.mangler.odxt') == '' and getValue('90d_linse.mangler.osin') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') - .. ' på o.dxt og ' .. getValue('90d_linse.indblik.osin')..' på venstre.\n' - else - if ( getValue('90d_linse.mangler.odxt') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') - .. ' på o.dxt.\n' - end - if ( getValue('90d_linse.mangler.osin') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.osin') - ..' på o.sin.\n' - end - end - - if ( getValue('90d_linse.mangler.odxt') == '' ) - then - if ( getValue('90d_linse.implikation.odxt') == 'retinal hævelse' ) - then - out = out .. 'På o.dxt findes der retinal hævelse' - if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') ~= '') - then - out = out .. ' med randblødning og exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') ~= '') - then - out = out .. ' med exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') == '') - then - out = out .. ' med randblødning.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') == '') - then - out = out .. '.\n' - end - end - - if ( getValue('90d_linse.implikation.odxt') == 'atrofi' ) - then - out = out .. 'På o.dxt findes der atrofi.\n' - end - end - - if ( getValue('90d_linse.mangler.osin') == '' ) - then - if ( getValue('90d_linse.implikation.osin') == 'retinal hævelse' ) - then - out = out .. 'På o.sin findes der retinal hævelse' - if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') ~= '') - then - out = out .. ' med randblødning og exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') ~= '') - then - out = out .. ' med exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') == '') - then - out = out .. ' med randblødning.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') == '') - then - out = out .. '.\n' - end - end - - if ( getValue('90d_linse.implikation.osin') == 'atrofi' ) - then - out = out .. 'På o.sin findes der atrofi.\n' - end - end - - if ( getValue('90d_linse.yderligere') ~= '' ) - then - out = out .. getValue('90d_linse.yderligere') .. '\n' - end - - return out - - - - - - value = 0 - timestamp = 0 - source = '' - - if( missing_eye_odxt ) - then - if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) - then - value = '' - timestamp = missing_eye_odxt.timestamp - source = missing_eye_odxt.source - else - value = 'mangler' - timestamp = missing_eye_odxt.timestamp - source = missing_eye_odxt.source - end - end - return value, timestamp, source - - - value = 0 - timestamp = 0 - source = '' - - if( missing_eye_osin ) - then - if( missing_eye_osin.value and missing_eye_osin.value == '' ) - then - value = '' - timestamp = missing_eye_osin.timestamp - source = missing_eye_osin.source - else - value = 'mangler' - timestamp = missing_eye_osin.timestamp - source = missing_eye_osin.source - end - end - return value, timestamp, source - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -