City may buy downtown building -- Stipulation could derail deal with hospital board