fee for service

What if instead of paying doctors based on their number of visits with patients we paid them based on how well they improved the health of their patient? Say how well they controlled a diabetic patient’s blood sugar or a heart attack patient’s cholesterol?