out = ''
if ( getValue('slit_lamp.right.missing') == '' or getValue('slit_lamp.left.missing') == '' )
then
out = out .. 'Spl:\n'
end
if ( getValue('slit_lamp.right.missing') == '' )
then
out = out .. 'Linsen, højre side: ' .. getValue('slit_lamp.right.observation') .. '\n'
if ( getValue('slit_lamp.right.additional') ~= '' )
then
out = out .. 'Supplerende:\n' .. getValue('slit_lamp.right.additional') .. '\n'
end
end
if ( getValue('slit_lamp.left.missing') == '' )
then
out = out .. 'Linsen, venstre side: ' .. getValue('slit_lamp.left.observation') .. '\n'
if ( getValue('slit_lamp.left.additional') ~= '' )
then
out = out .. 'Supplerende:\n' .. getValue('slit_lamp.left.additional') .. '\n'
end
end
return out