The incriminating evidence was disallowed on a technicality.
I don’t think that was what happened.
The movie is famous for the hospital’s lawyer pressing the witness in front of the jury with one too many questions to which he did not know the answer, but found out to his chagrin.