From 483d6a869a1d20a9f1107fc71bda0ae981138de3 Mon Sep 17 00:00:00 2001 From: senator Date: Thu, 29 Apr 2010 12:03:42 +0000 Subject: Initial release --- server/xml/macros/tao_oftalmoskopi-1.0.xml | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 server/xml/macros/tao_oftalmoskopi-1.0.xml (limited to 'server/xml/macros/tao_oftalmoskopi-1.0.xml') diff --git a/server/xml/macros/tao_oftalmoskopi-1.0.xml b/server/xml/macros/tao_oftalmoskopi-1.0.xml new file mode 100644 index 0000000..83eb29c --- /dev/null +++ b/server/xml/macros/tao_oftalmoskopi-1.0.xml @@ -0,0 +1,132 @@ + + + + out = '' + + if ( getValue('tao_oftalmoskopi.odxt.mangler') == '' ) + then + out = out .. 'Oftalmoskopi o.dxt viser ' .. getValue('tao_oftalmoskopi.odxt') .. '.\n' + end + + if ( getValue('tao_oftalmoskopi.osin.mangler') == '' ) + then + out = out .. 'Oftalmoskopi o.sin viser ' .. getValue('tao_oftalmoskopi.osin') .. '.\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 + + + + + + + + + + + + + + +