For example, for devices : ISO IEC 62304 Medical device software – Software life cycle processes
I guess this kind to enforce on an Open Source projects with "open contributions".
It's important to remember that EMRs are there to support healthcare professionals who are used to working with incomplete / incorrect information all the time. For example, a patient isn't going to have a drug dispensed to them without a pharmacist checking it (and, frequently, asking the prescribing doctor to clarify/amend questionable doses or instructions).
That is indeed the case (medical record software not being classified as a medical device software product in Europe). However medical record software has been added to also be covered some ISO 80xxx standard. However in the USA medical record software is considered a class B or even class C medical product by the FDA, depending on if the software is used just for record keeping or actively used for therapy planning.
You cannot just install some software and start putting patient data into it.
Each country has a regulation process how the said software can be used and there are international standards as well.
This area is known as "Electronic Health Record" and "Health information technology" systems