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