captain of the ship doctrine medical malpractice