Everything you need to build & deploy.
Comprehensive guides for solo clinicians, rural clinic networks, and hospital engineers. Precompiled binaries, CLI commands, FHIR APIs, and cryptographic proofs.
Production Artifacts
Precompiled Binaries
Zero external dependencies. Self-contained binaries with embedded SQLite engine and web clinical workspace.
Windows
Windows 10, 11, Server 2019+. Standalone .zip with 1-click batch launcher.
Linux
Ubuntu, Debian, Fedora, Alpine. Includes systemd unit template.
macOS
Apple Silicon (M1/M2/M3/M4) and Intel x86_64. Native POSIX performance.
Docker
Multi-arch container for headless servers and rural micro-data centers.
Getting Started
60-Second T0 Quickstart
Launch a fully functional, encrypted clinical EMR on your workstation in under a minute.
Initialize Database
Creates encrypted SQLite tables and the genesis audit block signed with Ed25519:
newloka init --db ./clinic.db
Start Local Server
Launches high-performance local Axum engine wired to local SQLite:
newloka-server --tier T0 --db ./clinic.db --port 8080
Open Clinical UI
Open any standard browser. 100% offline, zero cloud calls, zero lag:
http://localhost:8080
Polymorphic Scale
The 5 Deployment Tiers
New Loka adapts organically to the regulatory, physical, and infrastructural reality of your practice.
Solo Clinician • Sovereign Practice
Designed for independent general practitioners, visiting consultants, or rural field doctors operating on a single laptop without internet or IT support. All data is saved to a single encrypted SQLite file with AES-256-GCM record-level isolation.
LAN Mesh Clinic • Multi-Room Practice
For small private practices, nursing homes, and outpatient centers with multiple rooms (e.g. Reception, Triage, Doctor 1, Doctor 2, Pharmacy). Nodes discover each other over local Wi-Fi or Ethernet using zero-configuration mDNS, replicating records instantly without any WAN connection.
Rural Hospital • Ward Offline Resilience
For 30-200 bed rural community hospitals with frequent electrical brownouts or spotty internal cabling. A central hospital server anchors the records, while ward tablets or nursing stations continue charting completely offline, automatically synchronizing whenever connectivity restores.
Enterprise Hospital & Research Federation
Tier 3 provides departmental isolation (e.g. Oncology, Psychiatry, OB/GYN) with Attribute-Based Access Control (ABAC) and Emergency Breaking-the-Glass audit procedures. Tier 4 enables cross-institutional medical research, querying aggregated cohorts with mathematical differential privacy without exposing individual patient PII.
Command-Line Interface
CLI Engine Cheat Sheet
Full headless automation and scripting with the newloka CLI tool.
Patient Registration
newloka patient createCreates a new FHIR R4 Patient record in the encrypted storage and signs an audit entry:
newloka patient create --family "Sharma" --given "Aarav" --gender male --birth-date 1985-06-15
List Registered Patients
newloka patient listDisplays active patients in an ASCII formatted table with IDs and demographics:
newloka patient list
Record Clinical Observation
newloka observeAdds a vital sign or lab result (e.g. Systolic Blood Pressure) linked to a patient ID:
newloka observe --patient <PATIENT_ID> --code "8480-6" --display "Systolic BP" --value 120 --unit "mmHg"
Inspect Cryptographic Audit Trail
newloka auditValidates the immutable Ed25519 signature chain across all database mutations:
newloka audit
Interoperability
FHIR R4 Schema & REST API
Full standard adherence across 18 implemented clinical resource types.
18 Supported FHIR R4 Resources
Core REST API Endpoints
Prescription Engine
eRx Pad Pro & Formulary
New Loka includes an integrated electronic prescription module built specifically for Indian and international generic markets. Powered by an offline database of over 61,000 brand and generic medicines.
- 61,000+ Generic Brands: Instant offline typeahead search across Indian pharmacopeia.
- Interaction Engine: Automated cross-checking for severe drug-drug interactions.
- Dosage Guidance: Built-in pediatric weight-based calculators and renal adjustment rules.
- Printable Offline PDF: Standard bilingual prescription slips generated instantly.