Clinic & Hospital · Privacy
Patient access log: who saw which patient record, and when
Daftiq writes a line to the patient access log every time someone opens a patient's profile, registers or changes a patient, merges or deletes one, prints or exports records, or sends anonymised patient data to an AI tool. A privacy officer filters it by date, user, MR number and action to see exactly who touched which record.
Last updated:
- Actions logged
- View, create, update, delete, export, print, AI
- Each line
- When, user, patient, action, record, detail, IP address
- Detail
- Names of changed fields, never their values
- Who can read it
- Users with the access-log permission, such as the Privacy Officer role
Why does a clinic need a patient access log?
Patient records are confidential. A clinic owner or privacy officer must be able to answer "who looked at this patient's file?" after a complaint or a leak, and staff behave more carefully when they know every view is recorded. The log cannot be edited from the app; even a merge of two patients adds new lines and never rewrites old ones.
The Privacy Officer role, created from Clinic settings, can read the log and nothing else in the clinic, so the person who checks access is not the person who handles patients.
What exactly is written to the log?
| Action | When it is written |
|---|---|
| View | A user opens a patient's profile |
| Create | A patient is registered, or an appointment, visit or dispense is made for them |
| Update | Patient details change (the field names), a visit is changed, billed or cancelled, or records are merged |
| Delete | A patient without appointments or visits is deleted |
| Export / Print | Patients are exported to CSV (one line per patient) or a patient card is printed |
| AI | A clinic AI tool sent that patient's anonymised data to the AI provider |
How do I review the log?
- Open Clinic & Hospital → Patient access log. It opens on the last 30 days.
- Set From and to dates, pick a User or All users, type an MR number, or choose an action.
- Click Filter. Each line shows when, who, the patient's MR number and name, the action, the record (patient, appointment, visit, dispense or AI tool), the detail and the IP address.
- Open the patient or the user from your findings and take it up with the person concerned.
How else is patient data protected?
- Date of birth, CNIC, phone, email, address, allergies, emergency contact, member number and notes are stored encrypted.
- Without the permission to view patient contact details, CNIC and phone show masked, email partly masked, and address, date of birth and similar fields are left out.
- Customers made for billing carry only a name and code, never the CNIC, phone or allergies.
- Before any clinic AI tool calls the AI, names, CNIC, phone, email, address and MR numbers are replaced with aliases such as PT1.
- The token screen in the waiting area shows MR numbers, never names.
How does this fit with the rest of the clinic?
Every flow writes here: patient registration, appointments, visits, the pharmacy and the clinic AI copilot. Who may see what is set by the roles in clinic roles and settings and by company users in setup and admin. See the Clinic & Hospital hub and the module page.
Frequently asked questions
Can I see who opened a particular patient's file?
Yes. Type the patient's MR number in the access log filter and choose the dates. Every view, change, print, export and AI use for that patient is listed with the user and time.
Does the log record what was changed?
It records which fields changed, such as phone or address, but never the old or new values, so the log itself does not leak patient data.
Can anyone delete or edit log entries?
The app has no screen to edit or delete log entries.
Can the receptionist read the access log?
Only if their role has the access-log permission. The ready Clinic Reception role does not; the Privacy Officer role does.
Is AI use logged?
Yes. Each time a clinic AI tool sends a patient's anonymised data, one AI line is written for that patient naming the tool.
In this group: Clinic & Hospital
- Patient Registration with MR Numbers
- Doctor Schedules: Weekly Hours, Fees, Leave
- Clinic Appointments and Token System
- Patient Visits and Clinic Billing
- Corporate Panel and Insurance Billing
- Clinic Pharmacy: Dispense by Lot and Expiry
- Medical Equipment Register and Service Log
- Patient Data Privacy and Access Log
- Clinic Settings, Staff Roles and Dashboard
- Clinic AI: No-Shows, Billing Checks, Forecasts
Give your patients a reason to trust you
Create the Privacy Officer role in Clinic settings and review the access log every week. See plans and pricing.