From 8eade25e7f7a390b67e37f48d61454af0c1e9363 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 6 Aug 2009 08:55:51 +0000 Subject: Renamed all macros to Danish. --- server/xml/macros/90D_linse-1.0.xml | 266 ++++++++++++++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create 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 new file mode 100644 index 0000000..2778446 --- /dev/null +++ b/server/xml/macros/90D_linse-1.0.xml @@ -0,0 +1,266 @@ + + + + + out = '90D linse:' + + if ( getValue('90D_lens.right.missing') == '' and getValue('90D_lens.left.missing') == '' ) + then + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90D_lens.right.fundus_visibility') + .. ' på højre øje og ' .. getValue('90D_lens.left.fundus_visibility')..' på venstre.\n' + else + if ( getValue('90D_lens.right.missing') == '' ) + then + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90D_lens.right.fundus_visibility') + .. ' på højre øje.\n' + end + if ( getValue('90D_lens.left.missing') == '' ) + then + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90D_lens.left.fundus_visibility') + ..' på venstre øje.\n' + end + end + + if ( getValue('90D_lens.right.missing') == '' ) + then + if ( getValue('90D_lens.right.implikation') == 'retinal hævelse' ) + then + out = out .. 'På højre øje findes der retinal hævelse' + if ( getValue('90D_lens.right.randbl') ~= '' and getValue('90D_lens.right.exsudater') ~= '') + then + out = out .. ' med randblødning og exhudater.\n' + end + + if ( getValue('90D_lens.right.randbl') == '' and getValue('90D_lens.right.exsudater') ~= '') + then + out = out .. ' med exhudater.\n' + end + + if ( getValue('90D_lens.right.randbl') ~= '' and getValue('90D_lens.right.exsudater') == '') + then + out = out .. ' med randblødning.\n' + end + + if ( getValue('90D_lens.right.randbl') == '' and getValue('90D_lens.right.exsudater') == '') + then + out = out .. '.\n' + end + end + + if ( getValue('90D_lens.right.implikation') == 'atrofi' ) + then + out = out .. 'På højre øje findes der atrofi.\n' + end + end + + if ( getValue('90D_lens.left.missing') == '' ) + then + if ( getValue('90D_lens.left.implikation') == 'retinal hævelse' ) + then + out = out .. 'På venstre øje findes der retinal hævelse' + if ( getValue('90D_lens.left.randbl') ~= '' and getValue('90D_lens.left.exsudater') ~= '') + then + out = out .. ' med randblødning og exhudater.\n' + end + + if ( getValue('90D_lens.left.randbl') == '' and getValue('90D_lens.left.exsudater') ~= '') + then + out = out .. ' med exhudater.\n' + end + + if ( getValue('90D_lens.left.randbl') ~= '' and getValue('90D_lens.left.exsudater') == '') + then + out = out .. ' med randblødning.\n' + end + + if ( getValue('90D_lens.left.randbl') == '' and getValue('90D_lens.left.exsudater') == '') + then + out = out .. '.\n' + end + end + + if ( getValue('90D_lens.left.implikation') == 'atrofi' ) + then + out = out .. 'På venstre øje findes der atrofi.\n' + end + end + + if ( getValue('90D_lens.additional') ~= '' ) + then + out = out .. getValue('90D_lens.additional') .. '\n' + end + + return out + + + + + + value = 0 + timestamp = 0 + source = 'pracro' + + if( missing_eye_right ) + then + if( missing_eye_right.value and missing_eye_right.value == '' ) + then + value = '' + timestamp = missing_eye_right.timestamp + else + value = 'mangler' + timestamp = missing_eye_right.timestamp + end + end + return value, timestamp, source + + + value = 0 + timestamp = 0 + source = 'pracro' + + if( missing_eye_left ) + then + if( missing_eye_left.value and missing_eye_left.value == '' ) + then + value = '' + timestamp = missing_eye_left.timestamp + else + value = 'mangler' + timestamp = missing_eye_left.timestamp + end + end + return value, timestamp, source + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +