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 ++++++++++++------------ server/xml/macros/B.2.2.4.2.xml | 25 +++++++++++++++---------- server/xml/macros/B.2.2.6.xml | 2 +- server/xml/macros/B.2.7.2.xml | 17 +++++++++++------ server/xml/macros/B.2.7.3.xml | 18 ++++++++++-------- server/xml/macros/B.3.1.1.xml | 7 +++++-- server/xml/macros/B.3.1.2.xml | 19 +++++++++++++------ server/xml/macros/B.3.1.3.xml | 16 ++++++++++++++-- 8 files changed, 81 insertions(+), 47 deletions(-) (limited to 'server') 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 diff --git a/server/xml/macros/B.2.2.4.2.xml b/server/xml/macros/B.2.2.4.2.xml index 3980234..d4735c0 100644 --- a/server/xml/macros/B.2.2.4.2.xml +++ b/server/xml/macros/B.2.2.4.2.xml @@ -14,17 +14,22 @@ out = '' - if ( getValue('oct.right.missing') == '' ) - then - out = out .. 'Central nethindetykkelse, højre: ' .. getValue('oct.right.thickness') - .. ' µm, ' .. getValue('oct.right.description') .. '.\n' - end + if ( getValue('oct.right.missing') == '' or getValue('oct.left.missing') == '' ) + then + out = out .. 'Central nethindetykkelse:\n' - if ( getValue('oct.left.missing') == '' ) - then - out = out .. 'Central nethindetykkelse, venstre: ' .. getValue('oct.left.thickness') - .. ' µm, ' .. getValue('oct.left.description') .. '.\n' - end + if ( getValue('oct.right.missing') == '' ) + then + out = out .. 'OCT o.dxt ' .. getValue('oct.right.thickness') .. ' µm ' + .. getValue('oct.right.description') .. '.\n' + end + + if ( getValue('oct.left.missing') == '' ) + then + out = out .. 'OCT o.sin ' .. getValue('oct.left.thickness') .. ' µm ' + .. getValue('oct.left.description') .. '.\n' + end + end if ( getValue('oct.comments') ~= '' ) then diff --git a/server/xml/macros/B.2.2.6.xml b/server/xml/macros/B.2.2.6.xml index 37c04e8..3b05bf8 100644 --- a/server/xml/macros/B.2.2.6.xml +++ b/server/xml/macros/B.2.2.6.xml @@ -16,7 +16,7 @@ out = '' if ( getValue('slit_lamp.right.missing') == '' or getValue('slit_lamp.left.missing') == '' ) then - out = out .. 'Spaltelampe:\n' + out = out .. 'Spl:\n' end if ( getValue('slit_lamp.right.missing') == '' ) diff --git a/server/xml/macros/B.2.7.2.xml b/server/xml/macros/B.2.7.2.xml index 7ae99b7..269b387 100644 --- a/server/xml/macros/B.2.7.2.xml +++ b/server/xml/macros/B.2.7.2.xml @@ -5,8 +5,12 @@ --> Undersøgelsen viser god fyldning af det retinale kartrø. -Svarende til det retinale ødem ses der i de tidlige faser ${fluorescens.early_fases}. -Gennem de angiografiske faser udvikles der ${fluorescens.angiografic_fases}. + +Svarende til det retinale ødem ses der i de tidlige faser +${fluorescens.early_fases}. + +Gennem de angiografiske faser udvikles der +${fluorescens.angiografic_fases}. @@ -29,13 +33,14 @@ Gennem de angiografiske faser udvikles der ${fluorescens.angiografic_fases}. - - - + + +