It's an open-source, local-first digital prescription & EMR system with offline drug search, clinical safety alerts, and print engine. Built for healthcare data sovereignty and low-resource clinic resilience.
# ZimRx β Privacy-First, Local-First Digital Prescription & EMR Suite
**ZimRx** is an open-source, high-performance digital prescription and Electronic Medical Record (EMR) system built for solo doctors, medical practitioners, and clinics in low-resource or bandwidth-constrained regions. Built on a strict **local-first philosophy**, ZimRx runs 100% offline, eliminates recurring SaaS subscription costs, and guarantees complete patient data privacy and sovereignty.
---
## β¨ Key Features
* **β‘ 100% Offline & Portable**: Runs anywhere without an internet connection using a self-contained portable runtime (powered by FrankenPHP and Caddy). Launchable with a single click from a laptop or local clinic LAN.
* **π Sub-Millisecond Pharmaceutical Search**: Instant full-text search across 30,000+ national commercial drug brands, formulations, strengths, and generic equivalents powered by SQLite FTS5.
* **π‘οΈ Clinical Decision Support (CDS)**: Built-in safety checks for drug-drug interactions, pregnancy & lactation contraindications, renal/hepatic adjustments, and pediatric dosage calculators.
* **π Rapid 30-Second Prescription Flow**: Streamlined interface for presenting complaints, vitals, medical history, physical examinations, diagnostic investigations, and individualized patient advice templates.
* **π¨οΈ Pixel-Perfect Print Formatting**: Highly customizable prescription pad layout engine supporting custom doctor headers, clinic logos, multi-column formatters, and watermark overlays for standard A4/A5 or thermal printers.
* **π Driver-Agnostic Central PDO Core**: Database abstraction layer with automated, versioned schema migrations (`DbMigrator`), allowing seamless operation on SQLite locally, or scaling to MariaDB, MySQL, and PostgreSQL for multi-user hospital networks.
---
## ποΈ Architecture & Data Sovereignty
Patient health records should **never** be monetized, tracked, or leaked to centralized third-party clouds.
```
βββββββββββββββββββββββββββββββββββββββββ β¦