out = '90D linse:' if ( getValue('90d_linse.mangler.odxt') == '' and getValue('90d_linse.mangler.osin') == '' ) then out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') .. ' på o.dxt og ' .. getValue('90d_linse.indblik.osin')..' på venstre.\n' else if ( getValue('90d_linse.mangler.odxt') == '' ) then out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') .. ' på o.dxt.\n' end if ( getValue('90d_linse.mangler.osin') == '' ) then out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.osin') ..' på o.sin.\n' end end if ( getValue('90d_linse.mangler.odxt') == '' ) then if ( getValue('90d_linse.implikation.odxt') == 'retinal hævelse' ) then out = out .. 'På o.dxt findes der retinal hævelse' if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') ~= '') then out = out .. ' med randblødning og exhudater.\n' end if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') ~= '') then out = out .. ' med exhudater.\n' end if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') == '') then out = out .. ' med randblødning.\n' end if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') == '') then out = out .. '.\n' end end if ( getValue('90d_linse.implikation.odxt') == 'atrofi' ) then out = out .. 'På o.dxt findes der atrofi.\n' end end if ( getValue('90d_linse.mangler.osin') == '' ) then if ( getValue('90d_linse.implikation.osin') == 'retinal hævelse' ) then out = out .. 'På o.sin findes der retinal hævelse' if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') ~= '') then out = out .. ' med randblødning og exhudater.\n' end if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') ~= '') then out = out .. ' med exhudater.\n' end if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') == '') then out = out .. ' med randblødning.\n' end if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') == '') then out = out .. '.\n' end end if ( getValue('90d_linse.implikation.osin') == 'atrofi' ) then out = out .. 'På o.sin findes der atrofi.\n' end end if ( getValue('90d_linse.yderligere') ~= '' ) then out = out .. getValue('90d_linse.yderligere') .. '\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.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