From 43c99fb4bc925d70e256ba320e7d94cdd162e56e Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 14 Oct 2009 10:28:01 +0000 Subject: added combo to define 'hul eller rift kl'. Also moved from 90D to 90d --- server/xml/macros/ref_90D_linse-1.0.xml | 331 ----------------------------- server/xml/macros/ref_90d_linse-1.0.xml | 359 ++++++++++++++++++++++++++++++++ 2 files changed, 359 insertions(+), 331 deletions(-) delete mode 100644 server/xml/macros/ref_90D_linse-1.0.xml create mode 100644 server/xml/macros/ref_90d_linse-1.0.xml (limited to 'server') diff --git a/server/xml/macros/ref_90D_linse-1.0.xml b/server/xml/macros/ref_90D_linse-1.0.xml deleted file mode 100644 index 7f13be9..0000000 --- a/server/xml/macros/ref_90D_linse-1.0.xml +++ /dev/null @@ -1,331 +0,0 @@ - - - - out = '' - if ( getValue('90d_linse.right.missing') == '' ) - then - out = out .. 'Oftalmoskopi, højre øje:\n' - out = out .. getValue('90d_linse.right.indblik') .. ' indblik.\n' - out = out .. 'Papil: ' .. getValue('90d_linse.right.papil') .. '\n' - out = out .. 'Makula: ' .. getValue('90d_linse.right.makula') .. '\n' - out = out .. 'Periferi: ' .. getValue('90d_linse.right.periferi') - if ( getValue('90d_linse.right.periferi') == 'Hul eller rift kl' ) - then - out = out .. ' ' .. getValue('90dlinse.right.hul_eller_rift_kl') .. '\n' - else - out = out .. '\n' - end - if ( getValue('90d_linse.right.supplerende') ~= '' ) - then - out = out .. getValue('90d_linse.right.supplerende') .. '\n' - end - end - if ( getValue('90d_linse.left.missing') == '' ) - then - if ( getValue('90d_linse.right.missing') == '' ) - then - out = out .. '\n' - end - out = out .. 'Oftalmoskopi, højre øje:\n' - out = out .. getValue('90d_linse.left.indblik') .. ' indblik.\n' - out = out .. 'Papil: ' .. getValue('90d_linse.left.papil') .. '\n' - out = out .. 'Makula: ' .. getValue('90d_linse.left.makula') .. '\n' - out = out .. 'Periferi: ' .. getValue('90d_linse.left.periferi') - if ( getValue('90d_linse.left.periferi') == 'Hul eller rift kl' ) - then - out = out .. ' ' .. getValue('90dlinse.left.hul_eller_rift_kl') .. '\n' - else - out = out .. '\n' - end - if ( getValue('90d_linse.left.supplerende') ~= '' ) - then - out = out .. getValue('90d_linse.left.supplerende') .. '\n' - end - end - return out - - - - - - - - value = 0 - timestamp = 0 - source = '' - - if( missing_eye_right ) - then - if( missing_eye_right.value and missing_eye_right.value == '' ) - then - value = '' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source - else - value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source - end - end - return value, timestamp, source - - - value = 0 - timestamp = 0 - source = '' - - if( missing_eye_left ) - then - if( missing_eye_left.value and missing_eye_left.value == '' ) - then - value = '' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source - else - value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source - end - end - return value, timestamp, source - - - - - - - - - - - - - - - - - - - -