العيادة الذكية سياسة الخصوصية شروط الاستخدام التعامل مع البيانات

التعامل مع البيانات

آخر تحديث: 2026-08-20

سياسة الخصوصية تشرح حقوقك. هذه الوثيقة تشرح ما هو مبنيّ فعلاً: أين تُخزَّن البيانات، ومن يستطيع قراءتها تقنياً، وما الذي يسجّله سجل التدقيق وما الذي يمتنع عن تسجيله عمداً.

نكتبها لأن العبارات العامة عن «أمان بياناتك» لا تعني شيئاً. كل ما هو مذكور هنا قابل للتحقق.

١ · أين تُخزَّن البيانات

كل شيء في قاعدة بيانات واحدة لدى Supabase (PostgreSQL) في منطقة eu-north-1 — Stockholm, Sweden، عدا المستندات المرفوعة فهي في خزنة تخزين خاصة لدى المزوّد نفسه.

صفحات الموقع نفسها ملفات ثابتة على Hostinger في Cloudflare Pages — global edge network. هذه الصفحات لا تحتوي على أي بيانات مرضى؛ المتصفح يجلبها من قاعدة البيانات بعد تسجيل دخولك.

٢ · ما الذي يُخزَّن، بالتحديد

الفئةالمحتوى
الحسابالبريد الإلكتروني، وعامل المصادقة الثاني لحسابات العاملين. لا كلمات مرور.
الملف الطبيالاسم (بالعربية والإنجليزية)، الموبايل، تاريخ الميلاد، فصيلة الدم، الحساسية، الأمراض المزمنة، جهة اتصال الطوارئ
أفراد العائلةالاسم، صلة القرابة، الموبايل، تاريخ الميلاد، فصيلة الدم، الحساسية
المواعيدالتاريخ والوقت والحالة، اسم وموبايل وتاريخ ميلاد المريض، الرسوم وطريقة الدفع، سبب الإلغاء
ملاحظات الزيارةنص حر يكتبه الطبيب، مرتبط بموعد واحد
ملاحظات الطبيب الخاصةنص حر عن المريض، لا يُعرض للمريض ولا للاستقبال
الوصفاترقم مرجعي، التشخيص، الأدوية بجرعاتها ومددها وتعليماتها، الحالة وتاريخ الإصدار
المستنداتالملفات التي ترفعها، في مجلد باسم حسابك داخل خزنة خاصة
الإشعاراتعنوان ونص الإشعار بالعربية والإنجليزية، وحالة القراءة
سجل التدقيقراجع القسم ٥

لا نجمع موقعك الجغرافي، ولا جهات اتصالك، ولا أي بيان من جهازك خارج ما ذُكر أعلاه.

٣ · من يستطيع قراءة ماذا

الصلاحيات مطبَّقة على مستوى الصف داخل قاعدة البيانات (Row-Level Security)، لا في الواجهة. هذا يعني أن الرفض يحدث في قاعدة البيانات نفسها، حتى لو تجاوز أحدهم الواجهة تماماً واستدعى الخادم مباشرة.

البيانالمريضالزائرالاستقبالالطبيب
مواعيده هونعمنعمالكلالكل
ملفه الطبينعملالاالكل
أفراد عائلتهنعملاالأسماء فقطالكل
ملاحظات الزيارةلالالانعم
ملاحظات الطبيب الخاصةلالالانعم
الوصفاتلالالانعم
المستنداتملفاته هولالاالكل
سجل التدقيقلالالاقراءة فقط

الجداول التي تحمل الوصفات وملاحظات الزيارة والملاحظات الخاصة ليس لها سياسة وصول للمريض ولا للاستقبال على الإطلاق — ليست سياسة مقيَّدة، بل لا توجد سياسة، وقاعدة البيانات ترفض بشكل افتراضي.

حسابات العاملين تتطلب تطبيق مصادقة (TOTP) إلزامياً. رمز البريد وحده لا يكفي للوصول إلى أي بيان مريض.

٤ · الأطراف التي تصلها بيانات

الجهةالغرضما يصلهاالموقع
Supabaseقاعدة البيانات، الدخول، التخزينكل ما ورد في القسم ٢eu-north-1 — Stockholm, Sweden
Hostingerاستضافة الصفحاتعنوان IP ونوع المتصفح والصفحة المطلوبةCloudflare Pages — global edge network
Supabase Authإرسال رمز الدخولبريدك الإلكتروني والرمزeu-north-1 — Stockholm, Sweden
OneSignalإشعارات المتصفحمعرّف جهاز، ومعرّف حسابك لدينا. لا يُرسل إلا إذا سمحت بالإشعاراتالولايات المتحدة
Google Fontsالخطوطعنوان IP فقطشبكة عالمية
jsDelivrمكتبة برمجيةعنوان IP فقطشبكة عالمية
MyMemoryترجمة الأسماءمعطّل حالياً. لو فُعِّل، يصلها الاسم الأول فقطخارج مصر

لا توجد أي أداة تحليلات أو تتبّع أو إعلانات في المنصة.

