Mazecare Logo
Integrations & Settings

Medical Certificate & Letter Templates

Configure standardized medical certificates, sick leave notes, fitness-to-work clearances, digital doctor signatures, and customizable print layouts in Mazecare.

The Medical Certificates module in Mazecare allows healthcare facilities to standardize, automate, and issue legally compliant clinical documents. Healthcare providers can create tailored templates for sick leave certificates, fitness-to-work/school clearances, referral letters, and medical evaluation notes with automated patient data merging, electronic signatures, and customized print layouts.


Template Architecture & Lifecycle

Medical certificate generation in Mazecare is built upon a two-tier configuration structure:

  1. Certificate Template: Controls the document wording, clinical clauses, diagnosis merge tags, and legal disclaimers.
  2. Print Template: Governs the physical print canvas, letterhead margins, headers, footers, pagination, doctor signature blocks, and clinic stamp positioning.

Dynamic Variable Merge Tags

Mazecare provides intelligent merge tags that dynamically pull patient, encounter, and practitioner information directly into the certificate body:

Variable Merge TagDescriptionRendered Example
{{patientName}}Full legal name of the patientJane Doe
{{patientDOB}}Patient date of birth1992-05-14
{{patientEmail}}Patient registered email addressjane.doe@example.com
{{currentDate}}Document generation date and timestamp2026-08-18
{{providerName}}Full name and title of the issuing doctorDr. Alexander Sterling
{{startDate}}Effective start date of the medical leave2026-08-18
{{endDate}}Effective end date of the medical leave2026-08-20
{{totalDays}}Total calculated days of absence3 Days
{{diagnosis}}Primary ICD-11 diagnosis or clinical assessmentAcute Upper Respiratory Infection
{{clinicName}}Registered clinic or branch facility nameMazecare Medical Centre
Quick Tag Autocomplete
In the template editor, simply press the `@` key at any point in the text to bring up the dynamic variable autocomplete menu and insert merge tags instantly.

Step-by-Step Configuration Walkthrough

Step 1: Create a Certificate Content Template

Certificate Content Templates store the reusable text formulations for specific medical scenarios (e.g., Sick Leave, Fit to Resume Duty, Referral Note).

  1. In the top navigation search or settings menu, navigate to Settings → Medical Certificates → Certificate Template.
  2. Review the list of existing templates. You can search templates by keyword or adjust displayed table columns.

  1. Click the + New Medical Certificate Template button in the top right corner.
  2. Fill in the template details:
    • Template Name: Enter a clear, descriptive title (e.g., Standard Medical Certificate (Sick Leave)).
    • Template Description: Provide a brief summary of the clinical document's purpose.

  1. In the Certificate Content rich-text editor, type or paste the standard legal and medical text.
  2. Type @ to open the dynamic merge tag selector and pick relevant fields such as Patient Name, Patient DOB, Current Date, and Provider Name.

  1. Format your content using the rich-text formatting tools:
    • Headings & Hierarchy: Headings (H1, H2) for clear section divisions.
    • Text Styling: Bold, Italic, Strikethrough, and Text Highlights.
    • Structure: Bullet lists, numbered lists, block quotes, and horizontal dividers.
    • HTML Editor Mode: Switch to the HTML Editor tab for granular HTML formatting and custom inline styling.
  2. Click Create (or Save Changes) to publish the certificate template.

Step 2: Configure Print Templates & Canvas Layouts

Print templates determine how the certificate renders onto physical paper or exported PDFs, including letterhead spacing, margins, orientation, and practitioner signature blocks.

  1. Navigate to Settings → Medical Certificates → Print Template.
  2. View existing print templates or click + Create Template to open the Visual Print Canvas Builder.

  1. Configure layout settings using the left-hand configuration accordion:

A. Basic Configuration

  • Name: Enter the print template identifier (e.g., Official Letterhead - A4 Medical Certificate).
  • Description: Add internal notes describing which branches or paper stocks this layout applies to.

B. Page Layout

  • Paper Kind: Select standard dimensions, such as A4, A5, or Letter.
  • Orientation: Choose Portrait (standard for single-page certificates) or Landscape.
  • Color Mode: Select Color for color letterheads or Grayscale for monochrome thermal/laser printing.

C. Margins & Physical Letterhead Spacing

  • Specify precise Top, Bottom, Left, and Right margins in millimeters (mm).
  • Tip: Set the top margin to 30mm–45mm if your clinic prints on pre-printed physical letterhead paper.
  • Header HTML Template: Bind an existing reusable header component or leave unselected for default text.
  • Left / Center / Right Content: Add custom header or footer annotations.
  • Pagination Tag: Use [page]/[toPage] in the footer to automatically output page numbering (e.g., Page 1 of 1).

E. Advanced Configuration (Electronic Signatures)

  • Is Signature Shown: Toggle on to automatically affix the issuing doctor's stored electronic signature and official clinic stamp onto the document.

  1. Review the Live Interactive Canvas:
    • Use the zoom controls (+, -, scale percentage, and Reset Scale) to inspect high-resolution typography and layout fidelity.
    • Click Download or Print to test physical printer calibration.
  2. Code Mode (Advanced HTML/CSS Customization):
    • Click the Code Mode toggle in the top toolbar to inspect and customize raw HTML templates and CSS layout rules.

  1. Click Save in the top bar to activate the print template.

Step 3: Clinical Workflow & Certificate Issuance

Once configured, practitioners and clinical staff can issue medical certificates directly from the patient consultation encounter or patient chart.

  1. Navigate to the patient's record (Patients → Select Patient → Certificates tab) or open an active Consultation Encounter.
  2. Click + Medical Certificate.

  1. Complete the certificate issuance details:
    • Template: Choose a predefined template from the searchable dropdown (e.g., Standard Medical Certificate). The editor automatically populates with the standard template text.
    • Provider: Select the attending physician or issuing practitioner.
    • Title: Enter a clear certificate title (e.g., Medical Absence Certificate - 3 Days).
    • Content: Customize diagnoses, symptoms, dates of absence, and specific recommendations as needed.
  2. Click Preview to verify the dynamic merge engine:
    • Mazecare instantly evaluates all merge tags with real-time patient and provider data.

  1. Save and finalize the document:
    • Save Draft: Saves the document in editable draft status for further clinical review.
    • Save Permanent: Locks the certificate permanently, applies the digital signature timestamp, and records the document in the patient's permanent electronic health record.
  2. The issued certificate can be printed immediately, exported as a PDF, or sent digitally to the patient.

Best Practices & Compliance

Regulatory & Audit Compliance
Once a certificate is saved as Permanent, its clinical contents are locked to ensure tamper-proof legal validity and strict audit compliance.
  • Standardized Diagnostic Language: Use standardized diagnosis terminology in certificates to ensure acceptance by insurance carriers, employers, and educational institutions.
  • Digital Doctor Signatures: Ensure each practitioner has an uploaded high-resolution signature image in their user profile for automated document signing.
  • Letterhead Alignment: When utilizing pre-printed corporate stationery, use test prints to calibrate margin spacing so that text flows neatly beneath pre-printed logos and header lines.
Copyright © 2026