First and foremost, it ought not to have been allowed. I�m not certain I understand the circumstances where, as a witness, your medical records would be called in to the scenario for the prosecution, unless, of course, part of the claim you�ve made has had to do with the stress you�ve encountered as a part of this claim. Nevertheless, as a �witness� I can�t imagine this being part of the actual documented evidence. If it was admitted as evidence, and marked as such, the defence counsel as well as the defendant have the right to inspect and query the documentation. In the interest of justice, this would be necessary.
Clearly you�re upset. However, it may be best that you seek advice from your solicitor if there have been instances where the defendant is taking steps to malign or denigrate you in public.
I wish you every success
Fr Bill