From de91c53b843e9c7779fabcdef67a716c08f3c890 Mon Sep 17 00:00:00 2001 From: senator Date: Fri, 6 Nov 2009 11:27:47 +0000 Subject: all sf cyl grader macros now allow only sf filled in. templates updated --- .../xml/macros/visus-manifest_refraktion-1.0.xml | 649 ++++++++++++++++++++- 1 file changed, 633 insertions(+), 16 deletions(-) (limited to 'server/xml/macros/visus-manifest_refraktion-1.0.xml') diff --git a/server/xml/macros/visus-manifest_refraktion-1.0.xml b/server/xml/macros/visus-manifest_refraktion-1.0.xml index 3747fb5..a2c16fc 100644 --- a/server/xml/macros/visus-manifest_refraktion-1.0.xml +++ b/server/xml/macros/visus-manifest_refraktion-1.0.xml @@ -9,10 +9,6 @@ then out = out .. ', ' .. getValue('visus.manifest_refraktion.kontrast.right') .. ' kontrast' end - if ( getValue('visus.manifest_refraktion.st_hul.right') ~= '' ) - then - out = out .. ', ' .. getValue('visus.manifest_refraktion.st_hul.right') - end out = out .. ':\n' if ( getValue('visus.manifest_refraktion.snellen.right') ~= '' ) then @@ -32,13 +28,32 @@ out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.grader.right') .. ' grader' end out = out .. '\n' - + if ( getValue('visus.manifest_refraktion.st_hul.right') ~= '' ) + then + out = out .. 'Måling foretaget med st. hul:\n' + if ( getValue('visus.manifest_refraktion.st_hul.snellen.right') ~= '' ) + then + out = out .. 'Snellen: ' .. getValue('visus.manifest_refraktion.st_hul.snellen.right') .. '\n' + end + if ( getValue('visus.manifest_refraktion.st_hul.etdrs.right') ~= '' ) + then + out = out .. 'ETDRS: ' .. getValue('visus.manifest_refraktion.st_hul.etdrs.right') .. '\n' + end + end if ( getValue('visus.manifest_refraktion.missing.left') == '' ) then out = out .. '\n' end end + + + + + + + + if ( getValue('visus.manifest_refraktion.missing.left') == '' ) then out = out .. 'Visus, manifest refraktion, o.sin' @@ -46,10 +61,6 @@ then out = out .. ', ' .. getValue('visus.manifest_refraktion.kontrast.left') .. ' kontrast' end - if ( getValue('visus.manifest_refraktion.st_hul.left') ~= '' ) - then - out = out .. ', ' .. getValue('visus.manifest_refraktion.st_hul.left') - end out = out .. ':\n' if ( getValue('visus.manifest_refraktion.snellen.left') ~= '' ) then @@ -69,13 +80,51 @@ out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.grader.left') .. ' grader' end out = out .. '\n' - + if ( getValue('visus.manifest_refraktion.st_hul.left') ~= '' ) + then + out = out .. 'Måling foretaget med st. hul:\n' + if ( getValue('visus.manifest_refraktion.st_hul.snellen.left') ~= '' ) + then + out = out .. 'Snellen: ' .. getValue('visus.manifest_refraktion.st_hul.snellen.left') .. '\n' + end + if ( getValue('visus.manifest_refraktion.st_hul.etdrs.left') ~= '' ) + then + out = out .. 'ETDRS: ' .. getValue('visus.manifest_refraktion.st_hul.etdrs.left') .. '\n' + end + end if ( getValue('visus.manifest_refraktion.missing.left') == '' ) then out = out .. '\n' end end + + + + + + + + + + if ( getValue('visus.manifest_refraktion.ou') ~= '' ) + then + out = out .. 'Visus, manifest refraktion, o.u' + if ( getValue('visus.manifest_refraktion.kontrast.ou') ~= '' ) + then + out = out .. ', ' .. getValue('visus.manifest_refraktion.kontrast.ou') .. ' kontrast' + end + out = out .. ':\n' + if ( getValue('visus.manifest_refraktion.snellen.ou') ~= '' ) + then + out = out .. 'Snellen: ' .. getValue('visus.manifest_refraktion.snellen.ou') .. '\n' + end + if ( getValue('visus.manifest_refraktion.etdrs.ou') ~= '' ) + then + out = out .. 'ETDRS: ' .. getValue('visus.manifest_refraktion.etdrs.ou') .. '\n' + end + end + return out @@ -207,6 +256,93 @@ end return true + + + + + + + + + + @@ -248,9 +393,6 @@ - - -