There should be a clear understanding that when implementing an electronic health record system (EHR), one of the hardest problems we have to solve is the access rights. In Estonia this process lasted for three years and involved all stakeholders of the healthcare sector. Special ethical committee was established to advise the decision makers and doctors to help them understand the ethical dilemmas from the patient's and society's point of view. In this article you will find a short overview of the access rights of the system, roles of the healthcare systems' employees. Descriptions of some specific situations like underage patients and representation of patient with restricted active legal capacity.