Comparative negligence can come into play in a medical malpractice case if the patient's own actions or negligence contributed to their injuries.