# LaynCare · Clinic, spa & salon suite

> Bookings, visit notes, prescriptions, video and home visits, payments and tax e-invoices: an admin panel and patient and doctor apps for phones, tablets and desktop browsers under your brand.

Your care, closer to you.

- Price: EGP 2,500, one payment with full source code and future updates
- Languages: Arabic and English. Countries: Saudi Arabia and Egypt.
- [Product page](https://barmajo.com/en/apps/layncare) · [العربية](https://barmajo.com/apps/layncare)

## What you get

- Complete source code: API server, admin panel, patient and doctor app, shared rules and tests
- Android and iOS app projects (Tauri 2) to build under your own name, icon and colours
- Responsive booking website for desktop, tablet and phone, with a desktop sidebar and home-screen installation
- Arabic and English throughout, Saudi Arabia and Egypt built in
- Setup wizard with optional demo records
- Unlimited updates: every future release, free
- Support tickets from your account
- Installation guides in Arabic and English, available from your account

## Features

### Front desk and the queue

Reception runs the day from one live board: check patients in, call them in, take payment and show the queue on a TV.

- **Live day board per branch** (Admin panel): Reception picks a branch and day and sees one card per clinician’s session, with room, progress and who is next. Empty sessions are listed separately with a Book button.
- **Patient cards with the next step** (Admin panel): Each card shows the queue number or time, minutes waited, severe allergies and amount due, with one button for the next step: confirm, check in, send in or finish.
- **Patient-flow counters** (Admin panel): Chips for not arrived, waiting, with the clinician, closed and left to collect filter the board in one click.
- **Book walk-ins and phone calls** (Admin panel): A booking drawer finds the patient or adds a walk-in by name, phone and age, then picks clinician, service, free time or queue number and payment.
- **QR code check-in** (Admin panel, Patient app): Patients show a QR code from the app. A USB or Bluetooth scanner, the computer’s camera or a typed code checks them in, with a clear reason when it can’t.
- **Call patients in** (Admin panel, Doctor app, Patient app, Waiting-room screen): Call in from the desk, the clinician’s desk or the doctor app. The call shows on the waiting-room screen and the patient’s phone says which room to go to.
- **Running-late notice** (Admin panel, Doctor app, Patient app): Reception or the clinician sets a delay of 10 to 90 minutes. Expected times move and waiting patients are told once in the app or on WhatsApp.
- **Live queue position** (Patient app): Patients see how many are ahead, the number being served and an expected time to go in, updated live as the queue moves.
- **Your turn is near alert** (Patient app, Admin panel): A notice goes out once when a set number of patients, two by default, are left ahead.
- **Printed queue slips** (Admin panel): 80 mm slips with branch, a large number or time, clinician, room and booking code, printed after booking or check-in.
- **Vitals at the desk** (Admin panel): In clinic mode a nurse records vitals for a checked-in patient. They land on the clinician’s note without giving the nurse rights to write it.
- **Waiting-room TV screen** (Waiting-room screen): A page per branch shows the clock, who is being called and to which room, and each room’s current patient and the next four.
- **Chime and spoken numbers** (Waiting-room screen): Each call fills the screen with a three-note chime and, if switched on, the number and room read aloud in Arabic or English.
- **Privacy on the screen** (Waiting-room screen, Admin panel): Show the number only, the first name, or first name and initial. An account that only runs the screen receives no patient details.
- **TV-friendly kiosk mode** (Waiting-room screen): Keeps the TV awake, hides the cursor, pages through rooms, scales up for large and 4K screens and adds a news ticker. A test call checks the sound.
- **Today’s overview** (Admin panel): The opening page ranks what needs attention now: requests to confirm, long waits, late clinicians, unpaid visits and unassigned home visits, each with a fix button.
- **Today against yesterday** (Admin panel): Booked, waiting, seen, no-shows, average wait and money collected today, with bookings by hour, the next hour’s arrivals and a table per branch. Each figure opens the page behind it.

### Appointments and calendar

Every booking, from any source, in one list and a drag-and-drop calendar, with a full history of what happened.

- **Clinic, video and home visits** (Admin panel, Patient app): Switch each kind of visit on or off for the whole place. Each clinician takes only the kinds they have a fee for.
- **Clear appointment statuses** (Admin panel, Doctor app, Patient app): Nine statuses from awaiting payment to done, cancelled or no-show. Only valid moves are allowed, and two staff can’t change the same booking at once.
- **Full appointment view** (Admin panel): Opens from any page with the patient, visit details, live queue position, money, desk note and timeline. J and K step through the list it came from.
- **Appointment timeline** (Admin panel): Every status change, call, payment, refund, move, assignment and note change is recorded with who did it and when.
- **Reschedule with notice** (Admin panel, Patient app): Move a booking to another time with the same clinician. The money stays as it is, reminders reset and the patient is told.
- **Cancellations with reasons** (Admin panel, Patient app): Nine reasons and an optional note. Credit and package sessions come back, online payments are refunded automatically unless staff keep them, and the slot reopens.
- **Reopen a closed appointment** (Admin panel): Owners can take a cancelled booking back to booked while its place is still free, or a finished visit back to the room or the waiting room. The clinician’s share comes off until it is finished again, and each reopening is logged.
- **Automatic follow-up fee** (Admin panel, Patient app): If the patient saw the same clinician within the follow-up window, the cheaper follow-up fee applies by itself.
- **Appointments list and filters** (Admin panel): Filter by dates, status, kind, source, payment status, clinician and branch, search by name, phone, file number or code, and share the filtered link.
- **Booking sources** (Admin panel): Each booking records whether it came from the app, the website, the desk or a phone call, for filters, exports and reports.
- **Bulk cancel** (Admin panel): Select several bookings, pick a reason such as clinician unavailable or clinic closed, and cancel them together. Every patient is told.
- **Delete test bookings** (Admin panel): Permanently delete mistaken or test bookings, up to 500 at a time, with an entry in the activity log. Only cancelled bookings and ones that never took money, credit or a package session can be deleted.
- **Appointments CSV export** (Admin panel): Export the filtered list, up to 20,000 rows, with fee, discount, insurance, due, paid and method. Headers follow the panel’s language.
- **Day calendar per clinician** (Admin panel): One column per clinician with sessions, leave and status-coloured appointments, a line for now and a bar of booked against capacity.
- **Drag to reschedule** (Admin panel): Drag an appointment to another time or session of the same clinician, confirm, and the patient is told.
- **Click a free place to book** (Admin panel): Hovering a free place shows its time. A click opens the booking drawer with clinician, day and place filled in.
- **Week view** (Admin panel): Clinicians down the side and seven days across, with session times, booked bars and leave. Click a day to open it.
- **Calendar filters and zoom** (Admin panel): Filter by branch, specialty and clinicians, zoom the hour height or fit the day on screen, and show or hide cancelled bookings.

### Online booking and booking rules

Patients book, pay, move and cancel in the app or browser, under rules the clinic sets.

- **Live availability** (Patient app): The app shows each clinician’s free times, grouped by morning, afternoon and evening, or the next queue number, across 21 days with full days and days off marked.
- **Book for any family member** (Patient app): Choose who the visit is for, add a complaint and attach up to five photos or PDFs such as earlier tests.
- **Consultation or service** (Patient app): Pick a consultation or one of the clinician’s services at their price, with any preparation notes shown before booking.
- **Line-by-line price** (Patient app, Admin panel): The server works out the price, showing fee, service, travel fee, discount, package, insurance and credit as separate lines.
- **Offer codes at booking** (Patient app, Admin panel): Patients type a code or open one from a message. Otherwise the best automatic offer applies, and a clear reason is given when a code doesn’t fit.
- **Choice of how to pay** (Patient app): Pay at the desk, in cash at a home visit or online with the methods your gateway offers on that device. Video visits are always paid in advance.
- **No double booking** (Patient app, Admin panel): A clinician can’t be booked twice at the same minute, and desk bookings respect each slot’s places and each queue’s cap. A booking is also refused if its price changed since the patient saw it.
- **Confirmation and calendar file** (Patient app): The confirmation shows time, queue number, place, code and total, with directions and a calendar file to add to the phone.
- **Requests confirmed by hand** (Admin panel, Patient app): Chosen visit kinds arrive as requests for staff to confirm. Home visits need confirmation by default, and requests nobody confirms expire.
- **Notify me when a time opens** (Patient app): When a clinician has nothing free, patients ask to be told. A cancellation or move on those days sends them a notification.
- **Booking window and notice** (Admin panel): Set how many days ahead patients can book, from 1 to 180, and the shortest notice before a slot, up to 48 hours.
- **Cancel and move window** (Admin panel, Patient app): Patients can cancel or move their own booking until a set number of hours before. After that the app asks them to call, though a booking still waiting for payment or confirmation can be cancelled at any time.
- **Open bookings limit** (Admin panel, Patient app): Limit how many open bookings one family account holds, and stop a second booking with the same clinician on the same day.
- **Prepay after no-shows** (Admin panel, Patient app): After a set number of no-shows in 90 days, cash is removed and the patient must pay online to book.
- **Payment rules per visit kind** (Admin panel): Clinic visits can be paid at the desk, online or either; home visits in cash, online or either. Unpaid online bookings are released after a set time.

### Schedules and time off

Weekly sessions per clinician as timed slots or numbered queues, and time off that helps you move affected patients.

- **Weekly sessions per clinician** (Admin panel): Each session has a visit kind, weekday, hours, branch and room. Home-visit sessions go out from a chosen branch or the one nearest the patient.
- **Timed slots or numbered queue** (Admin panel): Use slots of 5 to 240 minutes with up to 200 patients each, or first-come queue numbers with an average time per patient and a cap.
- **One-off sessions** (Admin panel): Add an extra session on a single date outside the weekly plan.
- **Date ranges and switching off** (Admin panel): Give a session start and end dates, or switch it off. Existing bookings stay in place.
- **Drag-and-drop week grid** (Admin panel): Drag sessions to another day or time, stretch them to change the end, or click an empty hour to add one. Changes snap to 15 minutes.
- **Copy days and weeks** (Admin panel): Copy one weekday’s sessions to other days, or a clinician’s whole week to another clinician.
- **Safe schedule edits** (Admin panel): Editing a session keeps bookings already in it and warns how many are ahead. A session that clashes with another of the same clinician’s is refused, and one with history is switched off rather than deleted.
- **Time off** (Admin panel, Doctor app): Record whole days or a few hours per day for vacation, sickness or a conference. Those times stop taking bookings at once.
- **Move or cancel affected bookings** (Admin panel): Before saving, time off lists the bookings it covers. Staff then move each to the next free time within 31 days, or cancel it, and patients are told.

### Patient records and families

One file per patient, or client in spa and salon mode, with standing facts, history, files and family, protected by fine-grained access.

- **Patient profile** (Admin panel): Name, relation, sex, birth date or age, phone, national ID, blood type, insurer, emergency contact and a staff-only note, with an automatic file number.
- **Allergies, conditions and medicines** (Admin panel, Doctor app, Patient app): Standing facts are edited in place. Severe allergies show as red badges on every patient screen and on printouts.
- **Patient list with quick filters** (Admin panel): Search by name, phone, file number or national ID, and filter by seen lately, coming up, follow-up due, insured, app users, walk-ins or archived.
- **Full-screen patient file** (Admin panel): Facts, visits, no-shows, total paid, credit and family on one side, with tabs for timeline, vital signs, growth and vaccines, files, prescriptions and documents.
- **Visit timeline** (Admin panel): Notes newest first with diagnoses, vitals, advice, prescription and files. Booked, missed and cancelled appointments appear in between.
- **Merge duplicate profiles** (Admin panel): Tick two profiles and choose which to keep. Appointments, notes, prescriptions, files, packages and vaccines move across, and the other profile is archived.
- **Patient list export** (Admin panel): Export patients with contact details, allergies, conditions, visit counts and amount paid, without clinical notes. Each export is logged.
- **Block from booking** (Admin panel): Block an app account from booking and sign it out on every phone. The desk can still book for that person.
- **Walk-ins join the app** (Admin panel, Patient app): A walk-in profile with a phone number links to the person when they sign up with that number, so their history appears in the app.
- **Family accounts** (Patient app, Admin panel): One app account books for itself and up to 15 family members. Staff see the whole family from any member’s file.
- **Medical files and scans** (Admin panel, Doctor app, Patient app): Lab results, scans, reports and photos as JPEG, PNG, WebP or PDF up to 15 MB, viewed full size and filtered by kind.
- **Secure file storage** (Admin panel, Doctor app, Patient app): Medical files are kept outside public storage with random names and served only through signed links that expire after 10 minutes.
- **Private notes** (Admin panel, Doctor app): Any note can be private, and mental-health notes are private by default. Other clinicians see only that a visit happened, and nothing reaches the family.
- **Clinicians see their own patients** (Admin panel, Doctor app): A clinician’s account sees only patients they have seen, are booked with or wrote a note for, unless given access to all.
- **Every record view logged** (Admin panel, Doctor app): Opening a patient file or note, in the panel or the doctor app, is written to the activity log.
- **Client cards for spas and salons** (Admin panel, Doctor app, Patient app): In spa and salon mode the file is a client card: allergies and sensitivities such as hair dye, health notes, service notes and before-and-after photos.

### Visit notes and prescriptions

Clinicians write, sign and send structured visit notes with prescriptions, test requests and printed documents.

- **Keyboard-first note editor** (Admin panel): Vitals, complaint, history, examination, kit sections, diagnoses, plan, advice, prescription, tests and follow-up on one page that autosaves. ⌘S saves and ⌘Enter signs.
- **Quick phrases** (Admin panel, Doctor app): One-click phrases for complaint, examination and advice, with aftercare phrases in spa and salon mode.
- **History beside the note** (Admin panel): Allergies, conditions, medicines and earlier visits sit beside the note on wide screens, with a button to repeat an earlier prescription.
- **Vital signs with flags** (Admin panel, Doctor app): Ten vitals including blood pressure, oxygen saturation, blood sugar and pain score, flagged high or low, with BMI worked out and adult height carried over.
- **Vitals charts** (Admin panel, Patient app): Each vital charted over time with the normal band shaded, in the panel and in the patient’s app.
- **ICD-10 diagnosis search** (Admin panel, Doctor app): Search 469 common outpatient ICD-10 codes by code or words in Arabic or English, or type a free diagnosis. Long-term ones join the patient’s conditions.
- **Prescription builder** (Admin panel, Doctor app): Each line has medicine, form, dose, one of 11 frequencies or free text, days and meal timing, and reads back as a sentence in the patient’s language.
- **Allergy warning on medicines** (Admin panel, Doctor app): A medicine whose name or ingredient matches a recorded allergy is flagged in red, including the penicillin family.
- **Saved prescriptions** (Admin panel, Doctor app): Save named prescriptions for yourself or the whole clinic, apply one in a tap, or repeat the patient’s last prescription.
- **Medicines list** (Admin panel): Starts with 71 common Egyptian-market medicines. Add your own with a usual dose, star favourites, switch off unused ones and let clinicians keep personal lists.
- **Medicine import from CSV** (Admin panel): Import medicines with English or Arabic headers. Matching names are updated rather than duplicated, and skipped lines are explained.
- **Test and scan requests** (Admin panel, Doctor app): Request tests from a 51-item catalogue or by name, with the kit’s usual tests as one-tap chips and a note per request.
- **Patients upload results** (Patient app): Each requested test has an upload button in the patient app, tagging the result to the request and the visit.
- **Sign, lock and send** (Admin panel, Doctor app, Patient app): Signing locks the note and sends the prescription and advice to the patient’s app, or to a walk-in by WhatsApp. Private notes send nothing.
- **Addenda after signing** (Admin panel, Doctor app): The note’s own clinician adds timestamped addenda. The signed original never changes.
- **Share the diagnosis or not** (Admin panel, Doctor app): A switch on each note decides whether the patient app and the printed prescription show the diagnosis.
- **Follow-up date and reminder** (Admin panel, Doctor app, Patient app): Set a follow-up date. If nothing is booked by then, the patient gets a reminder with a link to book the same clinician.
- **Printed prescription with QR** (Admin panel, Doctor app, Public web pages): An A5 prescription on your letterhead with each medicine and how to take it, a QR code and a check code, in Arabic or English.
- **Pharmacy check page** (Public web pages): Scanning the QR code shows the full prescription. The code alone only confirms it is genuine, so prescriptions can’t be read by guessing codes.
- **Sick leave, reports and referrals** (Admin panel, Public web pages, Patient app): Create sick leave, a medical report, a referral letter or a fitness certificate from ready text, each printed with its own QR check code.
- **Visit summary printout** (Admin panel): An A4 summary of vitals, findings, diagnoses, advice, prescription and tests. Spas and salons print a service summary with the card’s details.

### Specialty kits

Twenty-four specialty kits shape the visit note for each kind of practice: 17 medical and 7 for spas and salons.

- **A kit for every specialty** (Admin panel, Doctor app): Each specialty brings its kit’s vitals, sections, usual tests and quick phrases. Clinics can add their own specialty and give it any kit.
- **Paediatrics kit** (Admin panel): Weight, height and head size, a WHO growth chart, the vaccination schedule, feeding and milestones.
- **Dental chart and treatment plan** (Admin panel, Doctor app): FDI chart for adult, milk or mixed teeth with 11 findings and surfaces per tooth, plus a priced treatment plan with done and left totals.
- **Obstetrics and pregnancy** (Admin panel, Patient app): Due date from the last period or ultrasound, weeks and trimester, gravida and para, risk factors and eight antenatal milestones.
- **Eye and refraction** (Admin panel): Visual acuity, sphere, cylinder, axis and add for each eye, a warning for eye pressure above 21 mmHg and a printable glasses prescription.
- **Dermatology and body map** (Admin panel): Lesion types, Fitzpatrick skin type, a front-and-back body map with numbered marks, and before-and-after photos.
- **Orthopaedics and physiotherapy** (Admin panel): A body map of where it hurts, side and range of motion, session number, modalities such as TENS or shockwave, and progress since last time.
- **Mental health questionnaires** (Admin panel): PHQ-9 and GAD-7 in Arabic, scored as you go with severity bands and a safety warning. These notes are private by default.
- **Cardiology, diabetes and chest** (Admin panel, Doctor app): ECG, ejection fraction and NYHA class; HbA1c, sugars, lows and foot check; smoking history, pack-years and spirometry.
- **ENT, urology, neurology and surgery** (Admin panel, Doctor app): Ear, nose and throat findings and hearing; IPSS score; GCS, motor, sensory and reflexes; procedure, wound and stitches.
- **Nutrition and body measurements** (Admin panel): Waist, hips, body fat and muscle mass with the waist-to-hip ratio against WHO limits, target weight, activity level and meal plan.
- **Hair colour formulas** (Admin panel, Doctor app): Natural level, formula, developer strength, processing time and technique, plus treatments, products, cut notes and photos.
- **Barber, nails and make-up cards** (Admin panel, Doctor app): Clipper guard, fade and beard; nail service, shape and colour; occasion, shades and products for make-up and bridal.
- **Skin, massage and hair removal** (Admin panel, Doctor app): Skin type and facial treatments; massage type, pressure and areas to avoid; method, areas, device settings and patch test for hair removal.
- **Before-and-after photos** (Admin panel): Pick before and after images from the file or upload them on the spot, then compare side by side or with a slider.
- **Childhood vaccine schedule** (Admin panel, Patient app): Egypt’s compulsory and optional vaccines marked given, due, overdue or upcoming. Parents see the schedule in the app straight away.
- **WHO growth charts** (Admin panel, Patient app): Weight, height, head size or BMI on WHO percentile curves up to age five, with percentile and z-score, in the panel and the parents’ app.

### Doctor app

Clinicians, called specialists in spa and salon mode, run their day, notes, questions and home visits from their phone.

- **Today’s queue** (Doctor app): Yesterday, today, tomorrow or any date, with booked, waiting, seen and no-show counts, a progress bar and each session’s patients.
- **Finish and call next** (Doctor app): A card shows who is inside and who is next, and one tap finishes the current visit and calls in the next patient.
- **One-tap queue rows** (Doctor app): Each row shows age, first visit or follow-up, service, allergy alert and unpaid flag, with a button to call in, start or finish.
- **Appointment detail** (Doctor app): Patient alerts, conditions, complaint, attached files and payment status, with call and WhatsApp buttons and check-in or no-show actions.
- **Visit notes on the phone** (Doctor app): Vitals, complaint, history, exam, kit fields, diagnoses, prescription, tests, advice and follow-up, autosaved and signed with the option to finish the appointment.
- **Camera straight to the record** (Doctor app): Take photos or add PDFs, up to ten at a time, directly into the visit while the note is a draft.
- **Share the prescription** (Doctor app): After signing, print the prescription or send its link through the phone’s share sheet or WhatsApp.
- **Patient list and file** (Doctor app): Search your own patients by name, file number or phone and read their alerts, latest vitals, every visit, prescriptions and files.
- **Weekly plan and capacity** (Doctor app): See your weekly sessions and the next seven days as booked against capacity.
- **Time off from the phone** (Doctor app, Admin panel): Add whole days or some hours off, see which bookings fall inside before saving, and take it back later. Reception then moves those patients.
- **Running late and video availability** (Doctor app, Admin panel): Set today’s delay or switch on availability for video. Reception sees both live.
- **My earnings** (Doctor app): This month and last month: earned, visits and paid out, plus the balance owed and recent entries.
- **Alerts for new work** (Doctor app): Push alerts on Android for bookings in the next 36 hours, any home visit and new questions, with WhatsApp as a fallback for home visits and questions if switched on.
- **Doctors, nurses and therapists** (Doctor app, Admin panel): Clinicians can be doctors, nurses or therapists. All use the doctor app, and any of them can be sent on home visits.
- **Book as a patient too** (Doctor app, Patient app): Clinicians switch to the patient side of the same app to book for themselves and their family.
- **Clinician’s desk in the panel** (Admin panel): The same day and notes on a computer, with keyboard shortcuts, every kit widget and medical documents. A note started on the phone continues here.

### Payments, refunds and insurance

Online payment through your own gateway account, cash at the desk, refunds back to where the money came from, and insurer shares.

- **Paymob, Moyasar or PayTabs** (Admin panel, Patient app): Egypt uses Paymob. Saudi Arabia can use Paymob, Moyasar or PayTabs, one at a time, each connected to your own merchant account.
- **Cards, wallets and Apple Pay** (Patient app, Public web pages): Saudi checkouts offer mada, cards, Apple Pay and STC Pay; Egypt offers cards, Apple Pay and mobile wallets. Google Pay is offered through Paymob.
- **Saved cards** (Patient app, Admin panel): With Paymob, patients tick save card at checkout and are offered up to three saved cards next time. They can remove them in the app.
- **Gateway keys in the panel** (Admin panel): Owners paste gateway keys in the panel. They are stored encrypted and checked for test or live mode and keys from the wrong region.
- **Payment safety checks** (Admin panel): Each payment is settled once, amount and currency are checked, and a payment no longer needed, such as one made twice, is refunded automatically.
- **Payment links from the desk** (Admin panel, Public web pages): Reception creates a card or wallet link for what is still due and sends it by WhatsApp, SMS or copy.
- **Cash at the desk** (Admin panel): Take all, half or any part of what is due, or combine cash with a payment link or credit. Cash goes into the branch’s open drawer, and cash on a booking waiting for online payment confirms it.
- **Automatic refund on cancellation** (Admin panel, Patient app): A cancelled paid booking is refunded through the gateway that took it. Switch this off to flag refunds for a person instead.
- **Partial refunds three ways** (Admin panel, Patient app): Refund part or all of a booking to the card or wallet, to account credit or in cash from the drawer. The patient is told.
- **Payments needing attention** (Admin panel): Failed refunds, amount mismatches and extra payments are listed oldest first, with refund now or mark handled.
- **Payments ledger and export** (Admin panel): Filter all payments by date, status and what was paid for, search by code, name or transaction, see totals and export to CSV.
- **Pay later from the app** (Patient app, Public web pages): Bookings, questions and packages waiting for payment can be paid from the app, and the payment returns to the right screen.
- **Prices include VAT** (Admin panel): Set VAT on or off and its rate. Prices stay VAT-inclusive, and receipts and profit and loss show the VAT inside them.
- **Printed receipts** (Admin panel): An 80 mm receipt with price lines, VAT included, paid and left to pay. Reception and the cash drawer print it with the tax invoice or e-receipt number and QR code once one exists.
- **Shareable receipt page** (Public web pages, Patient app): A keyed link shows the receipt in Arabic or English, ready to print on a phone, A4 or 80 mm. The app links to it once something is paid.
- **Insurers with coverage and caps** (Admin panel, Patient app): In clinic mode, add insurers with a coverage percentage and an optional cap per visit. The patient file holds the insurer and member number.
- **Insurance taken off the bill** (Admin panel, Patient app): The insurer’s share comes off automatically after discounts and packages, as its own line. The patient pays the rest.
- **Monthly insurer claims** (Admin panel): For each insurer and month, every covered visit with member number, fee, insurer share and patient share, with a total and a CSV download.

### Cash drawer, earnings and expenses

Count the cash, pay clinicians what they are owed and track expenses, all tied to the same money records.

- **Cash drawer per branch** (Admin panel): Open a drawer with a counted float. Visit cash, package sales, cash refunds, payouts and expenses are recorded as moves automatically.
- **Expected cash, live** (Admin panel): The drawer page shows the expected amount, cash in and out, and a breakdown by kind, updated as the desk works.
- **Cash taken with no drawer open** (Admin panel): Cash is never lost: it is listed for the day and can be moved into the drawer once one is open.
- **Closing count and variance** (Admin panel): Count note by note or type a total. The screen shows short, over or exact, asks for a note on any difference and prints a closing slip.
- **Drawer history** (Admin panel): The last 20 closed drawers with every move, ready to reprint.
- **Commission per clinician** (Admin panel): Set each clinician’s share as a percentage or a fixed amount per visit, with a live example.
- **Earnings credited automatically** (Admin panel, Doctor app): Finished visits, package sessions and answered questions credit the clinician’s share. On home visits the clinician who went gets it.
- **Earnings overview** (Admin panel): Balance owed, earned and paid in the period, visit and question counts and last payout for every clinician.
- **Clinician statements** (Admin panel): Opening balance, each entry by day and closing balance, printable on A4 with signature lines or exported to CSV.
- **Record payouts** (Admin panel): Record a payout by bank, mobile wallet, other or cash from a branch drawer, which takes the cash out of that drawer.
- **Balance corrections** (Admin panel): Add to or subtract from a clinician’s balance with a required reason that shows on the statement.
- **Cash kept at home visits** (Doctor app, Admin panel): Cash a clinician collects at the door counts as already paid to them, so it isn’t paid out twice.
- **Expense records** (Admin panel): Record rent, salaries, utilities, supplies, equipment, marketing and more, per branch or for the whole clinic, paid from the drawer, the bank or elsewhere.
- **Expenses by category** (Admin panel): Filter expenses by period, branch and category, with totals per category shown as bars.
- **Profit and loss** (Admin panel): Revenue from visits, questions, packages and insurer shares, less refunds, VAT, clinician shares, card fees and expenses, with profit and margin by week or month.

### Packages, offers and account credit

Sell session packages, run discount offers with animated banners and give patients credit to spend.

- **Session packages** (Admin panel, Patient app): Packages of 2 to 100 sessions with a price and validity, covering one service or any visit with chosen clinicians, showing the saving.
- **Sell packages at the desk** (Admin panel): Sell to any patient for cash into the drawer or with a payment link. Hidden packages can only be sold at the desk.
- **Buy packages in the app** (Patient app): Patients buy for any family member online and see sessions left, the expiry date and a Book a session button.
- **Sessions used automatically** (Patient app, Admin panel): Matching packages are offered at booking. Choosing one uses a session, and cancelling gives it back.
- **Discount offers** (Admin panel, Patient app): A percentage off with an optional cap, a fixed amount off or a special price, applied by code or automatically.
- **Offer rules** (Admin panel): Limit an offer to clinicians, specialties, services or visit kinds, to first visits, to dates, to a total number of uses and to uses per patient.
- **Offer results** (Admin panel): Each offer shows whether it is live, scheduled or ended, its uses, total discounted and finished visits. Drag to order the app’s carousel.
- **Animated banner studio** (Admin panel, Patient app): Design offer banners with layouts, motion, backdrops, emoji stickers, a deal stamp and a countdown, starting from six ready-made looks.
- **Offers in the app** (Patient app): A home-screen carousel and an offers page with conditions, end date, a copy-code button and a Book button.
- **Account credit** (Admin panel, Patient app): Staff give or take back credit with a required reason. Patients switch it on at booking and it comes off the price.
- **Wallet in the app** (Patient app): Patients see their credit balance and up to 100 movements, each linked to the booking it came from.

### Reports and exports

See how the clinic is doing by period, branch and clinician, and take the data to a spreadsheet.

- **Ranges with comparison** (Admin panel): Pick a range of up to a year or a preset. Every figure is compared with the same length of time just before.
- **Headline figures** (Admin panel): Revenue, patients seen, no-show and cancellation rates, average fee, new against returning, average wait, rating and questions answered on time, each with a sparkline.
- **What stands out** (Admin panel): Up to six plain-language insights, such as rising no-shows on one weekday, an under-booked clinician or the busiest hour of the week.
- **Daily trend chart** (Admin panel): Seen, revenue or no-shows per day against the previous period, with weekends shaded.
- **Clinician table** (Admin panel): Booked, seen, no-shows, revenue, utilisation, rating and average wait for each clinician, sortable.
- **Revenue breakdowns** (Admin panel): Revenue by specialty, service, visit kind, booking source, payment method and branch, plus cancellation reasons.
- **Booking heatmap** (Admin panel): Booked appointments by weekday and hour, with totals along the edges.
- **Reports scoped to the viewer** (Admin panel): Branch staff see only their branches and clinicians see only their own figures.
- **Spreadsheet exports** (Admin panel): Export appointments, patients, payments, contacts, clinician statements, report tables and insurer claims as CSV that opens correctly in Excel with Arabic.

### Tax e-invoicing

Saudi ZATCA e-invoicing and Egyptian ETA e-invoices and e-receipts per branch, connected to your own taxpayer registration and switched off until you set it up.

- **Tax registration details** (Admin panel): Store the VAT number, commercial registration number and legal names in Arabic and English for receipts and invoices.
- **ZATCA phase 2 for Saudi Arabia** (Admin panel): Signed simplified tax invoices are reported to ZATCA, and standard tax invoices to insurers are cleared, under your own Fatoora account and VAT registration.
- **Onboarding with a Fatoora OTP** (Admin panel): Enter the OTP from the Fatoora portal. The system creates the key and CSR, runs six compliance checks covering simplified and standard invoices, and obtains the production certificate.
- **Issuing unit per branch** (Admin panel): Each branch has its own unit and seller details for sandbox, simulation or production, with an activation date so test sales never become invoices.
- **Invoices once a sale is final** (Admin panel): A background job issues invoices for completed visits, answered paid questions and paid packages, and reports them in order.
- **ZATCA QR on receipts** (Admin panel, Public web pages): Once the production invoice exists, the receipt becomes a simplified tax invoice with the signed nine-field QR code.
- **Credit notes for refunds** (Admin panel): Money given back raises a credit note against the original invoice: automatically for ZATCA, and by background job or a button for ETA.
- **ZATCA status and retries** (Admin panel): Documents show reported, cleared, warnings, rejected or error with ZATCA’s messages, automatic retries, a Report again button and download of the signed or cleared XML.
- **ZATCA alerts to the owner** (Admin panel): WhatsApp alerts when reporting is more than 20 hours behind, a document is rejected or a certificate expires within 30 days.
- **Egypt ETA e-invoices** (Admin panel): Set up each branch with your own registration number, activity code, client ID and secret and item codes, for preproduction or production.
- **ETA certificate signing** (Admin panel): Upload your password-protected .p12 or .pfx e-seal certificate. Documents are signed in the CAdES-BES format the ETA requires.
- **ETA drafts and submission** (Admin panel): A background job turns finished sales into drafts, submitted automatically if you choose or in batches of up to 50, with status checks and safe recovery of interrupted sends.
- **ETA e-receipts for consumer sales** (Admin panel): A branch registered as a point of sale on the ETA portal can issue sales to individuals as e-receipts, chained in order and sent in signed batches within 24 hours, as the ETA requires. Company sales, the insurer’s share and sales of 150,000 EGP or more without a national ID stay e-invoices.
- **Return and corrected e-receipts** (Admin panel): A refund answers an e-receipt with a return receipt for the amount given back. A rejected e-receipt is corrected with a replacement that keeps its place in the chain.
- **ETA cancellations and replacements** (Admin panel): Request a cancellation with a reason, or prepare a corrected replacement for an invalid or cancelled document.
- **Insurer share invoiced to the insurer (B2B)** (Admin panel): Once an insurer’s tax details are entered, an insured visit splits: the patient’s invoice carries their share, and the insurer gets a standard tax invoice for its share, cleared by ZATCA or sent to the ETA in its name. Until then the patient is invoiced in full.
- **ETA receiver details** (Admin panel): Before submission, set the receiver as a person, an Egyptian business or a foreign buyer. An invoice of 50,000 EGP or more to a person is held until their national ID is entered, and it is filled in from their record when on file.
- **ETA QR on receipts** (Admin panel, Public web pages): Once an e-invoice is valid in production, the receipt carries a QR code linking to it on the ETA portal. An e-receipt’s QR code prints from the moment of sale.

### Video calls and Ask the doctor

Paid video consultations in the app and browser, and written questions answered by clinicians within a deadline.

- **Video visits** (Patient app, Doctor app, Admin panel): Direct video between the patient’s app and the clinician’s phone or browser, paid in full before the call.
- **Waiting room and call window** (Patient app, Doctor app): Patients join from 10 minutes before and wait. The clinician joining calls them in and starts the visit and call timer, and can mark the visit missed if the patient never joins.
- **Call controls** (Patient app, Doctor app, Admin panel): Mute, camera off and camera switch, a connection-quality indicator, audio-only fallback and automatic reconnection after a drop.
- **Patient brief during the call** (Doctor app, Admin panel): Allergies, conditions, medicines, files and the reason for the visit sit beside the video, then the clinician goes straight to the note.
- **Your own TURN relay** (Admin panel): Add your own TURN server addresses in settings for calls on strict networks. Without one, calls connect directly.
- **Written questions** (Patient app): In clinic mode, patients ask a chosen doctor or any doctor of a specialty about a family member, with up to five photos or PDFs.
- **Question prices** (Patient app, Admin panel): Each doctor sets a price, and questions are free after a recent visit with that doctor. Payment is online and unpaid questions expire.
- **Answer deadline with refund** (Admin panel, Patient app): Questions must be answered within a set number of hours, 24 by default. Late ones can be refunded automatically.
- **Answering from the phone** (Doctor app): Doctors reply with quick phrases and attachments, take questions from the specialty pool and suggest a visit with a booking button.
- **Follow-ups and rating** (Patient app, Doctor app): Patients send a set number of follow-up messages. When the conversation closes, they rate the answer.
- **Questions in the panel** (Admin panel): Staff see waiting, late, answered and closed questions, give one to a doctor, return it to the pool, or cancel and refund it.

### Home visits and live tracking

Patients book visits at home, staff choose who goes, and the patient follows the clinician on a live map.

- **Home visits board** (Admin panel): Requests to confirm and the day’s visits in a list and on a map, with branches and clinicians on the road.
- **Choose who goes** (Admin panel): Pick a doctor, nurse or therapist, seeing how many visits each has that day, and confirm the request in the same step.
- **Travel fee by distance** (Admin panel, Patient app): A base fee covers the first kilometres, then a charge per kilometre up to a maximum distance. Each branch can set its own.
- **Saved addresses** (Patient app): Patients drop a pin or use their location, add building, floor, flat and notes for the clinician, and choose a default.
- **Trip steps for the clinician** (Doctor app): On my way, arrived, start, collect cash and finish, with directions in Google Maps and a button to call the patient.
- **Live location sharing** (Doctor app, Admin panel): From on my way to arrival the clinician’s position is shared. On Android it keeps sending with the screen off.
- **Patient tracking map** (Patient app): The patient sees the clinician moving on a map with arrival time and distance, can call them, and is told when they are at the door.
- **Cash at the door** (Doctor app): Collect all or part of the amount due. The visit can’t be finished while cash is still owed.
- **Maps without API keys** (Admin panel, Patient app, Doctor app): Maps use OpenFreeMap tiles, with address lookup and routing passed through your server, so no map API keys are needed.

### Patient app and booking website

A branded app for patients and families on Android and iOS, also published as a booking website.

- **Sign in with a WhatsApp code** (Patient app, Doctor app): Patients enter their mobile number and a six-digit code sent on WhatsApp. There are no passwords to forget.
- **Browse before signing in** (Patient app): Guests browse clinicians, profiles, availability, offers and packages, and sign in only when they book.
- **Home screen** (Patient app): A greeting and search come first, then next appointments with a live queue tracker, ways to book per visit kind, specialties, top-rated clinicians, offers and branches marked open now.
- **Clinician search and filters** (Patient app): Search names, specialties and services with tolerant Arabic spelling, filter by visit kind, branch, sex, fee and free today, and sort by soonest time.
- **Clinician profiles** (Patient app): Photo, rating, experience, average wait, fees per visit kind, bio, education, languages, weekly hours, services, branches and reviews.
- **Save and share clinicians** (Patient app): Heart clinicians to find them again, and share a profile link through the phone’s share sheet.
- **Appointments for the family** (Patient app): Upcoming and past bookings for the whole family, with status changes shown live as they happen.
- **Appointment page** (Patient app): Status timeline, directions, check-in code, costs, and buttons to pay, move, cancel, rate or read the visit summary.
- **Rate a visit** (Patient app): One to five stars, tags and a comment after a finished visit, prompted by a notification.
- **My health** (Patient app): Each family member’s blood type, allergies, conditions, medicines, insurance, latest measurements and visits. In spa and salon mode it becomes My care.
- **Visit summaries** (Patient app): Advice, shared diagnosis, measurements, prescription, tests with result upload, documents and a follow-up booking button, for signed notes only.
- **Today’s medicines checklist** (Patient app): A daily list of doses from running prescriptions with days left, ticked off on the phone.
- **Growth, vaccines and pregnancy** (Patient app): Parents see growth charts and the vaccine schedule; expectant mothers see the week, due date and milestones.
- **Files and results** (Patient app): View the clinic’s files and upload photos or PDFs from the camera or phone with a kind and date.
- **Family and health details** (Patient app): Add family members, and update allergies with severity, conditions and medicines. Only the clinic sets insurance.
- **Notifications inbox** (Patient app, Doctor app): Every notification kept for 90 days, grouped by day with an icon per kind, marked read on tap and synced across phones.
- **Push notifications on Android** (Patient app, Doctor app): Firebase push with an urgent repeating chime for your turn and home visits. Tapping opens the right screen.
- **Personal preferences** (Patient app, Doctor app): Arabic or English, light or dark theme, Western or Arabic-Indic digits and a larger text size.
- **Change number or delete account** (Patient app): Move the account to a new number with a WhatsApp code, or delete it. Records stay with the clinic.
- **Links that open the app** (Patient app, Public web pages): Links in messages and payment pages open the right appointment, clinician, offer or code in the app.
- **Forced updates** (Patient app, Doctor app, Admin panel): Set a minimum app version. Older installs show an update screen with the store link.
- **Opens on a weak connection** (Patient app): Settings, the catalogue and the session are cached, so the app opens offline and shows what was saved last.
- **Native touches** (Patient app, Doctor app): Haptic feedback, a branded splash screen, safe-area support and automatic status-bar colours on Android.
- **Touch and motion** (Patient app, Doctor app): Buttons give under the finger, screens slide the way you went, lists arrive row by row and data screens refresh with a pull. The phone’s reduced-motion setting turns it off.
- **Booking website** (Public web pages, Patient app): The same app builds as a static website for booking in a browser. Web bookings are counted separately and payments return to the site.
- **Get-the-app link** (Public web pages): A shareable link opens the installed app, sends phones to the right store and sends computers to the booking website.

### WhatsApp, reminders and notifications

Automatic messages for each step of a booking on WhatsApp and in the apps, with protections for your number.

- **Link WhatsApp by QR code** (Admin panel): Scan a QR code with the clinic’s phone to send from its WhatsApp number. The link survives server restarts.
- **Up to four numbers** (Admin panel): Link up to four numbers. If one is offline or paused the next takes over, and each can be allowed or barred from sending offers.
- **WhatsApp Cloud API** (Admin panel): Or connect Meta’s official WhatsApp Business Cloud API with your own Meta account, approved templates and per-message pricing.
- **Choose what goes on WhatsApp** (Admin panel): Switch sign-in codes, appointment updates, clinician alerts and promotional messages on or off, with daily limits for offers.
- **Protections for your number** (Admin panel): Warm-up limits for a new number, an hourly ceiling, quiet hours for offers, typing indicators and guards against repeated messages.
- **Automatic pause on trouble** (Admin panel): Repeated failures or spam warnings pause a number for growing periods and alert the owner. Staff can resume it.
- **STOP and START replies** (Admin panel, Patient app): Patients reply STOP in Arabic or English to stop offers and follow-up reminders. Appointment updates continue.
- **WhatsApp health and log** (Admin panel): A risk rating with reasons, sent and failed counts, warm-up stage, a test message and a 14-day log of every message.
- **Booking updates** (Patient app): Patients are told when a request arrives, is confirmed, moved or cancelled with the reason, and when a refund is on its way.
- **Appointment reminders** (Patient app, Admin panel): Reminders the evening before and a set number of hours before, with preparation notes, branch and queue number.
- **Follow-up and rating reminders** (Patient app, Admin panel): A reminder on the follow-up date if nothing is booked, and a rating request one to three hours after a visit.
- **Results ready messages** (Patient app): Patients are told when a prescription or aftercare notes are ready, with a printable link on WhatsApp.
- **WhatsApp only when needed** (Admin panel, Patient app): By default WhatsApp is skipped when the push reached the phone. Walk-ins without the app get WhatsApp on their own number.
- **Firebase push setup** (Admin panel): Add your own Firebase service account in the panel, see patient and clinician device counts, and send a test notification.

### Inbox and support chat

WhatsApp messages and in-app help chats land in one shared inbox that the team answers together.

- **One inbox for every channel** (Admin panel): WhatsApp messages and in-app chats from the same person become one conversation, matched by account or phone.
- **Linked to patient and booking** (Admin panel): Each conversation links itself to the patient, the likely appointment and a branch. Staff can link a different booking.
- **Boxes and search** (Admin panel): Needs us, mine, waiting on them, closed and all, with search by name, phone, message text or booking code.
- **Assign conversations** (Admin panel): Take a conversation, hand it to a colleague or unassign it. Replying to an unassigned one takes it.
- **Internal notes** (Admin panel): Staff-only notes in the thread that never reach the patient.
- **Reply on WhatsApp or the app** (Admin panel): Answer on the channel the person last used, from the WhatsApp number they wrote to, with sent, delivered and read ticks.
- **Quick replies** (Admin panel): Up to 40 saved answers in Arabic and English. The version in the patient’s language is inserted.
- **Photos and media** (Admin panel): Incoming photos show in the thread; voice notes, documents and locations appear as labelled tags.
- **New message alerts** (Admin panel): A chime, a toast, a desktop notification when the tab is in the background and an unread count in the tab title.
- **Person panel** (Admin panel): The person’s family, credit, visit count and last six appointments beside the chat.
- **Branch-limited inbox** (Admin panel): Staff limited to some branches see only those branches’ conversations.
- **Help chat in the app** (Patient app, Doctor app): Patients chat with the clinic from Help, pick a topic, refer to a booking and send up to four photos. Their WhatsApp messages appear in the same thread.

### Campaigns, contacts and reviews

Bring patients back with targeted messages and personal codes, import contacts, and manage public ratings.

- **Ready-made audiences** (Admin panel): Follow-up due, no visit for a set number of days, signed up but never booked, seen in a specialty or by a clinician, and birthdays this week.
- **Gifts in messages** (Admin panel, Patient app): Send a plain message, account credit, or a personal single-use code for a percentage, amount off or set price, valid for an hour up to 30 days.
- **Message editor with preview** (Admin panel): Write in Arabic and English with placeholders such as name, doctor and code, start from suggested wording and check a live phone preview.
- **WhatsApp and app channels** (Admin panel, Patient app): Send by WhatsApp, app notification or both. A family gets one message on its account.
- **Paced sending** (Admin panel): Messages go out slowly with breaks, within daily limits and quiet hours, and carry on after restarts or into the next day.
- **Campaign results** (Admin panel): Delivered, failed, codes used, bookings within 14 days and their value, credit given and contacts who joined, with a per-recipient list.
- **Limits on giving credit** (Admin panel): Non-owners are capped per person and per day when a campaign gives credit.
- **Import contacts** (Admin panel): Import CSV, Excel, phone contacts or pasted text with Arabic or English headers, up to 20,000 rows, after a preview of new, existing and skipped rows.
- **Contact lists and funnel** (Admin panel): Group contacts into lists and see reached, joined and visited for each list.
- **Contacts join automatically** (Admin panel, Patient app): When a contact signs up or books, they link to the account, keep their personal codes and receive any credit they were promised.
- **Bulk contact actions** (Admin panel): Message, make patients, move to a list, delete or export the selected or filtered contacts.
- **Reviews page** (Admin panel): Filter ratings by stars, clinician, branch and date, see averages and tag counts, and find low ratings that need attention.
- **Reply to or hide reviews** (Admin panel, Patient app): Reply under a rating on the clinician’s profile or hide it from the public. Every action is logged.
- **Public ratings** (Patient app, Admin panel): Ratings at or above your publish line, or ones you answered, appear on the clinician’s profile in the app.

### Clinic, spa and salon modes

One switch sets the kind of place, and country and language settings fit Egypt or Saudi Arabia in Arabic or English.

- **Clinic, spa or salon** (Admin panel): The owner chooses clinic or medical centre, spa and wellness centre, or beauty salon or barbershop, and that kind’s defaults are applied.
- **Beauty wording throughout** (Admin panel, Patient app, Doctor app): Spas and salons see client, specialist, service notes, aftercare and next visit in both apps and in messages.
- **Medical record for clinics only** (Admin panel, Patient app, Doctor app): Vitals, diagnoses, prescriptions, tests, vaccines, growth, pregnancy, insurance and Ask the doctor exist only in clinic mode, enforced on the server too.
- **Beauty catalogue and kits** (Admin panel): Spas and salons start from nine service categories such as hair, nails and massage, with seven client-card kits.
- **Medical specialty catalogue** (Admin panel): Clinics start from 26 medical specialties, each with typical services, durations and example prices.
- **Beauty titles and legal text** (Admin panel, Patient app, Public web pages): Specialists get titles such as colourist or nail technician, and the terms and privacy pages use spa and salon wording.
- **Arabic and English, right to left** (Admin panel, Patient app, Doctor app, Waiting-room screen, Public web pages): The panel, apps, printouts and screen work fully in Arabic right to left and English left to right.
- **Content in both languages** (Admin panel, Patient app): Every patient-facing text the clinic writes has Arabic and English side by side, and messages go out in each person’s language.
- **Egypt or Saudi Arabia** (Admin panel): The country sets currency, VAT rate, phone format, time zone, payment gateways and tax system. It locks once money has moved.

### Branches, team profiles and services

Set up branches, clinician profiles and the services and specialties patients book.

- **Branch details and hours** (Admin panel, Patient app): Names in Arabic and English, address and directions, phone, map pin, photo and up to four opening windows a day, shown as open now in the app.
- **Consulting rooms** (Admin panel, Waiting-room screen): List up to 40 rooms per branch for sessions and the waiting-room screen.
- **Branch home-visit settings** (Admin panel): Switch home visits on per branch, with its own travel fee or the clinic’s.
- **Branch cards and map** (Admin panel): Each branch shows today’s bookings and patients in the building, with shortcuts to its desk, calendar and waiting screen.
- **Clinician profile studio** (Admin panel): Kind, title, names, photo, headline, biography, education, experience, languages and licence number, with a live preview of the app card.
- **Fees per visit kind** (Admin panel): Set clinic, video and home fees, a follow-up fee and window, and a question price for each clinician.
- **Services per clinician** (Admin panel): Choose the services each clinician offers, each with its own price and duration if needed.
- **App visibility and order** (Admin panel, Patient app): Hide a clinician from the app, switch them off, or drag to set the order patients see.
- **Linked accounts** (Admin panel): Link a clinician to their phone app account, or create a panel login tied to them.
- **Specialties and their kits** (Admin panel): Switch on specialties from the catalogue with their usual services, or create your own, with names, icons and a kit.
- **Services catalogue** (Admin panel, Patient app): Names, description and preparation notes in two languages, duration, price and was-price, visit kinds, image and whether it can be booked in the app.
- **Removed safely** (Admin panel): Clinicians, branches, services, packages and offers with history are switched off rather than deleted. A switched-off branch takes no bookings.

### Staff, roles and sign-in security

Give each person exactly the access they need, protect sign-in and see who did what.

- **Staff accounts** (Admin panel): Add staff with email, role, branches and an optional link to one clinician. Generate a password or switch an account off.
- **Six built-in roles** (Admin panel): Owner, clinic manager, reception, doctor, nursing and accounts. Each can be adjusted and reset to its starting permissions.
- **Custom roles** (Admin panel): Owners create roles from scratch or by copying another, with a name and description.
- **59 permissions** (Admin panel): Permissions grouped by day, patients, clinic, money and system, with sensitive ones marked and the permissions they depend on added automatically.
- **Role comparison** (Admin panel): A table shows every permission against every role, and the editor lists the pages a role opens.
- **Branch and clinician scoping** (Admin panel): Limit an account to some branches, or to one clinician’s patients and appointments.
- **No privilege escalation** (Admin panel): Staff managers can only grant permissions and branches they hold, nobody can change their own role, and one active owner always remains.
- **Two-step sign-in** (Admin panel): Authenticator-app codes set up by QR code, with the secret stored encrypted and each code usable once.
- **Two-step policy** (Admin panel): Require two-step sign-in for owners or for everyone. Covered staff must set it up before they can use the panel.
- **Sign-in protection** (Admin panel): Limits on attempts per address and per account, with every failed attempt logged.
- **Sessions you can end** (Admin panel): Sessions last 14 days. A password change, two-step reset or sign out everywhere ends older sessions, and access changes apply within seconds.
- **My account** (Admin panel): Change your password with a strength meter, manage two-step sign-in, sign out other devices and see your last eight sign-ins.
- **Activity log** (Admin panel): Every change, sign-in and record view in plain sentences, filtered by person, area, action, date or text, with a detail view.
- **Staff activity summary** (Admin panel): For each person over chosen days: sign-ins, bookings, check-ins, cancellations, files opened, notes and refunds.

### Setup wizard, settings and branding

A guided first setup, one settings page for every rule, and the clinic’s own logo, colours and legal pages.

- **Setup wizard** (Admin panel): The owner sets language, country, clinic and branch names, opening hours, visit types, booking window, cancellation notice and tax details, then reviews and finishes.
- **Optional demo records** (Admin panel): The wizard can add one labelled set of demo records that collects no money and sends no messages.
- **Change language and country later** (Admin panel): The owner can change the language at any time and the country until financial activity begins.
- **Settings in one place** (Admin panel): Visit kinds, booking rules, reminders, Ask the doctor, travel fees, payments, reviews, waiting screen, video, app, tax and alerts on one page, saved together.
- **Your logo everywhere** (Admin panel, Patient app, Public web pages): Upload PNG, WebP, JPEG or SVG. It is trimmed, checked for unsafe content and used in the apps, panel, payment pages, receipts and printouts.
- **Brand colours** (Admin panel, Patient app, Doctor app): Pick one of six colour pairs or your own for the patient and doctor sides. Readable text colours are worked out and weak contrast is flagged.
- **Your name in the app** (Patient app): The app shows the clinic’s legal name in Arabic and English once it is set.
- **Announcement and support phone** (Admin panel, Patient app): Show a banner on the app’s home screen and a support phone that patients can call or message on WhatsApp.
- **Store links** (Admin panel): Add Google Play and App Store links for the get-the-app page and the update screen.
- **Legal pages** (Admin panel, Public web pages, Patient app): Terms, privacy and refund pages from built-in Arabic and English templates, edited side by side with placeholders for brand, company, phone and cancellation hours.
- **Encrypted integration keys** (Admin panel): Gateway, WhatsApp Cloud, Firebase, TURN and Cloudflare R2 keys are entered in the panel, stored encrypted and shown only by their last four characters.
- **Reset app** (Admin panel): Owners clear business records after typing their password and RESET. Their account, roles and keys stay, and a safety copy is taken first.

### Backups, monitoring and hosting

Nightly backups, a health page, error tracking and a ready-made production setup.

- **Nightly backups** (Admin panel): Once a backup folder is set, a database snapshot and an archive of uploads, medical files and WhatsApp sessions are made each night, keeping 14 by default.
- **Backup status** (Admin panel): See whether backups are covered, failed, running or stale, when the next runs, and start one by hand.
- **Download a copy** (Admin panel): Download any backup, or a fresh copy of the database or files on demand through a one-time link.
- **Restore with a preview** (Admin panel): Restore from a server backup or an uploaded file after comparing its counts with today’s. A safety copy is taken first and a failed restore rolls back.
- **Pictures on the server or Cloudflare R2** (Admin panel): Keep uploaded pictures such as clinician photos, offer images and the logo on the server or in your own private Cloudflare R2 bucket, checked with a test upload. Medical files always stay on the server.
- **System health page** (Admin panel): Status of the database, WhatsApp, payments, push and backups, plus uptime, memory and every background job with its last run and failures.
- **Error tracking** (Admin panel, Patient app, Doctor app): Server, panel and app errors are grouped with counts and can be marked fixed. An error that comes back opens again.
- **Owner alerts on WhatsApp** (Admin panel): Alerts for errors, stopped jobs, an unlinked WhatsApp number and failed or missing backups, paced to avoid floods, with a test button.
- **Background jobs** (Admin panel): Built-in jobs release unpaid bookings and stale requests, send reminders and campaigns, track question deadlines, run backups and tidy old data.
- **Uptime check address** (Admin panel): A health address returns an error when the database or a job is stuck, for outside uptime monitors.
- **HTTPS proxy template** (Admin panel): A Caddy configuration with automatic certificates, security headers, body-size limits and live streams passed through unbuffered.
- **Locked-down server service** (Admin panel): A systemd service runs the server as an unprivileged user on localhost, with restricted privileges and automatic restarts.
- **Self-hosted maps** (Admin panel): An optional Docker setup runs your own Nominatim address search and OSRM routing for Egypt.

### Working in the admin panel

A quick, keyboard-friendly panel that updates live and shows each person only what their job needs.

- **Global search** (Admin panel): ⌘K finds patients by name, phone or file number and appointments by code, opens any page and starts common actions such as booking.
- **Keyboard shortcuts** (Admin panel): G then a letter jumps to any page, with page keys such as B to book and S to scan. Press ? for the full list.
- **Pinned pages** (Admin panel): Pin the pages you use all day. Pins are kept per person on each computer, starting with front desk, appointments and inbox.
- **Sidebar with live badges** (Admin panel): Sections fold away and show counts for requests to confirm, open questions and unread chats.
- **Full-screen work pages** (Admin panel): Press F on the desk, calendar, inbox, home visits and other work pages to hide the sidebar and use the whole screen.
- **Live updates** (Admin panel): One live connection refreshes the desk, calendar, lists and dashboards as things change, with toasts for new requests and bookings.
- **Pages that match the role** (Admin panel): Each person sees only the pages, search results and buttons their role allows, and lands on the first page they may open.
- **Dark mode** (Admin panel): Switch the panel between light and dark, and the maps follow.

### Website and desktop experience

Patients and doctors can open LaynCare on a computer or tablet with the same account, appointments and health records. The desktop header puts booking and health records within reach.

- **Browser booking** (Public web pages, Desktop website): Browse doctors and book from your website without installing an app.
- **Desktop navigation** (Public web pages, Desktop website): Open appointments, family and health records from the desktop navigation.
- **Doctor workspace** (Public web pages, Desktop website): Doctors can open their day, patient list and schedule in the browser too.
- **App download links** (Public web pages, Desktop website): The desktop site shows a Get the app section when an admin adds a Google Play or App Store link.

## What it takes to run

- Minimum server: 1 vCPU, 4 GB RAM, 40 GB disk
- Recommended server: 2 vCPU, 8 GB RAM, 100 GB disk
- Self-hosted maps (optional): 8 GB more memory, Egypt
- Operating system: Ubuntu 24.04 / 22.04 LTS
- Runtime: Node.js 24 LTS
- HTTPS: Caddy 2
- Database: SQLite (libSQL)
- Ports: 80 · 443
- Domain: A record pointing to the server IP
- Android: 7.0+
- iOS: 15+
- Admin panel: Chrome · Safari · Edge · Firefox
- Desktop & tablet website: Chrome · Safari · Edge · Firefox
- Android: Any computer with Android Studio, JDK 17 and Rust
- iOS: A Mac with Xcode and Rust
- App Store: Apple Developer Program ($99 a year)
- Google Play: Google Play developer account ($25 once)
- Accounts the business brings: A regular WhatsApp number, or the WhatsApp Cloud API; A Paymob, Moyasar or PayTabs merchant account for online payments; ZATCA or ETA taxpayer registration for e-invoicing

## Source code

- `apps/server/server` (576 files): API, database schema and migrations, background jobs, integrations
- `apps/server/app` (225 files): Admin panel pages and components
- `apps/server/tests` (33 files): Server tests
- `apps/mobile/app` (162 files): Patient and doctor app
- `apps/mobile/src-tauri` (80 files): Android and iOS projects (Tauri 2)
- `apps/*/i18n` (114 files): Arabic and English text
- `packages/shared` (51 files): Rules both sides share: booking, fees, VAT, phone formats, specialty kits
- `deploy` (6 files): Caddy and systemd files, a start script, plus a maps routing service

## Questions

### Can I put my own name and colours on the apps?

Yes. Your logo and app colours are set in the admin panel, and the Android and iOS apps are built with your name, icon and server address using the included build scripts.

### Which platforms are included?

The admin panel runs in any browser, with a kiosk mode for the front desk and a full-screen waiting-room display. The patient and doctor app runs on Android 7 and later and iOS 15 and later, and a responsive web booking site, with a desktop header for patients and a sidebar for doctors, also installs to the home screen.

### Do I need the WhatsApp Business API?

No. You can link up to four regular WhatsApp numbers by QR code with automatic failover, or use Meta’s Cloud API. Sign-in codes, reminders, campaigns and the shared inbox work either way, with hourly caps, quiet hours and opt-out handling to protect your numbers.

### Which countries and payment gateways are supported?

Saudi Arabia and Egypt. Paymob works in both, and Moyasar and PayTabs in Saudi Arabia. You connect your own merchant accounts.

### Are ZATCA and ETA e-invoicing ready?

Both integrations are built in and stay switched off until you add your registered taxpayer details, certificates and provider approval for each branch. In Egypt, sales to individuals can go out as ETA e-receipts. Once an insurer’s tax details are entered, its share of a visit is invoiced to it separately.

### Where is patient data stored, and how is it protected?

On your own server, in a SQLite database. Medical files are served only through short-lived signed links, mental-health notes are private by default, the owner can require two-step sign-in for all staff, every action is in the audit log, and backups run nightly.

### Does the app work offline?

It keeps the last loaded clinic data and settings and shows a clear offline banner. Booking and records need a connection.

### Are doctor payouts sent automatically?

Not yet. Each clinician’s earnings and statements are tracked in the panel, and payouts are recorded by hand.

