Patient Management
Register patients with national ID parsing, insurance info, and complete profiles
Overview
Patient management is the core of SehaFile. Every patient gets a comprehensive digital record including demographics, contact info, insurance details, medical notes, and tags. The system features an intelligent Egyptian National ID parser that automatically extracts date of birth, gender, and governorate from the 14-digit national ID number, reducing data entry errors and speeding up registration.
Registering a New Patient
- Navigate to Patients — Click Patients (Users icon) in the sidebar.
- Click "Register Patient" — The PatientForm component opens.
- Enter National ID (14 digits) — Type the patient's Egyptian national ID. The NationalIdParser component automatically extracts:
- Date of birth (from digits 1-7)
- Gender (from digit 13: odd = male, even = female)
- Governorate of birth (from digits 8-9)
- Fill in patient details:
- Name (Arabic) — Full name as on ID (required)
- Name (English) — Optional English name
- Phone — Egyptian mobile (EgyptPhoneInput validates format)
- Blood type — Select from: A+, A-, B+, B-, AB+, AB-, O+, O-
- Address — Full address with GovernorateSelect dropdown
- Add insurance info (optional):
- Select insurance company from dropdown
- Enter insurance member ID, plan name, validity dates, and max coverage
- Add medical notes — Any relevant medical history, chronic conditions, or allergies.
- Add tags — Categorize patients with tags (e.g., "VIP", "Diabetic", "Pregnant").
- Save — Patient is registered with an auto-generated file_number.
Patient registration form showing National ID parser, demographics, and insurance sections
Frequently Asked Questions
Can I register a patient without a national ID?
Yes. The national_id field is nullable. For children without IDs or foreign patients, you can leave it blank and enter demographics manually.
What is the file_number?
An auto-incremented clinic-specific number (e.g., "P-0001"). It is unique per clinic and serves as a local identifier alongside the national ID.
Can patients be shared across branches?
Yes. Patient records are at the clinic level (not branch level). When a patient visits any branch, their full history is accessible. The branch_id on the patient record indicates their primary/home branch.
Was this article helpful?