SELECT `diagnosis`.* FROM `diagnosis` WHERE (profile_id = 12448) AND (surgery_id != 0)