out = ''
if ( getValue('snellen.right.missing') == '' or getValue('snellen.left.missing') == '' )
then
out = out .. 'Objektivt:\n'
if ( getValue('snellen.right.missing') == '' )
then
out = out .. 'Visus o.dxt. ' .. getValue('snellen.right') .. '\n'
out = out .. 'ETDRS o.dxt. ' .. getValue('etdrs.right') .. '\n'
out = out .. 'Korr.: ' .. getValue('snellen.right.corr.basis') .. ' add '
.. getValue('snellen.right.corr.sph') .. ' sf, '
.. getValue('snellen.right.corr.cyl') .. ' sph '
.. getValue('snellen.right.corr.axis') .. ' grader.\n'
end
if ( getValue('snellen.left.missing') == '' )
then
out = out .. 'Visus o.sin. ' .. getValue('snellen.left') .. '\n'
out = out .. 'ETDRS o.sin. ' .. getValue('etdrs.left') .. '\n'
out = out .. 'Korr.: ' .. getValue('snellen.left.corr.basis') .. ' add '
.. getValue('snellen.left.corr.sph') .. ' sf, '
.. getValue('snellen.left.corr.cyl') .. ' sph '
.. getValue('snellen.left.corr.axis') .. ' grader.\n'
end
end
return out