diff options
Diffstat (limited to 'server/xml/macros/B.2.2.4.1.xml')
-rw-r--r-- | server/xml/macros/B.2.2.4.1.xml | 24 |
1 files changed, 12 insertions, 12 deletions
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 @@ <macro name="B.2.2.4.1" version="1.0"> <resume language="lua"> 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 |