Introduction. The modern health care system is functioning in the era of dynamic development of technology of processing increasing resources of knowledge and information. It is carried out both in diagnostics and in processes directly related to the performance of medical procedures thanks to improvements in health data processing techniques. At the same time, a largescale support of both knowledge resources and organizational processes is provided by specially adapted computer systems. Systems belonging to the socalled artificial intelligence are emerging. All these phenomena are related to the generation of more and more data and information about the patient's health.
The aim of the study. The aim of the study was to discuss the most important problems concerning the safety of medical data in the light of new technological and legal challenges.
Selection of material. The search was conducted in the Scopus database using the following terms: medical data security, IT technologies 2016-2019. The literature found in the Google Scholar database was analyzed in terms of the largest number of citations. Such selected literature was used as a material for the preparation of the present paper.
Conclusions. New regulations on the identification of trust services, personal data security and cybersecurity will also have a broad application in health care. Most of them were issued in the form of regulations ensuring their universal applicability throughout the EU. Unfortunately, the implementation of new legal solutions at the level of health care may be difficult, if only because of the costs of implementation. Both the highly desirable system of identification of persons providing health services and patients, the universal implementation of trust services and the classification of some hospitals as operators of key services are very high financial burdens for medical entities. On this occasion, we may wonder whether at least some of the required solutions should not be financed by the state, e.g. issuing certificates for advanced electronic signatures and seals or making cloud solutions widely available for keeping electronic medical records.