AI / HEALTHCARE
Lokal.MD
An offline clinical documentation and medication-safety workstation for rural health units.
- ROLE
- Full-stack Developer
- YEAR
- 2026
- TIMELINE
- Hackathon, 2 days
- TEAM
- Team PLACEHOLDER, 3 people
PROJECT DEMO · 0:25
01 — OVERVIEW
ABOUT THE PROJECT
Rural health units and disaster-response missions often have no reliable internet, and sending patient consultations to cloud servers creates real risk under the Data Privacy Act. Lokal.MD does transcription, note writing and medication checks entirely on the clinic's own machine, and it is built so it keeps working when the cloud disappears.
Taglish speech goes through local Whisper, a local Ollama model drafts the SOAP note, and a deterministic SQLite rules engine checks contraindications, allergies and dosages. Every AI line is grounding-checked and a clinician must approve before anything is final. Built for the AppBuildersPH Hackathon 2026, Local AI theme, with 94 passing tests.
- ROLE
- Full-stack Developer
- CLIENT
- AppBuildersPH Hackathon 2026
- YEAR
- 2026
- DURATION
- Hackathon, 2 days
- STATUS
- Functional MVP
02 — FEATURES
KEY FEATURES
01
Taglish speech to text
faster-whisper runs from local files. Low-confidence lines are marked and a human must clear them.
02
SOAP notes on-device
A local Llama 3.2 model constrained to a JSON schema, with every AI item grounding-checked against the transcript.
03
Medication safety rules
A deterministic offline engine checks contraindications, allergies and dosage limits, with evidence and a next step for each finding.
04
Encrypted by the app
Per-field AES-256-GCM, per-user wrapped keys, a recovery key, a hash-chained audit log and encrypted backups.
05
Roles and approval
Admin, clinician, staff and pharmacist roles. Only a clinician can approve, and inactivity locks the session.
06
Air-gapped by construction
Binds to loopback, blocks non-local connections at the process level, and ships an offline self-test.
03 — GALLERY
SCREENSHOTS
04 — TECH USED
BUILT WITH
- Python
- Streamlit
- Ollama
- faster-whisper
- SQLite
- ReportLab
05 — SOURCE CODE
GITHUB REPOSITORY
github.com/AK-Lmn/PLACEHOLDER
Streamlit app. Run setup.bat once online, then run.bat for fully offline use. pytest runs the test suite.
- Python