From df88d843e13bcd3da067b882d91fc4c02365a1af Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 2 Mar 2009 07:52:10 +0000 Subject: Macro fix --- server/xml/macros/B.2.2.4.1.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'server/xml/macros/B.2.2.4.1.xml') diff --git a/server/xml/macros/B.2.2.4.1.xml b/server/xml/macros/B.2.2.4.1.xml index 40c8e85..cf5af85 100644 --- a/server/xml/macros/B.2.2.4.1.xml +++ b/server/xml/macros/B.2.2.4.1.xml @@ -14,21 +14,21 @@ out = '' - if ( getValue('oct.right.missing') == '' ) + if ( getValue('oct.right.missing') == '' or getValue('oct.left.missing') == '' ) then - out = out .. 'Central nethindetykkelse, højre: ' .. getValue('oct.right.thickness') - .. ' µm\n' - end + out = out .. 'Central nethindetykkelse:\n' - if ( getValue('oct.left.missing') == '' ) - then - out = out .. 'Central nethindetykkelse, venstre: ' .. getValue('oct.left.thickness') - .. ' µm\n' - end + if ( getValue('oct.right.missing') == '' ) + then + out = out .. 'OCT o.dxt ' .. getValue('oct.right.thickness') .. ' µm\n' + end - if ( getValue('oct.comments') ~= '' ) - then - out = out .. getValue('oct.comments') .. '\n' + if ( getValue('oct.left.missing') == '' ) + then + out = out .. 'OCT o.sin ' .. getValue('oct.left.thickness') .. ' µm\n' + end + + out = out .. 'Anamnese som anført' end return out -- cgit v1.2.3