🔍

Patient Search

Search patients within your clinic and the global database, then link existing records

3 min read

Overview

Patient Search in SehaFile allows receptionists to quickly find existing patient records using multiple search criteria. You can search within your clinic's local database by name, phone number, National ID, or file number. Additionally, the global database search lets you find patients registered at other SehaFile clinics (with their consent) and link them to your clinic without re-entering their data.

Patient search page with search bar, filter options, and search results showing patient cards with key info

How to Search for a Patient

  1. Navigate to Patients — From the sidebar, click Patients. The patients list page at /patients includes a search bar at the top.
  2. Enter Search Query — In the search field, type any of the following:
    • Patient name (Arabic or English) — Partial matching supported
    • National ID — Full 14-digit number for exact match
    • Phone number — Full or partial phone number
    • File number — The clinic-assigned file number
  3. Review Results — Results appear as patient cards showing:
    • Patient name (Arabic/English)
    • National ID (masked for privacy)
    • Phone number
    • File number
    • Last visit date
    • Total visits count
    • Status badge (active/inactive)
  4. Click to Open Profile — Click any patient card to navigate to their full profile at /patients/[id].

Global Database Search

If a patient is not found in your clinic's database but is registered in the SehaFile national system:

  1. Expand Global Search — Below the local results, a “Search Global Database” section appears if no local match is found.
  2. Search by National ID — Enter the patient's National ID to search across all SehaFile clinics.
  3. Link the Patient — If found, click “Link to My Clinic”. This creates a local patient record linked to the citizen's national profile (citizen_link_id). The patient's basic data is imported automatically.
Tip: The fastest way to find a patient is by National ID - it gives an exact match instantly. For name searches, enter at least 3 characters for best results.
Tip: If you find duplicate records for the same patient, use the Patient Merge feature at /patients/merge to combine them into one record.
Warning: Global database linking requires the patient's prior consent (consent_data_sync must be enabled on the citizen profile). If the patient has not consented, you will not find them in the global search.

Search Filters

Advanced filters available on the patients page:

  • Status — Active, Inactive, All
  • Branch — Filter by clinic branch (for multi-branch clinics)
  • Insurance — Filter patients with/without insurance
  • Tags — Filter by assigned tags (e.g., “VIP”, “Chronic”)

FAQ

Can I search by date of birth?

Direct date of birth search is not available. However, if you know the National ID, the date of birth is encoded within it and the search will find the patient.

Why does a patient appear as “inactive”?

Patients are marked inactive after being merged into another record or if manually deactivated by an admin. Inactive patients still appear in search but cannot have new appointments created.

How does the global search protect privacy?

Global search only returns results for patients who have explicitly enabled data sharing (consent_data_sync = true). No medical data is shared - only basic identification info is visible during the link process.

Was this article helpful?