From 5e5c30c4f743564a70ba5adb2373ead0237b4492 Mon Sep 17 00:00:00 2001 From: senator Date: Thu, 29 Apr 2010 11:42:44 +0000 Subject: Initial release --- server/xml/macros/tao_spaltelampe-1.0.xml | 170 ++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 server/xml/macros/tao_spaltelampe-1.0.xml (limited to 'server/xml/macros/tao_spaltelampe-1.0.xml') diff --git a/server/xml/macros/tao_spaltelampe-1.0.xml b/server/xml/macros/tao_spaltelampe-1.0.xml new file mode 100644 index 0000000..9be39aa --- /dev/null +++ b/server/xml/macros/tao_spaltelampe-1.0.xml @@ -0,0 +1,170 @@ + + + + out = '' + + if ( getValue('tao_spaltelampe.odxt.mangler') == '' ) + then + out = out .. 'Spaltelampe o.dxt:\n' + out = out .. 'Conjunktival injektion: ' .. getValue('tao_spaltelampe.odxt.injektion') .. '\n' + out = out .. 'Chemosis: ' .. getValue('tao_spaltelampe.odxt.chemosis') .. '\n' + out = out .. 'Corneapåvirkning efter fluoresceinfarvning: ' .. getValue('tao_spaltelampe.odxt.paavirkning') .. '\n' + end + + if ( getValue('tao_spaltelampe.osin.mangler') == '' ) + then + if ( getValue('tao_spaltelampe.odxt.mangler') == '' ) + then + out = out .. '\n' + end + out = out .. 'Spaltelampe o.sin:\n' + out = out .. 'Conjunktival injektion: ' .. getValue('tao_spaltelampe.osin.injektion') .. '\n' + out = out .. 'Chemosis: ' .. getValue('tao_spaltelampe.osin.chemosis') .. '\n' + out = out .. 'Corneapåvirkning efter fluoresceinfarvning: ' .. getValue('tao_spaltelampe.osin.paavirkning') .. '\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 + + + + + + + + + + + + + + +