Clinico-Dermoscopic-Pathologic
Correlation
A privacy-first desktop application that automates the correlation between pathology reports and clinical & dermoscopic photographs. Built by a Mohs surgeon for daily surgical practice.
From pathology PDF to correlated case review
PathCorrelate bridges the gap between receiving a pathology result and having a complete, correlated case ready for review. Fully automatic.
Report Processing
Extracts text from multi-page pathology PDFs, captures high-resolution screenshots of each report, and handles multi-sample biopsies with Mohs detection.
EXIF Image Classification
Automatically distinguishes clinical from dermoscopic photographs by analyzing ISO, exposure, brightness, and focal length metadata. No manual sorting needed.
Date-Based Matching
Correlates photographs to reports by matching biopsy dates with image capture dates. Distributes images evenly across multiple samples from the same session.
Document Filtering
Intelligent color histogram analysis detects and filters consent forms, referral letters, and other paper documents from the clinical image gallery.
De-identification
Built-in patient data de-identification. Generates fake names, encrypts IDs, shifts birth dates, and replaces phone numbers for teaching and presentations.
Bilingual Interface
Full Hebrew (RTL) and English (LTR) support with comprehensive string tables. Designed for the Israeli healthcare system with international adaptability.
Seven steps to correlated cases
From raw pathology PDFs to a complete three-way correlation ready for clinical review.
Download Reports
Download unread pathology reports as PDFs from the health system portal. Place them in the designated input folder.
Process PDFs
The processor extracts text, captures high-resolution screenshots, detects multi-sample biopsies, and identifies Mohs reports. All fully automatic.
Sync Patient Photos
Point PathCorrelate at your patient photos directory. The system indexes images and reads EXIF metadata for classification.
Automatic Classification
Each image is classified as clinical, dermoscopic, or document based on EXIF analysis. Document photos (consent forms, referrals) are filtered out.
Date Correlation
Images are matched to reports by comparing biopsy dates with photo capture dates, then distributed across samples in report order.
Dashboard Review
An interactive dashboard displays all patients with their samples, diagnoses, and correlated images. Click any sample to view the full correlation with clinical and dermoscopic galleries.
Clinical Decision
Review the three-way correlation: clinical appearance, dermoscopic features, and histopathological diagnosis. Then document your clinical decision.
Built with proven tools
A Python-powered backend for report processing and image analysis, paired with a single-file HTML frontend for zero-dependency deployment.
FastAPI server with endpoints for report data, image serving, HEIC conversion, thumbnail generation, and correlation APIs. Packaged as a standalone Windows EXE via PyInstaller.
Single HTML file (~110 KB) with embedded CSS and JavaScript. Responsive design, full i18n support, gallery system with keyboard navigation, and real-time configuration sync.
100% local execution. No external API calls, no cloud storage, no telemetry. Patient data never leaves the physician's machine. Suitable for PHI handling.