How the HMS protects patient data under the PDPL — access control, audit, data rights, break-glass, governance, retention, incidents and sign-out — plus documentation rules.
Privacy and Security
The system is built to help the hospital meet the Saudi Personal Data Protection Law (PDPL). This page gives the overview; each topic has its own page.
Controls in the product
| Control | What it does | Page |
|---|---|---|
| Roles and privileges | Each person sees only their portal; admins can allow or deny single admin privileges per person | Roles and Access |
| Record access audit | Every view or change of a patient or visit record is logged (who, role, patient, endpoint, time) | Roles and Access |
| Patient data rights | My data download; correction and deletion requests with a 30-day deadline; medical-record legal hold | Data Rights |
| Break-glass | Emergency read-only access for 60 minutes with a written reason; admin review | Break-Glass and Timed Access |
| Time-bound access | Admin grants one person access to one patient, up to 30 days | Break-Glass and Timed Access |
| Governance | DPO, vendor registry (inside / outside KSA), KSA-only setting, RoPA export, 90-day access review | PDPL Governance |
| Retention | Rules per data type; nightly purge of non-clinical data; medical records protected | Retention and Incidents |
| Incidents | Incident log, SDAIA 72-hour countdown, affected-records CSV, EN / AR notices | Retention and Incidents |
| Automatic sign-out | Staff 15 minutes, patients 60 | Automatic Sign-Out |
| Consent | Care and treatment (required) plus optional consents: messaging, AI assistance, consultation recording, quality and research | below |
Consent and recording
- Patients give consent for care and treatment at registration. Optional consents cover appointment messaging, AI clinical assistance, consultation recording, and quality and research.
- Room recording needs the patient's explicit consent at the start of the consultation. Audio is transcribed and discarded; only text is kept. If the patient says no, the doctor types or uses section dictation.
- Recording is not offered for excluded specialties (pilot: OB/GYN).
Good practice for staff
- Sign out on shared workstations.
- Use break-glass only when truly needed; every use is reviewed.
- Do not share passwords; each person uses their own account.
- Store exported files (My data, RoPA, affected-records CSV) only where your hospital allows.
Documentation rules
- Never publish real patient names, National IDs, phone numbers or clinical details in public docs.
- Use demo personas only; blur identifiers in screenshots.
- Do not publish passwords, tokens, internal IPs or server details.