out = '' if ( getValue('keratometri.right.missing') == '' ) then out = out .. 'Keratometri, højre øje:\n' .. 'Radius 1: ' .. getValue('keratometri.right.r1') .. 'Radius 2: ' .. getValue('keratometri.right.r2') .. 'Cylinder: ' .. getValue('keratometri.right.x1') end if ( getValue('keratometri.left.missing') == '' ) then out = out .. 'Keratometri, venstre øje:\n' .. 'Radius 1: ' .. getValue('keratometri.left.r1') .. 'Radius 2: ' .. getValue('keratometri.left.r2') .. 'Cylinder: ' .. getValue('keratometri.left.x1') end return out value = 0 timestamp = 0 source = 'pracro' if( missing_eye_right ) then if( missing_eye_right.value and missing_eye_right.value == '' ) then value = '' timestamp = missing_eye_right.timestamp else value = 'mangler' timestamp = missing_eye_right.timestamp end end return value, timestamp, source value = 0 timestamp = 0 source = 'pracro' if( missing_eye_left ) then if( missing_eye_left.value and missing_eye_left.value == '' ) then value = '' timestamp = missing_eye_left.timestamp else value = 'mangler' timestamp = missing_eye_left.timestamp end end return value, timestamp, source