Skip to content

Troubleshooting: Reports & Printing

Fix issues with lab report generation, printing, PDF output, and patient delivery.

Report not available

CauseCheckFix
Not verifiedInvoice statusComplete result verification
No results enteredResult entry pageEnter all required parameters
Invoice deletedInvoice listRestore from deleted invoices (admin)
Wrong invoiceInvoice numberConfirm correct patient invoice

Blank or incomplete report

CauseFix
Missing parametersFill all required result fields
Template misconfigurationAdmin → Settings → Report templates
Test without parametersAdd parameters in test catalog
Browser print CSSUse Print Report button, not Ctrl+P on raw page
IssueSolution
Cut-off marginsSet browser print margins to minimum
Missing header/logoUpload logo in Lab Settings
Wrong paper sizeSelect A4 in print dialog
Multi-page breakCheck template page break settings
Barcode not scanningPrint at 100% scale (no "fit to page")

PDF download fails

CheckAction
Pop-up blockerAllow pop-ups for portal domain
Browser extensionDisable print-related extensions
Large reportWait for render; check network tab
API errorNote requestId from error

API: GET /lab/pms/invoices/{id}/report

SMS / email delivery failed

ChannelCheck
SMSPhone format (+92…), SMS credits, gateway config
EmailPatient email valid, SMTP settings, spam folder
WhatsAppIntegration enabled, phone has WhatsApp

See Send Report.

Public online report not found

Patient sees "Invalid invoice number or access code":

CheckDetail
Invoice numberExact match (no spaces)
Access codeCase-sensitive; from receipt
Report statusMust be verified
Correct lab slugPatient on right portal URL

API: POST /public/reports/lookup

Report shows wrong patient

DANGER

This is a critical safety issue. Stop using the report immediately.

  1. Do not deliver the report.
  2. Check sample barcode and invoice linkage.
  3. Notify lab supervisor.
  4. Re-enter results on correct invoice.
  5. Document incident per lab SOP.

Template customization

SettingLocation
Header / footerAdmin → Lab Settings → Reports
Signature lineResult verification settings
Reference rangesTest catalog parameters
Report languageLab Settings → Locale

Browser-specific tips

BrowserTip
ChromeUse "Save as PDF" for digital copies
EdgeBest on Windows for label printers
FirefoxMay need margin adjustment
SafariEnable background graphics in print

Ease Lab — Cloud Pathology Lab Management