Meaning of 'be with you'?

Could you please explain the meaning of the bold sentence below to me?

Your rights include many things:
Choose who can be with you for treatments and examinations.

You have the right to choose who accompanies you for treatment and examination.

‘Treatment’ should be singular, uncountable.