From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/tao_aktuelle-1.0.xml | 156 --------------------------------- 1 file changed, 156 deletions(-) delete mode 100644 server/xml/macros/tao_aktuelle-1.0.xml (limited to 'server/xml/macros/tao_aktuelle-1.0.xml') diff --git a/server/xml/macros/tao_aktuelle-1.0.xml b/server/xml/macros/tao_aktuelle-1.0.xml deleted file mode 100644 index 6ecd8ce..0000000 --- a/server/xml/macros/tao_aktuelle-1.0.xml +++ /dev/null @@ -1,156 +0,0 @@ - - - - out = '' - - if ( getValue('tao_aktuelle.thyreotoxicose') ~= 'ikke diagnosticeret' ) - then - out = out .. 'Thyreotoxicose siden ' .. os.date('%b %Y', tonumber(getValue('tao_aktuelle.thyreotoxicose.dato'))) .. '. ' - out = out .. 'På ' .. getValue('tao_aktuelle.thyreotoxicose.oeje') .. ' er der ' - - if ( getValue('tao_aktuelle.thyreotoxicose.roedme') ~= '' ) - then - out = out .. getValue('tao_aktuelle.thyreotoxicose.roedme') - if ( getValue('tao_aktuelle.thyreotoxicose.kloee') ~= '' or getValue('tao_aktuelle.thyreotoxicose.dobbeltsyn') ~= '' or getValue('tao_aktuelle.thyreotoxicose.smerter') ~= '' or getValue('tao_aktuelle.thyreotoxicose.symptom_andet') ~= '' ) - then - out = out .. ', ' - end - end - - if ( getValue('tao_aktuelle.thyreotoxicose.kloee') ~= '' ) - then - out = out .. getValue('tao_aktuelle.thyreotoxicose.kloee') - if ( getValue('tao_aktuelle.thyreotoxicose.dobbeltsyn') ~= '' or getValue('tao_aktuelle.thyreotoxicose.smerter') ~= '' or getValue('tao_aktuelle.thyreotoxicose.symptom_andet') ~= '' ) - then - out = out .. ', ' - end - end - - if ( getValue('tao_aktuelle.thyreotoxicose.dobbeltsyn') ~= '' ) - then - out = out .. getValue('tao_aktuelle.thyreotoxicose.dobbeltsyn') - if ( getValue('tao_aktuelle.thyreotoxicose.smerter') ~= '' or getValue('tao_aktuelle.thyreotoxicose.symptom_andet') ~= '' ) - then - out = out .. ', ' - end - end - - if ( getValue('tao_aktuelle.thyreotoxicose.smerter') ~= '' ) - then - out = out .. getValue('tao_aktuelle.thyreotoxicose.smerter') - if ( getValue('tao_aktuelle.thyreotoxicose.symptom_andet') ~= '' ) - then - out = out .. ', ' - end - end - - if ( getValue('tao_aktuelle.thyreotoxicose.symptom_andet') ~= '' ) - then - out = out .. getValue('tao_aktuelle.thyreotoxicose.symptom_andet') - end - - out = out .. '.\n' - - out = out .. 'Symptomerne er opstået ' .. getValue('tao_aktuelle.thyreotoxicose.opstaaet') .. ' og er efterfølgende ' .. getValue('tao_aktuelle.thyreotoxicose.efterfoelgende') .. '.' - - else - out = out .. 'Thyreotoxicose ikke diagnosticeret.' - end - - - return out - - - - - - -- Set date to now if no other data available within last 24 hours. - return os.time(), os.time() - 24*60*60, 'pracro' - - - - - - - - -