From a81fd2a780e59ab918d172d0b4cc08be8780ec68 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 24 Jul 2009 11:28:37 +0000 Subject: Changed all names to something less magical. --- server/xml/macros/ocgtt-1.0.xml | 71 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 server/xml/macros/ocgtt-1.0.xml (limited to 'server/xml/macros/ocgtt-1.0.xml') diff --git a/server/xml/macros/ocgtt-1.0.xml b/server/xml/macros/ocgtt-1.0.xml new file mode 100644 index 0000000..9f93ea3 --- /dev/null +++ b/server/xml/macros/ocgtt-1.0.xml @@ -0,0 +1,71 @@ + + + + + + + out = 'I henhold til øjenafdelingens retningslinier dryppes der med:\n' + out = out .. getValue('ocgtt.preparation') .. '\n' + out = out .. 'Drypning er foretaget af: ' .. getValue('ocgtt.initials') + .. ', den ' .. os.date('%e. %b %Y %k:%M', tonumber(getValue('ocgtt.date'))) + return out + + + + + + -- Set date to now if no other data available within last 24 hours. + return os.time(), os.time() - 24*60*60, 'system' + + + + + + + + + + + + + + + +