They could have written a scene like that to replace the one in which everyone pauses in the middle of a massive emergency so that they can listen to McCoy explaining, apropos nothing and to nobody in particular, that he seems to have invented a resurrection serum.