٥ · سجل التدقيق

كل تغيير على سجل طبي يُسجَّل تلقائياً. السجل يحفظ: اسم الجدول، نوع العملية، معرّف الصف، من أجراها، ومتى.

ما لا يُحفظ فيه عمداً — محتوى ما تغيّر. الحقول التالية تُستبدل بعلامة تقول إنها تغيّرت وكم كان طولها، لا بقيمتها:

ملاحظات الزيارة · ملاحظات الطبيب · التشخيص · الحساسية · الأمراض المزمنة · فصيلة الدم · جهة اتصال الطوارئ · الجرعات والمدد وتعليمات الدواء · أرقام الموبايل · سبب الإلغاء.

السبب مباشر: سجل التدقيق يجب أن يُثبت أن تغييراً حدث ومن أجراه، لا أن يصنع نسخة ثانية من السجل الطبي في مكان آخر.

لا أحد يستطيع الكتابة في هذا السجل أو حذفه عبر الواجهة البرمجية — ولا الطبيب نفسه. الكتابة فيه تتم من داخل قاعدة البيانات فقط، والطبيب يملك صلاحية القراءة لا غير.

يُحتفظ به ٣٦٥ يوماً ثم يُحذف تلقائياً.

٦ · إجراءات الحماية المطبَّقة

  • TLS/HTTPS على كل اتصال؛ الترويسات الأمنية تمنع تضمين الصفحات داخل مواقع أخرى.
  • لا كلمات مرور مخزَّنة. الدخول برمز لمرة واحدة، وللعاملين تطبيق مصادقة إلزامي.
  • سياسة محتوى صارمة (CSP) تمنع تشغيل أي سكربت غير مُصرَّح به.
  • خزنة المستندات خاصة ومقسَّمة بمعرّف الحساب؛ رابط العرض المؤقت صالح ١٢٠ ثانية فقط.
  • الملف المرفوع يُفحص بـ«بصمته» الثنائية لا بامتداده، فلا يمكن تمرير ملف تنفيذي باسم PDF.
  • لا توجد أي واجهة في المنصة تبني HTML من نص يُدخله المستخدم، فلا يوجد مسار لحقن سكربت.
  • الوصفة تُجمَّد فور إصدارها؛ التعديل مرفوض من قاعدة البيانات، والتصحيح وصفة جديدة تحل محلها.
  • خضع النظام لمراجعة أمنية مع مجموعة اختبارات آلية تُشغَّل مقابل حدود الصلاحيات.

هذه إجراءات مطبَّقة، وليست شهادة امتثال. لا ندّعي حصولنا على أي اعتماد لم نحصل عليه فعلاً.

٧ · مدد الاحتفاظ والحذف

البيانالمدةماذا يحدث بعدها
السجل الطبي والوصفات10 سنةحذف أو فصل عن البيانات التعريفية
المواعيد والبيانات المالية10 سنةحذف
سجل التدقيق٣٦٥ يوماًحذف تلقائي مجدول
حسابات الزوّارفترة قصيرة من عدم الاستخدامحذف تلقائي مجدول
رمز نقل حجوزات الزائرساعة واحدةينتهي ويُحذف؛ يُستخدم مرة واحدة فقط
روابط عرض المستندات١٢٠ ثانيةتنتهي صلاحيتها
المستندات المرفوعةحتى تحذفهاحذف فوري ونهائي

٨ · في حال وقوع اختراق

إن وقع حادث يمس بياناتك الشخصية: نوقف السبب فوراً، ونقيّم ما تأثر، ونُخطر الجهة الرقابية المختصة والمتأثرين وفق ما يوجبه القانون. الإخطار يوضّح ما حدث، وما البيانات المعنية، وما الذي ننصحك بفعله.

٩ · طلب بياناتك أو حذفها

راسلنا على privacy@example.com من البريد المسجَّل في حسابك. نردّ خلال 30 يوماً بنسخة من بياناتك بصيغة قابلة للقراءة، أو بتأكيد الحذف وما تعذّر حذفه ولماذا.

١٠ · تحديث هذه الوثيقة

تُراجَع هذه الوثيقة كلما تغيّر ما تصفه — إضافة مزوّد خدمة جديد، أو تغيير مدة احتفاظ، أو تعديل في الصلاحيات. تاريخ آخر تحديث في أعلى الصفحة.

How We Handle Data

Last updated: 2026-08-20

The Privacy Policy explains your rights. This document explains what is actually built: where data is stored, who can technically read it, and what the audit trail records — and what it deliberately refuses to record.

We write it because general statements about "your data is secure" mean nothing. Everything stated here is checkable.

1 · Where data is stored

Everything sits in a single Supabase PostgreSQL database in the eu-north-1 — Stockholm, Sweden region, except uploaded documents, which are in a private storage bucket with the same provider.

The website's own pages are static files on Hostinger in Cloudflare Pages — global edge network. Those pages contain no patient data; your browser fetches it from the database after you sign in.

2 · Exactly what is stored

