out = '' if ( getValue('90d_linse.mangler.odxt') == '' ) then out = out .. 'Oftalmoskopi, o.dxt:\n' out = out .. getValue('90d_linse.indblik.odxt') .. ' indblik.\n' out = out .. 'Papil: ' .. getValue('90d_linse.papil.odxt') .. '\n' out = out .. 'Makula: ' .. getValue('90d_linse.makula.odxt') .. '\n' out = out .. 'Periferi: ' .. getValue('90d_linse.periferi.odxt') if ( getValue('90d_linse.periferi.odxt') == 'Hul eller rift kl' ) then out = out .. ' ' .. getValue('90d_linse.hul_eller_rift_kl.odxt') .. '\n' else out = out .. '\n' end if ( getValue('90d_linse.supplerende.odxt') ~= '' ) then out = out .. getValue('90d_linse.supplerende.odxt') .. '\n' end end if ( getValue('90d_linse.mangler.osin') == '' ) then if ( getValue('90d_linse.mangler.odxt') == '' ) then out = out .. '\n' end out = out .. 'Oftalmoskopi, o.sin:\n' out = out .. getValue('90d_linse.indblik.osin') .. ' indblik.\n' out = out .. 'Papil: ' .. getValue('90d_linse.papil.osin') .. '\n' out = out .. 'Makula: ' .. getValue('90d_linse.makula.osin') .. '\n' out = out .. 'Periferi: ' .. getValue('90d_linse.periferi.osin') if ( getValue('90d_linse.periferi.osin') == 'Hul eller rift kl' ) then out = out .. ' ' .. getValue('90d_linse.hul_eller_rift_kl.osin') .. '\n' else out = out .. '\n' end if ( getValue('90d_linse.supplerende.osin') ~= '' ) then out = out .. getValue('90d_linse.supplerende.osin') .. '\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