out = '' if ( getValue('tonometer.mangler.odxt') == '' or getValue('tonometer.mangler.osin') == '' ) then out = out .. 'Øjentryk:\n' end if ( getValue('tonometer.mangler.odxt') == '' ) then out = out .. 'o.dxt: ' .. getValue('tonometer.tryk.odxt') .. ' mmHg\n' end if ( getValue('tonometer.mangler.osin') == '' ) then out = out .. 'o.sin: ' .. getValue('tonometer.tryk.odxt') .. ' mmHg\n' end if ( getValue('tonometer.mangler.odxt') == '' or getValue('tonometer.mangler.osin') == '' ) then out = out .. getValue('tonometer.apparat') .. '.\n' 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.kilde else value = 'mangler' timestamp = missing_eye_odxt.timestamp source = missing_eye_odxt.kilde 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.kilde else value = 'mangler' timestamp = missing_eye_osin.timestamp source = missing_eye_osin.kilde end end return value, timestamp, source