
Patient data access in a hospital belongs to healthcare professionals and, on the basis of an authorisation from the data controller, to support staff and the people who maintain the IT systems. Polish law says so explicitly, and the same model fits any hospital working under the GDPR. In the hospital’s systems it means a named account for each of these people, permissions that follow from their role, multi-factor authentication where the risk is highest, and logs that show who opened a record, when and why.
This article explains how to organise patient data access in the hospital information system (HIS), the laboratory system (LIS), radiology and imaging systems (RIS/PACS) and the electronic records repository. It covers authorisations, the role model, shared accounts, emergency access, vendor remote support and log reviews. The practice is usable in any country; the legal layer is the GDPR plus Polish law, which we mark each time. Legal status as of November 2026. This article is for information only and is not legal advice. If your hospital has nobody who runs this area day to day, an external security lead (vCISO) can take it over.
Who is legally allowed to access patient data in a hospital?
Under Polish law, two groups are entitled to process the data in medical records: persons practising a medical profession, and other persons who perform auxiliary activities in the provision of healthcare or activities related to maintaining the IT system and keeping it secure. The second group acts on the basis of an authorisation from the data controller. This is Article 24(2) of the Act on Patient Rights and the Patient Ombudsman (the Patient Rights Act, in Polish). Persons in the second group are bound by secrecy, also after the patient’s death (Article 24(3)).
Belonging to one of these groups does not mean access to everything. Three sets of rules narrow patient data access further:
- The medical records regulation (Regulation of the Minister of Health of 6 April 2020, consolidated text Journal of Laws 2026, item 1391) treats records as secured when, on a continuous basis, they are available only to authorised persons (§ 1(4)(1)). It requires documented access procedures (§ 1(5)(2)). From the IT system it expects protection against unauthorised access, identification of the person who makes an entry or a change, and the time of that action (§ 1(6)(2)–(4)).
- The Act on the Health Information System ties access to data in the provider’s system and in the national Medical Information System (SIM) to a specific relationship. Access belongs, among others, to the medical professional who created the record, and to a medical professional practising at the same provider if access is necessary for diagnostics, for continuity of treatment or for the settlement (billing) of healthcare services (Article 35(1)(1) and (2)). Outside the cases listed in Article 35(1), data is made available with the consent of the patient or the patient’s statutory representative (Article 35(1a)).
- The GDPR requires technical and organisational measures appropriate to the risk (Article 32), and health data belongs to the special categories (Article 9). This layer applies in every Member State.
The practical conclusion: a doctor on the cardiology ward is an authorised person, but it is hard to name a basis for that doctor to browse the record of a gynaecology patient whom they neither treat nor consult. The system should reflect this in its settings and not rest on trust alone.
Outside Poland the article numbers differ, but the structure is worth copying into any access policy: a defined list of who may see records, a “needed for this patient” test on top of it, and technical measures that enforce both.
How does an authorisation to process medical data work, and who grants it?
The data controller grants the authorisation, and every person outside the medical professions who comes into contact with records needs one. The controller is the hospital, represented by the head of the entity (the managing director or management board, or the director of a public hospital) or by a person the head has entrusted with this task. In practice the people who need an authorisation are receptionists, medical secretaries, billing and statistics staff, IT staff and vendors’ service engineers. The Polish provision does not prescribe a template, so the hospital has to decide the content itself.
A good authorisation contains:
- the person’s full name and position or role;
- the scope: which systems and which actions (read, write, export, administration);
- the date of issue and a period of validity or a condition for expiry, for example the end of a contract;
- a confidentiality undertaking, with a note that it continues to apply after the work ends;
- a number in the register of authorisations.
The most common mistake is that the authorisation and the system account live separate lives. HR keeps a signed document with the scope “front desk”, while the same person’s account has, after three years, permissions collected from four positions. The fix is a single register in which every authorisation corresponds to a specific role in the system, and a change of role requires a change of authorisation. Persons practising a medical profession are entitled under Article 24(2)(1), without the authorisation described in point 2, but their accounts follow the same rules for granting and withdrawing access.
Patient data access by role: permissions in the medical records system
In a role model, permissions are assigned to a position and an organisational unit, not to a person. A new employee gets a role, not a copy of a colleague’s account. The table below is a starting point that has to be adapted to the structure of the hospital and to what the system can do.
| Role | Typical scope of access | Basis and comments |
|---|---|---|
| Ward doctor | Full records of patients on their own ward, read and write | Medical profession. Patients of other wards through a consultation order or the emergency procedure. |
| Doctor on call, emergency department, admissions | Patients being admitted and the wards covered by the shift | Medical profession. The wider scope is limited to the duration of the shift. |
| Nurse, midwife | Records of patients on the ward, orders, observation charts | Medical profession. Scope of entries in line with professional competence. |
| Laboratory and imaging staff | Orders and results in the LIS or RIS/PACS, data necessary for the examination | Medical profession or authorisation, depending on the position. |
| Front desk, medical secretary | Identification data, appointments, referrals, documents prepared for the doctor | Controller’s authorisation. No view of the records of wards they do not serve. |
| Billing, medical statistics | Data needed to settle services and for reporting | Controller’s authorisation. Exports are logged. |
| System administrator | Technical access to servers, databases and configuration | Authorisation covering maintenance and security. Separate privileged account, sessions recorded. |
| Vendor support | Temporary, within the scope of a ticket | Authorisation and a data processing agreement. The vendor is bound by secrecy (Article 24(6) of the Patient Rights Act). |
| Student, person training for a medical profession | Read access within the scope of the teaching | Only to the extent necessary for teaching purposes (Article 26(3a) of the Patient Rights Act). Named account. |
Three principles organise the rest. First, least privilege: a role contains what the position needs every day, and rare needs are handled by the emergency procedure or by a request. Second, separation of duties: the person who grants permissions does not approve their own requests, and an administrator does not do everyday work on a privileged account. Third, a role owner: the content of the role “nurse, internal medicine ward” is the responsibility of the ward’s head nurse or the chief nurse, not of the IT technician who only enters the change.
If your system cannot restrict a doctor to one ward without breaking consultations and on-call work, say so in the access control policy and compensate: log every read, review access to records outside the user’s own ward, and tell staff that these reviews happen.
Why are shared accounts a problem and how do you get rid of them?
A shared account makes it impossible to establish who made an entry or a change, and identifying that person is exactly what § 1(6)(3) of Poland’s medical records regulation (in Polish) requires of the system. A login such as “ward3” or “nurses-station” is born of convenience: a dozen or more people work at a nursing station over 24 hours, and nobody wants to type a long password every few minutes. The consequences show only when there is a dispute about an entry, a patient complaint or an incident investigation, and the log points to a workstation instead of a person. The password to such an account is usually not changed when an employee leaves, so the circle of people who know it only grows.
A ban alone rarely gets a hospital out of shared accounts. This sequence works:
- Inventory. Pull from each system the list of accounts that are not assigned to a person, and find out who uses them.
- Fast login. Before you switch off a shared account, give staff a way to log in that takes two seconds: a proximity card with a PIN and fast user switching on the shared workstation.
- Short sessions. Set an automatic lock after a short period of inactivity, so that the next person does not work in the previous person’s session.
- A pilot on one ward. After two weeks, collect comments and correct the settings before you extend the change to the whole hospital.
- Switching off shared accounts on a date announced in advance, with an IT technician on call during the first days.
- Technical accounts. Accounts of devices and integrations that cannot be assigned to a person should be described in the register and given an owner. Keep their passwords in a password manager that records every retrieval.
If the pilot shows that logging in takes longer than before, fix the login before you enforce the rule. The objection about time at the bedside is a fair one.
MFA in hospitals: where is multi-factor authentication necessary, and where does it get in the way?
Multi-factor authentication is needed wherever a system can be reached from outside the building or with administrator rights, and at clinical workstations it should take a form that does not slow down work with the patient. A password alone stops protecting the moment it leaks or is phished, and that happens often. According to CSIRT CeZ data presented on 1 October 2026 (announcement in Polish), the incidents handled in the Polish health sector in 2025 included 580 cases of computer fraud, including phishing, and 148 credential leaks. CSIRT CeZ is the sectoral CSIRT for health run by Centrum e-Zdrowia (the e-Health Centre, CeZ).
In Poland: what the KSC Act says about MFA
A hospital that is an essential or important entity also has an explicit duty. Poland’s National Cybersecurity System Act (the KSC Act), which transposes NIS2 and was amended by the Act of 23 January 2026 (Journal of Laws 2026, item 252; in Polish), in force since 3 April 2026, requires secure means of electronic communication that take multi-factor authentication into account where appropriate (Article 8(1)(2)(l)), and access control policies (point (n)). The Act does not list those cases, so the hospital identifies them itself on the basis of a risk assessment and writes them into its policy. Entities that met the criteria on 3 April 2026 have until 3 April 2027 to implement the obligations. Not every hospital is covered by the Act. You can make a first check of your status with our Regulatory Compass survey.
Where to require a second factor
| Situation | Second factor | Recommended method |
|---|---|---|
| VPN and remote access for staff | Always | Authenticator app or hardware key |
| Vendor remote access | Always | Named account, key or app, connection through a jump host |
| Administrator accounts for the domain, HIS, virtualisation and backups | Always | Hardware key, separate account for administration |
| E-mail and other services reachable from the internet | Always | Authenticator app |
| Ward workstation on the internal network | Yes, in a convenient form | Proximity card and PIN, fast user switching |
| Operating theatre, intensive care, emergency department | According to the risk assessment | Proximity card, short session, control of physical entry to the zone and closer review of logs |
SMS codes are better than no second factor, but they depend on mobile coverage and on private phones, which is best avoided in an operating theatre. Before rollout, plan what a doctor does after leaving the card at home: issuing a replacement card during a shift should take a few minutes and leave a trace. An example of remote access with a second factor is described in our case study “NIS2 compliance for a 30-clinic healthcare network: 24/7 SOC, data encryption and VPN with MFA for 72 doctors”.
Joiners, movers and leavers: the account lifecycle
Most excess permissions arise during staff changes, not when an account is created. A nurse moves from surgery to cardiology and keeps both roles. A contract doctor ends the engagement and the account stays active for another six months, because nobody told IT. The process has to be tied to HR and to the people who sign contracts with self-employed clinicians.
- Joining. HR or the unit manager submits a request that names the role. The account is created before the first day of work, and a person outside the medical professions signs the authorisation before the first login.
- Change of position or ward. The new role replaces the old one on the same day. If a transition period is needed, it has an end date entered in the system.
- Long absence. The account of a person who is not performing their duties is suspended and restored on return.
- Leaving. The account is blocked on the last day of work, together with the VPN, e-mail, proximity card and access to external systems. The authorisation is marked as expired in the register.
- People outside the payroll. Contract doctors, residents, students and employees of external companies get accounts with an expiry date, which a designated contact on the hospital side extends.
A useful benchmark in Poland is the set of requirements the KSC Act places on important entities that are public entities within the meaning of that Act (Annex 4): the minimum permissions necessary to perform tasks, withdrawal of permissions without delay once the basis for access ends, suspension when duties are not performed for at least a month, and a change of scope when tasks change. Hospitals covered by the Act through the health sector apply Article 8, but these four rules describe well what an auditor will look for in any system.
Test the leaver process once a quarter: compare the list of people who left in the period with the active accounts in each system that holds patient data. Every match is a finding.
Break-glass access: how do you avoid locking a doctor out in an emergency?
Break-glass access is a deliberately designed path that lets a doctor open the record of a patient outside their own scope after giving a reason, without waiting for an administrator. The more tightly roles are set, the more it is needed, because the system must not delay treatment. In Poland, the Act on the Health Information System provides that where life is at risk every medical professional has access to the patient’s data (Article 35(1)(4)).
A well-designed emergency procedure has five features:
- the user starts it personally from their own named account, with one button;
- it requires a reason to be selected or typed in;
- it gives access to one patient and expires after a set time;
- it immediately notifies a designated person, for example the head of the department and the data protection officer;
- every use is reviewed within an agreed time, and the result of the review is recorded.
Two signals call for a reaction. If break-glass is used every day on the same ward, the roles are set too narrowly and should be corrected. If it is never used, staff are probably getting round the restrictions another way, usually by borrowing someone else’s account.
Vendor remote access and privileged accounts
A service engineer from the hospital system’s manufacturer often sees more than a head of department, yet this is the access the hospital knows least about. In Polish law, persons who maintain the system process data on the basis of the controller’s authorisation (Article 24(2)(2) of the Patient Rights Act), the vendor as a processor is bound by secrecy (Article 24(6)), and performance of the data processing agreement must not disrupt access to records (Article 24(5)). CSIRT CeZ has prepared security recommendations for suppliers of IT solutions for healthcare, which cover access management among other topics.
A minimum set of rules for support access:
- named accounts for service engineers in place of a single “support” account, with the list of people kept up to date by the vendor;
- connection only through the hospital’s VPN with a second factor and through a jump host, with no permanent tunnels and no remote desktop tools installed ad hoc;
- access switched on for the duration of a ticket and switched off when it is closed;
- logging of privileged sessions, and recording of them when work is done on the production database;
- a ban on copying production data to the vendor’s test environments without the hospital’s consent and without anonymisation.
The same rules apply to the hospital’s own administrators: a separate account for administration, a second factor, and no e-mail or web browsing on the privileged account. If you are the vendor, expect these rules in tenders and contracts. We explain how they are written into agreements in our article on what Polish hospitals require from a medical software vendor.
Accountability: which logs should you collect and how should you review them?
Accountability means that every action on patient data can be attributed to a specific person and time, so logs should cover entries and changes and also the mere reading of a record. The Polish medical records regulation requires identification of the person making an entry or a change, the scope of the change and the time (§ 1(6)(3) and (4)). Logging read access follows from the risk assessment: without it you cannot detect staff looking into the records of acquaintances, colleagues or public figures. This log will matter more with the European Health Data Space, in which patients are to have the right to check who has accessed their data. The main parts of the EHDS regulation are to apply from March 2029, and the Polish implementing arrangements are still being developed. We cover this in our article explaining the EHDS regulation.
What to log:
- successful and failed logins, with the workstation address and the authentication method;
- opening of a patient record, printing, export and disclosure outside the hospital;
- entries and changes, together with the previous value;
- use of break-glass access and the reason given;
- granting, changing and withdrawing permissions, and administrators’ actions on servers and databases.
Logs that nobody reads protect against nothing. A rhythm that a hospital can keep up looks like this:
- Daily: automatic alerts for a series of failed logins, a login from abroad, mass opening of records, or an export of a large number of records.
- Monthly: a review of break-glass uses and a spot check of patient data access for selected records.
- Quarterly: a review of permissions by the role owners.
Logs should be sent outside the system that produces them, so that the administrator of that system cannot alter them. A SIEM does this, and a 24/7 SOC provides round-the-clock response to alerts. The provisions cited in this article do not set a retention period for logs. Define it in your policy on the basis of a risk assessment and confirm it with the data protection officer. We discuss log sources in a hospital in our article on a SOC for hospitals.
A 90-day plan: from an account inventory to the first review
Days 1–30. Inventory the accounts in every system that holds patient data and compare the result with the list of employees and contractors. Block the accounts of people who have left. Put a second factor on the VPN, e-mail and administrator accounts. List the vendors that have remote access.
Days 31–60. Agree a catalogue of roles with heads of department and ward head nurses. Set up a single register of authorisations linked to roles. Have HR and IT sign off the joiner, mover and leaver procedure. Pilot fast login on one ward.
Days 61–90. Switch off shared accounts on the wards covered by the pilot. Launch break-glass access with notifications. Redirect logs to a central system and set the first alerts. Complete the first quarterly review of permissions with a written report for the head of the entity.
In a hospital covered by the KSC Act, the head of the entity is responsible for meeting the obligations even after entrusting the tasks to another person (Article 8c), so the review report should land on the head’s desk. We explain that responsibility in our article on NIS2 management liability in Poland. Smaller providers can use the same plan in a shortened form. We describe typical failings in clinics in GDPR in healthcare: 10 common mistakes in outpatient clinics. For the general principles, see our article on identity and access management (IAM).
FAQ: frequently asked questions
Who can access a patient’s medical records in a hospital?
In Poland, access belongs to persons practising a medical profession and, on the basis of an authorisation from the data controller, to persons who perform auxiliary activities and those who maintain the IT system (Article 24(2) of the Patient Rights Act). The scope of access should follow from involvement in the patient’s treatment or from the tasks of the position, not from the mere fact of working at the hospital.
Do a nurse and a receptionist need an authorisation to process medical data?
Under Polish law a nurse practises a medical profession and is therefore entitled by statute. A receptionist performs auxiliary activities and processes data on the basis of an authorisation from the data controller. Both should have named accounts with a scope matched to their position.
Can hospital IT staff access patient data?
Yes, within the scope of activities related to maintaining the system and keeping it secure, and on the basis of an authorisation from the data controller. They are bound by secrecy, also after the patient’s death. Their actions should be logged on a separate privileged account.
Is MFA mandatory in hospitals in Poland?
A hospital that is an essential or important entity must use secure means of electronic communication that take multi-factor authentication into account where appropriate (Article 8(1)(2)(l) of the KSC Act). The Act does not list those cases, so the hospital identifies them itself on the basis of a risk assessment. Remote access and administrator accounts are hard to justify without a second factor.
Can staff use a shared account at a nursing station?
They should not, because the records system has to ensure identification of the person who makes an entry or a change (§ 1(6)(3) of the Polish medical records regulation). A shared account does not provide that. The solution is fast named login, for example a proximity card with a PIN.
Can a patient check who has viewed their medical records?
The EHDS regulation provides for a patient’s right to information on who has accessed their data, and the main parts of the regulation are to apply from March 2029. The Polish implementing arrangements are still being shaped. Logging read access now will make it easier to prepare for these requirements.
How often should permissions in a hospital system be reviewed?
The provisions cited in this article do not give a frequency, but they require ongoing control of safeguards and periodic assessment of their effectiveness (§ 1(5)(5) of the medical records regulation). In practice a quarterly review by role owners works well, with an additional review after every reorganisation.
How we can help
Remote Admin puts access in order for healthcare providers on both the technical and the organisational side. We inventory accounts and permissions, design roles, deploy multi-factor authentication and VPN, centralise logs and run periodic reviews. As part of a NIS2/KSC audit we check whether the access control policy matches what is actually configured in the systems. Pricing is a custom quote.
If you want to know who has patient data access in your hospital today, and whether you can prove it, write to us about a permissions review.
