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/oejentryk-1.0.xml | 183 ++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 server/xml/macros/oejentryk-1.0.xml (limited to 'server/xml/macros/oejentryk-1.0.xml') diff --git a/server/xml/macros/oejentryk-1.0.xml b/server/xml/macros/oejentryk-1.0.xml new file mode 100644 index 0000000..d02860f --- /dev/null +++ b/server/xml/macros/oejentryk-1.0.xml @@ -0,0 +1,183 @@ + + + + + + + out = '' + + if ( getValue('tonometer.right.missing') == '' or getValue('tonometer.left.missing') == '' ) + then + out = out .. 'Øjentryk:\n' + end + + if ( getValue('tonometer.right.missing') == '' ) + then + out = out .. 'Højre øje: ' .. getValue('tonometer.pressure.right') .. ' mmHg\n' + end + + if ( getValue('tonometer.left.missing') == '' ) + then + out = out .. 'Venstre øje: ' .. getValue('tonometer.pressure.right') .. ' mmHg\n' + end + + if ( getValue('tonometer.right.missing') == '' or getValue('tonometer.left.missing') == '' ) + then + out = out .. getValue('tonometer.device') .. '.\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 + + + + + + + + + + + + + + + +