📜

Issuing Medical Certificates

Create sick leave, fitness, and medical report certificates with email delivery

3 min read

Overview

SehaFile enables doctors to issue official medical certificates directly from a visit. Three certificate types are supported: sick leave (with specified rest days), fitness certificates (declaring a patient fit for work/activity), and medical reports (detailed clinical documentation). Certificates can be printed or emailed to the patient or their employer using the built-in email delivery feature.

Certificate generation form showing type selector (sick_leave/fitness/medical_report), rest days input, notes field, and email send button

Steps to Issue a Certificate

  1. Open the visit workspace — Navigate to the visit for which you need to issue a certificate.
  2. Navigate to Certificates — Click the Certificates tab or button within the visit workspace.
  3. Click “Quick Generate” — The quick generate endpoint (POST /visits/:visitId/certificates/quick-generate) provides a streamlined form.
  4. Select the certificate type — Choose from:
    • Sick Leave (إجازة مرضية) — Patient needs rest days away from work
    • Fitness (لياقة طبية) — Patient is declared fit for work, sports, or travel
    • Medical Report (تقرير طبي) — Detailed clinical summary for legal or administrative purposes
  5. Set rest days (for sick leave) — Enter the number of rest days in the rest_days field. The system calculates the return date automatically.
  6. Add notes — Include any additional text for the certificate body (e.g., specific activity restrictions, diagnosis context).
  7. Click “Generate” — The certificate is created with a unique ID and formatted using the CertificateTemplate print component with clinic header and doctor signature.

Sending Certificates by Email

  1. Open the generated certificate — Navigate to the certificate from the visit's certificates list (GET /visits/:visitId/certificates).
  2. Click “Send by Email” — Enter the recipient email address (patient or employer).
  3. Confirm send — The system calls POST /certificates/:id/send-email and delivers a formatted PDF of the certificate.
Certificates include the clinic header, doctor credentials, patient details, diagnosis (if applicable), and are formatted for official use. They can be reprinted at any time from the visit record.
Medical certificates are legal documents. Ensure the information is accurate and clinically justified. Issuing false certificates can result in disciplinary action.

FAQ

Can I customize the certificate template?

The template is managed at the clinic level by administrators. Customizations include header design, footer text, and signature placement.

Are certificates stored in the patient record?

Yes. All certificates are linked to the visit and appear in the patient's history. They can be retrieved and reprinted at any time.

Can I issue a certificate for a past visit?

Yes. Navigate to the past visit and generate a certificate from there. The certificate will reference the visit date, not the current date.

Was this article helpful?