CategoryContents
AccountEmail address, plus the second factor for staff accounts. No passwords.
Medical profileName (Arabic and English), mobile, date of birth, blood type, allergies, chronic conditions, emergency contact
Family membersName, relationship, mobile, date of birth, blood type, allergies
AppointmentsDate, time and status, patient name, mobile and date of birth, fee and payment method, cancellation reason
Visit notesFree text written by the doctor, attached to one appointment
Doctor's private notesFree text about the patient, shown to neither the patient nor reception
PrescriptionsReference number, diagnosis, drugs with dose, duration and instructions, status and issue date
DocumentsFiles you upload, in a folder named for your account inside a private bucket
NotificationsTitle and body in Arabic and English, and whether it has been read
Audit trailSee section 5

We do not collect your location, your contacts, or anything else from your device beyond what is listed above.

3 · Who can read what

Permissions are enforced row by row inside the database (Row-Level Security), not in the interface. That means the refusal happens in the database itself, even if someone bypasses the interface entirely and calls the server directly.

DataPatientGuestReceptionDoctor
Their own appointmentsYesYesAllAll
Their medical profileYesNoNoAll
Their family membersYesNoNames onlyAll
Visit notesNoNoNoYes
Doctor's private notesNoNoNoYes
PrescriptionsNoNoNoYes
DocumentsTheir ownNoNoAll
Audit trailNoNoNoRead only

The tables holding prescriptions, visit notes and private notes have no access policy for patients or reception at all — not a restricted one; none, so the database denies by default.

Staff accounts require an authenticator app (TOTP). An emailed code alone is not enough to reach any patient data.

4 · Third parties that receive data

ProviderPurposeWhat reaches themLocation
SupabaseDatabase, sign-in, storageEverything in section 2eu-north-1 — Stockholm, Sweden
HostingerPage hostingIP address, browser type, page requestedCloudflare Pages — global edge network
Supabase AuthDelivering sign-in codesYour email address and the codeeu-north-1 — Stockholm, Sweden
OneSignalBrowser notificationsA device identifier and your account identifier with us. Sent only if you allow notificationsUnited States
Google FontsTypefacesIP address onlyGlobal network
jsDelivrA software libraryIP address onlyGlobal network
MyMemoryName translationCurrently disabled. If enabled, a single given nameOutside Egypt

There is no analytics, tracking or advertising tooling anywhere in the platform.

5 · The audit trail

Every change to a medical record is logged automatically. The log keeps: the table name, the type of operation, the row identifier, who performed it, and when.

What it deliberately does not keep — the content of what changed. The following fields are replaced with a marker saying they changed and how long they were, not with their value:

visit notes · doctor's notes · diagnosis · allergies · chronic conditions · blood type · emergency contact · drug dose, duration and instructions · mobile numbers · cancellation reason.

The reason is straightforward: an audit trail should prove that a change happened and who made it, not create a second copy of the medical record somewhere else.

Nobody can write to or delete this log through the API — not even the doctor. Writes happen only from inside the database, and the doctor holds read permission and nothing more.

It is kept for 365 days and then deleted automatically.

6 · Security measures in place

  • TLS/HTTPS on every connection; security headers prevent the pages being embedded in other sites.
  • No stored passwords. Sign-in is a one-time code, and staff additionally require an authenticator app.
  • A strict Content Security Policy prevents any unapproved script from running.
  • The document vault is private and partitioned by account identifier; a temporary viewing link is valid for 120 seconds only.
  • Uploaded files are checked by their binary signature, not their filename, so an executable cannot be passed off as a PDF.
  • No screen in the platform builds HTML out of text a user typed, so there is no script-injection path.
  • A prescription freezes the moment it is issued; edits are refused by the database, and a correction is a new prescription that replaces it.
  • The system has been through a security review with an automated test suite that runs against the permission boundaries.

These are measures in place, not a compliance certification. We do not claim any accreditation we have not actually obtained.

7 · Retention and deletion

DataKept forWhat happens then
Clinical record and prescriptions10 yearsDeleted or separated from identifying details
Appointments and financial records10 yearsDeleted
Audit trail365 daysScheduled automatic deletion
Guest accountsA short period of inactivityScheduled automatic deletion
Guest booking-transfer tokenOne hourExpires and is deleted; single use only
Document viewing links120 secondsExpire
Uploaded documentsUntil you delete themDeleted immediately and permanently

8 · If there is a breach

If an incident affects your personal data, we stop the cause immediately, assess what was affected, and notify the competent supervisory authority and the people affected as the law requires. The notification states what happened, which data was involved, and what we advise you to do.

9 · Requesting or deleting your data

Write to privacy@example.com from the address registered on your account. We respond within 30 days with a copy of your data in a readable format, or with confirmation of deletion and a note of anything that could not be deleted and why.

10 · Updating this document

This document is reviewed whenever what it describes changes — a new service provider, a changed retention period, or an adjustment to permissions. The last-updated date is at the top of the page.

للاستفسار عن أي بند في هذه الوثائق، تواصل معنا.

© 2026 · الصفحة الرئيسية