Dealing with privacy regulations

Hi, I am a SUNY Plattsburgh student who is working on a project about OpenMRS. I found it really interesting about this project as how it helps a lot of people from all over the world in medical records system. So my question here is: How exactly would OpenMRS deal with privacy regulations in countries that have them if it were to be used there? I would love to know what you think on this. Thank you.