Most countries are member of the International Civil Aviation Organization (ICAO) and as such have signed the "Chicago Convention 1944" (111 pages, 2 Mb). Aviation rules and regulations in member countries are based on the recommendations of the ICAO.
From the document: "COMMISSION REGULATION (EU) No 1178/2011 of 3 November 2011 laying down technical requirements and administrative procedures related to civil aviation aircrew pursuant to Regulation (EC) No 216/2008 of the European Parliament and of the Council".
This document is 61 pages and 260 kB in size, loading may take a while.
Excerpt from the document:
AMC1 MED.A.015 Medical confidentiality
To ensure medical confidentiality, all medical reports and records should be securely held with accessibility restricted to personnel authorized by the medical assessor.
To continue reading see the pdf below: