out = '' if ( getValue('autorefractor.mangler.odxt') == '' ) then out = out .. 'Autorefraktion, o.dxt: ' .. getValue('autorefractor.sfere.odxt') .. ' sf' if ( getValue('autorefractor.cyl.odxt') ~= '' ) then out = out .. ', ' .. getValue('autorefractor.cyl.odxt') .. ' cyl' end if ( getValue('autorefractor.grader.odxt') ~= '' ) then out = out .. ', ' .. getValue('autorefractor.grader.odxt') .. ' grader\n' else out = out .. '\n' end end if ( getValue('autorefractor.mangler.osin') == '' ) then out = out .. 'Autorefraktion, o.sin: ' .. getValue('autorefractor.sfere.osin') .. ' sf' if ( getValue('autorefractor.cyl.osin') ~= '' ) then out = out .. ', ' .. getValue('autorefractor.cyl.osin') .. ' cyl' end if ( getValue('autorefractor.grader.osin') ~= '' ) then out = out .. ', ' .. getValue('autorefractor.grader.osin') .. ' grader\n' else out = out .. '\n' end end return out value = 0 timestamp = 0 source = '' if( missing_eye_odxt ) then if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) then value = '' timestamp = missing_eye_odxt.timestamp source = missing_eye_odxt.source else value = 'mangler' timestamp = missing_eye_odxt.timestamp source = missing_eye_odxt.source end end return value, timestamp, source value = 0 timestamp = 0 source = '' if( missing_eye_osin ) then if( missing_eye_osin.value and missing_eye_osin.value == '' ) then value = '' timestamp = missing_eye_osin.timestamp source = missing_eye_osin.source else value = 'mangler' timestamp = missing_eye_osin.timestamp source = missing_eye_osin.source end end return value, timestamp, source